DayZ
Instig8ed Oct 9, 2020 @ 10:58pm
Help with server day cycle settings
Hope someone can help. Previously when I run a local LAN sever for a pve experience, I usually tweak the serverDZ.cfg file to have the night cycle accelerated so its very short, like 10 min of pure night and 50 min of daylight, so a full day cycle is 1hr. Lately however, I have been wanting to experience the normal day/night cycle (meaning night is about 50% of a 1hr full day's cycle, so about 30min)

I have been tweaking my serverDZ.cfg time to achieve this, but no matter what I set the night cycle too, it pretty much skips night entirely (sun slowly sets and instantly starts slowly rising again) with no official night. It never did this but now it is for some reason

I've uninstalled the dayz server and deleted local files, reinstalled, and played with the default values that downloaded (serverTimeAcceleration=12; serverNightTimeAcceleration=1;) but it still skips official night time. I'm not sure what else to do at this point. This only started a couple of days ago and google hasn't revealed anything about this yet. Can anyone suggest something to help? Kudos in advanced <3
< >
Showing 1-2 of 2 comments
Ewil Oct 10, 2020 @ 2:16am 
I did like this (if this could be something for you?):

I want that my server restarts every 6 hours. Atleast. Why? To keep it fresh, and might keep a few bugs and glitches away. I wanted to have a restart every 4 hours, but I explain why i did not.

So 6 hours of time to play, between restarts, I thought I wanted a balance between day and night.
Daylight is good for looting, hunting, building, driving and getting along with other players.

Night time, is for the advanced players, who put time in, and get NVG, and wanna be stealthy and maybe a killer with a sniper, in ghillie, in the forrest?

So I wanted both player-style, but with a balance, so the night is shorter, but long enogh to do cool stuff.

So I calculated:
If my server start at 05:00 in the morning, in summertime, and I move foward x3 times.
Then I get
1 irl hour is 5:00 am - 8:00 am (early morning, but still bright enogh)
2 irl hour is 8:00 am -11:00 am
3 irl hour is 11:00 am - 2:00 pm
4 irl hour is 2:00 pm - 5:00 pm
5 irl hour is 5:00 pm - 8:00 pm (it is getting dark at 19:30 // 7:30 pm at server)
6 irl hour is 8:00 pm - 11:00 pm (night - time)

Roughly this gives 4 hour daytime - 30 minutes dusk and 1,5 hours with night.

To be honest, I have NEVER seen the setting : "serverNightTimeAcceleration"

I only used:
serverTime="2019/7/7/05/00"; // Server Start Time // Initial ingame time of server. "SystemTime" means local time of machine. Another possibility is to set the time to some value in "YYYY/MM/DD/HH/MM" format, f.e. "2015/4/8/17/23" .


serverTimeAcceleration=3; // Accelerated Time (value 0-24) // This is a time multiplier for in-game time. In this case time would move 24 times faster than normal, an entire day would pass in one hour.

serverTimePersistent=0; // Persistent Time (value 0-1) // Actual server time is saved to storage, so when active, next server start will use saved time value.

Remember, if you have "serverTimePersistent=1;" - then the server restarts, and continue the time from where it was shut down.

So I made my server roll from 05:00am - 11:00 pm every time.
Instig8ed Oct 10, 2020 @ 1:26pm 
I did like this (if this could be something for you?):

I want that my server restarts every 6 hours. Atleast. Why? To keep it fresh, and might keep a ...

Thanks for the feedback. I've changed my servertime to another value besides the default "SystemTime", see if that does something. I've never had to set it before and I have had no problems having actual night, so maybe its a weird bug.

To be honest, I have NEVER seen the setting : "serverNightTimeAcceleration"

I only used...

Really you haven't? It sets night to accelerate or slow down beyond the default 50% night/day cycle. So you can have 75% day and 25% night, etc. The code in my cfg file looks like this:

serverTimeAcceleration=12; // Accelerated Time (value 0-24)// This is a time multiplier for in-game time. In this case, the time would move 24 times faster than normal, so an entire day would pass in one hour. serverNightTimeAcceleration=1; // Accelerated Nigh Time - The numerical value being a multiplier (0.1-64) and also multiplied by serverTimeAcceleration value. Thus, in case it is set to 4 and serverTimeAcceleration is set to 2, night time would move 8 times faster than normal. An entire night would pass in 3 hours. serverTimePersistent=0; // Persistent Time (value 0-1)// The actual server time is saved to storage, so when active, the next server start will use the saved time value.
Last edited by Instig8ed; Oct 10, 2020 @ 1:26pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Oct 9, 2020 @ 10:58pm
Posts: 2