Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[5,true,10,1,true,5] execFSM "Scripts\core_time.fsm";
" _nightValue = _this select 3;" \n
[5,true,10,1,true,7]
" _nightValue = _this select 5;" \n
I would set both to 1 and call it good tbh.Hi all.
I have done what is stated in this post, but nevertheless I am continually kicked out of my server with script restricion # 6.
I have added [6,true,10,1,true,5] execFSM "scriptsMZ\DayzTime\core_time.fsm"; at init.sqf of dayz_mission.pbo
I have removed the piece of code of server_cleanup.fsm of dayz_server.pbo
I have corrected the line of the code of script.txt from this:
5 setDate !"\"setDate\"," !"rsetDate = 'setDate'" !"rsetDatecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'setDate.sqf')" !"dayzSetDate"
to this:
5 setDate !"\"setDate\"," !"scriptsMZ\DayzTime\core_time.fsm"," !"rsetDate = 'setDate'" !"rsetDatecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'setDate.sqf')" !"dayzSetDate" !="[\"dayzSetDate\", { setDate (_this select 1); } ] call registerBroadcastRpc;" !"if(isDedicated) then {\nsetDate _date;\ndayzSetDate = _date;\npublicVariable \"dayzSetDate\";\n};
And I have added this too:
5 skipTime !"\"skipTime\"," !"scriptsMZ\DayzTime\core_time.fsm"," !"rskiptime = 'skiptime'" !"rskiptimecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'skiptime.sqf')"
What am I missing? or What have I done wrong?
Great work! I will try this out.Okay all, There was an error in the FSM posted in the first thread
OP had:
Code:" _nightValue = _this select 3;" \n
Which was grabbing the "1" in
Code:[5,true,10,1,true,7]
Replaced that line with:
Code:" _nightValue = _this select 5;" \n
So it selects the 7.
LINKS:
core_time.fsm
core_time.rar (packed up for easy download)
P.S. Thanks Hangender and Xeonon for the help!(not justchil) I only tested REAL quick at this time of night, so if its broken realize I suck!
Okay all, There was an error in the FSM posted in the first thread
OP had:
Code:" _nightValue = _this select 3;" \n
Which was grabbing the "1" in
Code:[5,true,10,1,true,7]
Replaced that line with:
Code:" _nightValue = _this select 5;" \n
So it selects the 7.
LINKS:
core_time.fsm
core_time.rar (packed up for easy download)
P.S. Thanks Hangender and Xeonon for the help!(not justchil) I only tested REAL quick at this time of night, so if its broken realize I suck!
I would set both to 1 and call it good tbh.
Does the change of _this select 3 to _this select 5 is only to [5, true, 10,1, true, 7]?
The 5 of _this select 5 is because there is a 5 in [5, true, 10,1, true, 7]? If so, set the guidelines in [5, true, 10,1, true, 7] makes no sense.
And if I change the 5 of [5, true, 10,1, true, 7] to 6 [6, true, 10,1, true, 7]
I have to change _this select 5 to _this select 6?
I don't understand you.![]()
Hi all.
I have done what is stated in this post, but nevertheless I am continually kicked out of my server with script restricion # 6.
I have added [6,true,10,1,true,5] execFSM "scriptsMZ\DayzTime\core_time.fsm"; at init.sqf of dayz_mission.pbo
I have removed the piece of code of server_cleanup.fsm of dayz_server.pbo
I have corrected the line of the code of script.txt from this:
5 setDate !"\"setDate\"," !"rsetDate = 'setDate'" !"rsetDatecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'setDate.sqf')" !"dayzSetDate"
to this:
5 setDate !"\"setDate\"," !"scriptsMZ\DayzTime\core_time.fsm"," !"rsetDate = 'setDate'" !"rsetDatecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'setDate.sqf')" !"dayzSetDate" !="[\"dayzSetDate\", { setDate (_this select 1); } ] call registerBroadcastRpc;" !"if(isDedicated) then {\nsetDate _date;\ndayzSetDate = _date;\npublicVariable \"dayzSetDate\";\n};
And I have added this too:
5 skipTime !"\"skipTime\"," !"scriptsMZ\DayzTime\core_time.fsm"," !"rskiptime = 'skiptime'" !"rskiptimecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'skiptime.sqf')"
What am I missing? or What have I done wrong?
Keac:
I'm not your best person for scripts.txt stuff, theres a post explaining the details here: Questions About Restriction Scripts.
I have tried to upload the script in many ways, but I haven't been able to either. Always I get the script restriction # 6