Jump to content
  • 0

custom dayz_code on dayz.st servers?


boxman80

Question

Hi, i've used a few different day z hosts in the past but always preferred dayz.st for features and simplicity.

 

However I do wish to run some customs on my sever that require access to the dayz_code.pbo on the server. I remember previously on a  dayz.st server I was able to run a custom dayz_code set of files  from within the missions (based on Bungles Epoch pack), but I cant remember exactly how it was done and what I had to include. Can anyone offer any links or advice on how to do this please?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Ok done a bit more research and found out how , I think, it was done . By the looks of it it's basically adding the dayz_code to the missions folder (within the missions.pbo) and simply referencing the relevant loading files in the INIT.SQF file to the files in the custom dayz_code (the one i create in the missions folder), like below;

 

 

//Load in compiled functions

//call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
call compile preprocessFileLineNumbers "dayz_code\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
//call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
call compile preprocessFileLineNumbers "dayz_code\publicEH.sqf";   //Initilize the Custom publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
//call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile Regular Functions
call compile preprocessFileLineNumbers "dayz_code\compiles.sqf"; //Compile Custom Functions and Weather
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
progressLoadingScreen 1.0;

 

 

Is this correct? is there anywhere else I need to change references to?

 

Cheers

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...