Jump to content

Day light 24/7


Diceman

Recommended Posts

yes.

 

Set server to restart every 4 hours.

 

Open epochconfig.hpp (in @EpochHive folder)

 

Edit :

 

 

StaticDateTime[] = {0,0,0,9,0};

timeMultiplier = 1;

 

 

Safe. Run, Have fun !

 

(This sets your server to start fixed at 9am, without time multiplier. By the time your server restarts its 13:00 , still daytime).

Link to comment
Share on other sites

just did this it's still dark after server restart this is what i have

 

// Time based 
StaticDateTime[] = {}; // {0,0,0,8,0} would forces the server to start at 8am each time it is started while allowing the year, month and day to stay real time. Any values left at 0 will result in no change.
timeDifference = 0; // Server uses real time this will allow you to offset just the hour.
timeMultiplier = 0; // Sets a time multiplier for in-game time. The command range is now capped at 0.1 - 120 to avoid performance problems.
Link to comment
Share on other sites

:D  I learned the hard way, some 20 years ago already to REALLY pay attention to //  :D

 

Easily overlooked.

 

And yes, for those who wonder :

 

StaticDateTime[] = {0,0,0,8,0}; // 

 

!=

 

StaticDateTime[] = {}; // {0,0,0,8,0}

 

The 1st one is the one that works, the 2nd on is an example of what you could use, but the array itself is empty {}

Link to comment
Share on other sites

anyone know a cycle say 5 hours day light and 1 hour night, this on a 6 hour auto restart.

It gets dark at around 17:30 , but dusk takes a while.

 

You could speedup with time multiplier 2, then you want 17:30 - (5 * 2 ) = 7:30 as start, time multiplier 2, so 1 hour before restart it gets 17:30 and a pretty short dusk giving about an hour dark.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...