Bob_the_K Posted January 2, 2015 Report Share Posted January 2, 2015 Hi, In Arma2, the timezone offset used to be set in hiveext.ini but I see no such file for Arma3. So which file do I use to set the timezone offset? I haven't found it in any of the cfg files I've looked at so far. Thanks, Bob Link to comment Share on other sites More sharing options...
theirongiant Posted January 2, 2015 Report Share Posted January 2, 2015 @EpochHive/epochconfig.hpp you're looking for this line // Time based StaticDateTime[] = {0,0,0,9,0}; // {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 = 3; // Sets a time multiplier for in-game time. The command range is now capped at 0.1 - 120 to avoid performance problems. This set up gives you about an hour of darkness on a 4 hour restart schedule Diceman 1 Link to comment Share on other sites More sharing options...
Bob_the_K Posted January 2, 2015 Author Report Share Posted January 2, 2015 So right now, mine is: StaticDateTime[] = {2014,6,10,7,0}; timeDifference = 0; timeMultiplier = 4; So my understanding that at every reset, my date/time is set to June 10, 2014 at 7am. And the time is based on UTC=0 and the timeMultiplier compresses four hours of game into each real clock-time. So setting to {0,0,0,8,0} allows it to use the actual current year, day, month and and I'd use timeDifference = -4 for New York City for example since NYC is UTC-4? Thanks, Bob Link to comment Share on other sites More sharing options...
theirongiant Posted January 2, 2015 Report Share Posted January 2, 2015 Yeah, that's my understanding of it. Haven't attempted to use timeDifference so can't say from 1st hand experience but I'd imagine that is how it would work. Link to comment Share on other sites More sharing options...
Fog Horn Posted January 2, 2015 Report Share Posted January 2, 2015 You can also you BEC scheduler to restart your server at specific times Link to comment Share on other sites More sharing options...
Bob_the_K Posted January 3, 2015 Author Report Share Posted January 3, 2015 I already use BEC and the server restarts every three hours flawlessly. Problem is that the timestamps for files and within logs are off from where we are so it can sometimes be difficult to find things that happen at a specific time when its 5pm where I am but the logs are off by five or so hours. It's just to keep all my timestamps in-line with my timezone. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now