Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
Weyland Yutani (DayZ)

Fix the Forced Night Issue on PC Please!!!

Recommended Posts

Night time sucks, I don't want night time on my servers until it looks halfway decent so please fix the dang forced night time on the servers. Tried most of the fixes, nothing works.

I don't want the time to stay persisstent, I want the server to restart to the times I have saved.

We're removing the types.bin every 8-12 hours and it's a lot of work with taking backups every 4 hours. No server owners should be expected to perform this type of workload. We're paying money every god dam month and we have to work every dam day to have a normal running server. Put us on the payroll because we're keeping YOUR work alive!!!

I shouldn't have to post this type of content, it should be done for crying out loud.

Share this post


Link to post
Share on other sites
2 hours ago, Weyland Yutani (DayZ) said:

I don't want the time to stay persisstent, I want the server to restart to the times I have saved.

I'm playing around with server files on my laptop -- gonna wait till early next year before renting a server -- but a workaround for this is to use multiple init files setup with different times and then add a copy statement to make the desired time the active init.c file.

Here's the code I use in my batch file:

set hour=%time:~0,2%

if %hour% lss 10 set hour=%hour: =0%

cd\
cd "C:\Steam\steamapps\common\DayZServer"
copy serverDZ.%hour% serverDZ.cfg /y
cd mpmissions
cd dayzOffline.chernarusplus
copy init.%hour% init.c /y

 

So, for example, I have an init.08 file that has this line in it:

GetGame().GetWorld().SetDate(2018, 6, 22, 8, 0);

So, with the above script, when I copy init.08 and make it the active init.c and then start the server, it's 8:00am.

I know you want the devs to do this, but until they do, this (or something similar) can keep your server always daytime.

  • Beans 1

Share this post


Link to post
Share on other sites
4 hours ago, Weyland Yutani (DayZ) said:

 

I don't want the time to stay persisstent, I want the server to restart to the times I have saved.

 

yes,  drgullthen seems to have it

try along these lines  ..  maybe gives you a starting point ?

https://clients.fragnet.net/knowledgebase.php?action=displayarticle&id=128

incorporate dr's technique into a 6, or 8, or 10 hour auto restart  (for instance) .. ?   A table of "ingame virtual start times" can set a different chosen time,  as it steps through each of the series of auto restarts ..  you don't have to be around to oversee it.

Edited by pilgrim*

Share this post


Link to post
Share on other sites
Sign in to follow this  

×