jayhamilton96
New Member
Recently upgraded from DayZ.ST to a dedicated machine. Carried over my PBO's and setup a similar database.
One of the rare good things about DayZ ST was the drop down menu of the Day/Night Cycle. Since upgrading my server I have found the server has become Daylight 24/7. Now ive been looking around and havent really found anything. I was browsing my PBO and found this in the code in my dayz_server/init/server_functions.sqf.
Now im not sure if this is what I have to edit, or if i have to add a new script im totally clueless as this is new to me.
Anyone have any solutions I'd love to know!
Just a standard 24 Hour cycle is fine, even though make a time accelerator would be ideal.
Thanks, Hamilton
One of the rare good things about DayZ ST was the drop down menu of the Day/Night Cycle. Since upgrading my server I have found the server has become Daylight 24/7. Now ive been looking around and havent really found anything. I was browsing my PBO and found this in the code in my dayz_server/init/server_functions.sqf.
server_timeSync = {
//Send request
private ["_hour","_minute","_date","_key","_result","_outcome"];
_key = "CHILD:307:";
_result = _key call server_hiveReadWrite;
_outcome = _result select 0;
if(_outcome == "PASS") then {
_date = _result select 1;
if(dayz_fullMoonNights) then {
_hour = _date select 3;
_minute = _date select 4;
//Force full moon nights
_date = [2013,8,3,_hour,_minute];
};
setDate _date;
PVDZE_plr_SetDate = _date;
publicVariable "PVDZE_plr_SetDate";
diag_log ("TIME SYNC: Local Time set to " + str(_date));
};
};
Now im not sure if this is what I have to edit, or if i have to add a new script im totally clueless as this is new to me.
Anyone have any solutions I'd love to know!
Just a standard 24 Hour cycle is fine, even though make a time accelerator would be ideal.
Thanks, Hamilton