BetterDeadThanZed Posted August 5, 2013 Report Share Posted August 5, 2013 I see servers with short day/night cycles, like 4 hours day and 4 hours night. How do we set that up? Link to comment Share on other sites More sharing options...
Achmed Posted August 5, 2013 Report Share Posted August 5, 2013 The only way i know of doing it is to set the server start time at a time where it gives you 4h day before it gets dark and then restart the server after its been dark for 4h Link to comment Share on other sites More sharing options...
Lanmanfm Posted August 5, 2013 Report Share Posted August 5, 2013 http://www.armaholic.com/page.php?id=1499 time acceleration mod... if you get it working, I will be picking your brain. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 5, 2013 Author Report Share Posted August 5, 2013 You won't picking my brain because I know nothing about modded, except how to impliment other Dayz mods. I see servers advertising shortened day/night cycles, so either they have something like that working, or they do the 4 hours before sunset start time and restart every 8 hours. Link to comment Share on other sites More sharing options...
Sandbird Posted August 5, 2013 Report Share Posted August 5, 2013 Guys it looks pretty simple to me....Its the same way when i added a carrier in the server....just put that .pbo at the same folder where your dayz_server.pbo is. and that should do it. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 5, 2013 Author Report Share Posted August 5, 2013 Guys it looks pretty simple to me....Its the same way when i added a carrier in the server....just put that .pbo at the same folder where your dayz_server.pbo is. and that should do it. I don't really know how to mod, so just looking at this and reading what it says, it looks like it makes 24 hours pass in 1 hour, so that means 30 minutes day and 30 minutes night - not something I want to do. Maybe I'm reading it wrong? Link to comment Share on other sites More sharing options...
Sandbird Posted August 5, 2013 Report Share Posted August 5, 2013 I don't really know how to mod, so just looking at this and reading what it says, it looks like it makes 24 hours pass in 1 hour, so that means 30 minutes day and 30 minutes night - not something I want to do. Maybe I'm reading it wrong? Yeah something like that...but if it works....then its just a matter of math after that...to change the numbers so they are a full day/night in 4h play :) Link to comment Share on other sites More sharing options...
MGT Posted August 5, 2013 Report Share Posted August 5, 2013 We run the hivext.ini at 1500 which is daylight, server restarts are staggered using BEC so in the day it's 4 hrs so game gets to 1900 which is twilight, 3 hrs in peak times so only gets to 1800 in game, and overnight when we're less busy we let it run for 6 hrs where in game it gets to 2100 which is dark and has been for approx 1hr 30mins Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 5, 2013 Author Report Share Posted August 5, 2013 Yeah something like that...but if it works....then its just a matter of math after that...to change the numbers so they are a full day/night in 4h play :) The problem is that I don't see anywhere in there to alter that number. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 5, 2013 Author Report Share Posted August 5, 2013 We run the hivext.ini at 1500 which is daylight, server restarts are staggered using BEC so in the day it's 4 hrs so game gets to 1900 which is twilight, 3 hrs in peak times so only gets to 1800 in game, and overnight when we're less busy we let it run for 6 hrs where in game it gets to 2100 which is dark and has been for approx 1hr 30mins Would it be possible to post your scheduler.xml file? Link to comment Share on other sites More sharing options...
MGT Posted August 5, 2013 Report Share Posted August 5, 2013 Would it be possible to post your scheduler.xml file? Sure, here it is (we found these times the best for restarts to keep the maximum player numbers) <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <Scheduler> <!-- *** RESTARTS *** --> <!-- 5 min to the 8:00 restart --> <job id="0"> <time>07:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="1"> <time>07:57:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="2"> <time>07:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <job id="3"> <time>07:59:30</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <!-- 08:00 restart --> <job id="4"> <time>08:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <!-- *** RESTARTS *** --> <!-- 5 min to the 12:00 restart --> <job id="5"> <time>11:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="6"> <time>11:57:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="7"> <time>11:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <job id="8"> <time>11:59:30</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <!-- 12:00 restart --> <job id="9"> <time>12:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <!-- *** RESTARTS *** --> <!-- 5 min to the 16:00 restart --> <job id="10"> <time>15:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="11"> <time>15:57:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="12"> <time>15:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <job id="13"> <time>15:59:30</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <!-- 16:00 restart --> <job id="14"> <time>16:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <!-- *** RESTARTS *** --> <!-- 5 min to the 19:00 restart --> <job id="15"> <time>18:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="16"> <time>18:57:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="17"> <time>18:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <job id="18"> <time>18:59:30</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <!-- 19:00 restart --> <job id="19"> <time>19:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <!-- *** RESTARTS *** --> <!-- 5 min to the 22:00 restart --> <job id="20"> <time>21:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="21"> <time>21:57:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="22"> <time>21:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <job id="23"> <time>21:59:30</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <!-- 22:00 restart --> <job id="24"> <time>22:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <!-- *** RESTARTS *** --> <!-- 5 min to the 04:00 restart --> <job id="25"> <time>03:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="26"> <time>03:57:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="27"> <time>03:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <job id="28"> <time>03:59:30</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd> <cmdtype>0</cmdtype> </job> <!-- 04:00 restart --> <job id="29"> <time>04:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> </Scheduler> Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 5, 2013 Author Report Share Posted August 5, 2013 Thanks for posting that! Also, what is your server's UTC set to and where is your server located? Link to comment Share on other sites More sharing options...
MGT Posted August 5, 2013 Report Share Posted August 5, 2013 Thanks for posting that! Also, what is your server's UTC set to and where is your server located? Server start time in hiveext.ini is Hour = 15 Server is based in Paris and set to GMT and we are a UK based community but I would assume those restart times would translate to the US anyway. Always peak time between 4pm and 7pm, hence why we don't restart during that period because players might think "hey, restart, I might go and get some food/drink/have a fap" etc Chainsaw Squirrel 1 Link to comment Share on other sites More sharing options...
Kind-Sir Posted August 18, 2013 Report Share Posted August 18, 2013 http://www.armaholic.com/page.php?id=1499 time acceleration mod... if you get it working, I will be picking your brain. ***EDIT*** This doesn't seem to work with lesser values than tested (16), so I will find another solution. ***EDIT 2*** It seems that 16x and 8x work, might have a workaround to make transitions smoother. Scripts: /* VFATS_CLI.sqf */ // VFATS - Victor Farbau's Accelerated Time Client build 004, (c) 2007 // If this runs on a dedicated server then quit now IF (player != player) exitWith {}; // Init global variables locally to avoid undefined values being used; then wait 5 sec for server VFserverhours = 0; VFservermin = 0; _localhours = 0; _localmin = 0; sleep 5; WHILE {TRUE} DO { sleep 1; _localhours = floor daytime; IF (_localhours == 0) THEN {_localmin = (60 * daytime)}; IF (_localhours > 0) THEN {_localmin = 60 * (daytime MOD (floor daytime))}; skipTime (VFserverhours - _localhours); skipTime ((VFservermin - _localmin) / 60); }; /* VFATS_SRV.sqf */ // VFATS - Victor Farbau's Accelerated Time Server build 007, (c) 2007 // Map objects needed: game logic called "Server" // servertime = continuous count of time in seconds on the server // _accel = acceleration factor (24h in 1h = accel 24) // VFserverhours, VFservermin are public (global) variables that contain the server time IF (!isServer) exitWith {}; Private ["_accel","_onehour","_oneday","_servertime"]; _accel = _this select 0; _onehour = 3600; _oneday = (24 * _onehour) - _accel; _servertime = (daytime * _onehour); WHILE {TRUE} DO { sleep 1; _servertime = _servertime + _accel; VFserverhours = floor(_servertime / 3600); VFservermin = floor((_servertime MOD 3600) / 60); publicVariable "VFserverhours"; publicVariable "VFservermin"; }; Usage within DayZ: Create a folder in your mission file called VFATS Create the two above scripts (names are at the top of the scripts) and paste the above code belonging to each script. Open up your init.sqf file find if (isServer) then { add after vfats =[4] spawn compile preprocessFile ('VFATS\VFATS_SRV.sqf'); with 4 being any multiplier from 2-16 (Even) to speed up the time, so with this setting you have 24/6 which is 6 hour whole days. Next, find if (!isDedicated) then { add after: vfats =[] spawn compile preprocessFile ('VFATS\VFATS_CLI.sqf'); Pack up the mission, stop the server, upload it, start, and test! Works on my end, but will need further testing. 3 hours went by in roughly 9 minutes on 16x mode, leaving 3 minutes = 1 ingame hour. So, in 72 minutes the whole day went by in a DayZ Epoch server (tested live). Gregarious 1 Link to comment Share on other sites More sharing options...
MGT Posted August 20, 2013 Report Share Posted August 20, 2013 Ran this during yesterday, had it set on x4, cloud movement is a little jerky which is ok, but on the transition to nighttime there was a series of flashes which can only be described as lightning going off in your face! Just_R 1 Link to comment Share on other sites More sharing options...
Kind-Sir Posted August 20, 2013 Report Share Posted August 20, 2013 Ran this during yesterday, had it set on x4, cloud movement is a little jerky which is ok, but on the transition to nighttime there was a series of flashes which can only be described as lightning going off in your face! I figured as much, it's worse in 16x, haha. I found a script on OpenDayZ a while back, but cannot seem to find the thread anymore. Maybe something could be mocked up? Link to comment Share on other sites More sharing options...
Achmed Posted August 20, 2013 Report Share Posted August 20, 2013 I know chances are they wont share but has anyone thoght to ask over at origins how they do it? Link to comment Share on other sites More sharing options...
MGT Posted August 20, 2013 Report Share Posted August 20, 2013 I'm going to test this out on our dev server on x2 speed to see if it's any better. We would ideally like to run in game 3 hours day >1 hour night, and atm, the only way is to start the server at 16 or 17 hours and then let it get dark. Problem is you get late afternoon long shadows and a long twilight. By putting the server to x2 speed, you could start the server at 13 hours and on a 4 hour restart it would run to 21 hours, but the transition to darkness would be twice as fast. I'll report on my findings. Link to comment Share on other sites More sharing options...
Kisha Posted August 22, 2013 Report Share Posted August 22, 2013 I'm kinda keen to see how everyone went with their tweaking ^_^ id like to get a fluid time inc working on my server :D Link to comment Share on other sites More sharing options...
Lanmanfm Posted August 22, 2013 Report Share Posted August 22, 2013 testing on 4x and other than the lighting issues - i think from the clouds passing over quickly - it works great. we are on a 3 hour reboot and it is making it from 12:30 to 9:30 in that time. Kind-Sir 1 Link to comment Share on other sites More sharing options...
Kind-Sir Posted August 22, 2013 Report Share Posted August 22, 2013 I just got access to a dedicated I invested in, I will be testing a smooth time-transition. Link to comment Share on other sites More sharing options...
MGT Posted August 23, 2013 Report Share Posted August 23, 2013 We're on a powerful dedicated machine, still got the light flashes on day/night transition. Link to comment Share on other sites More sharing options...
Kind-Sir Posted August 25, 2013 Report Share Posted August 25, 2013 We're on a powerful dedicated machine, still got the light flashes on day/night transition. It's due to how the script is written... Link to comment Share on other sites More sharing options...
IrishMob Posted September 8, 2013 Report Share Posted September 8, 2013 id like just short nights like 2 hour nighs leve the rest alone Link to comment Share on other sites More sharing options...
ToejaM Posted September 8, 2013 Report Share Posted September 8, 2013 We have ours set to night every 3rd restart, works pretty well! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now