Mekoz
New Member
Hi,
I have this working with full moon nights but im no expert so will do my best to explain what i did to get it working for me.
For the full moon nights i used this guide http://sponsored.dayz.st/wiki/index.php?title=Full_Moon_Nights.
Place the Dayz Time folder with core_time.fsm inside your mission folder/pbo .
Add this to the bottom of your init.sqf [5,true,10,1,true,7] execFSM "Dayz time\core_time.fsm";
Edit your server_cleanup.fsm by removing this found near the top.
/*%FSM</LINK>*/
/*%FSM<LINK "time_sync">*/
class time_sync
{
priority=3.000000;
to="sync_the_time";
precondition=/*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"(time - _lastTimeSync) > 300"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/"_lastTimeSync=time;"/*%FSM</ACTION""">*/;
};
This is the cause of the server resetting the time every 5 minutes.
For the battleye kicks i changed the following lines from 5 to a 1 because adding !"core_time.fsm" to the end of each line didnt stop the kicks for some reason.
1 setDate !"\"setDate\"," !"rsetDate = 'setDate'" !"rsetDatecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'setDate.sqf')" !"dayzSetDate"
1 skipTime !"\"skipTime\"," !"rskiptime = 'skiptime'" !"rskiptimecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'skiptime.sqf')" !"skipTime _posun;"
I hope thats everything as im in a rush and hope it works for yous!
P.S Im using this with dayzcc and can set my static time in the HiveExt.ini to what ever i like and the Accelerated time will start from the hour i set.
I have this working with full moon nights but im no expert so will do my best to explain what i did to get it working for me.
For the full moon nights i used this guide http://sponsored.dayz.st/wiki/index.php?title=Full_Moon_Nights.
Place the Dayz Time folder with core_time.fsm inside your mission folder/pbo .
Add this to the bottom of your init.sqf [5,true,10,1,true,7] execFSM "Dayz time\core_time.fsm";
Edit your server_cleanup.fsm by removing this found near the top.
/*%FSM</LINK>*/
/*%FSM<LINK "time_sync">*/
class time_sync
{
priority=3.000000;
to="sync_the_time";
precondition=/*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"(time - _lastTimeSync) > 300"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/"_lastTimeSync=time;"/*%FSM</ACTION""">*/;
};
This is the cause of the server resetting the time every 5 minutes.
For the battleye kicks i changed the following lines from 5 to a 1 because adding !"core_time.fsm" to the end of each line didnt stop the kicks for some reason.
1 setDate !"\"setDate\"," !"rsetDate = 'setDate'" !"rsetDatecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'setDate.sqf')" !"dayzSetDate"
1 skipTime !"\"skipTime\"," !"rskiptime = 'skiptime'" !"rskiptimecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'skiptime.sqf')" !"skipTime _posun;"
I hope thats everything as im in a rush and hope it works for yous!
P.S Im using this with dayzcc and can set my static time in the HiveExt.ini to what ever i like and the Accelerated time will start from the hour i set.