SphereCommunity
clock overflow, server's age was dropped to 0 - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: clock overflow, server's age was dropped to 0 (/Thread-clock-overflow-server-s-age-was-dropped-to-0)



clock overflow, server's age was dropped to 0 - Art - 08-29-2017 10:06 PM

Hello. I got problem, my server started to do world save every few minutes, and after a lot of world saves, it threw error -
14:57:WARNING:Clock overflow (daylight change in effect?), reset from 07ffffffc to 00.

After that, time of server was dropped and in help menu it was showing 0 days age of server. What does that mean? Server's timer is more than variable can keep or what? I removed newest saves and moved server on backup saves. After launching server world save happened again and then same error message. What to do?


RE: clock overflow, server's age was dropped to 0 - darksun84 - 08-29-2017 11:57 PM

No idea, maybe related to this?

https://forum.spherecommunity.net/Thread-warning-system-clock?highlight=Clock+overflow

https://forum.spherecommunity.net/Thread-about-console-error?highlight=Clock+overflow

https://forum.spherecommunity.net/Thread-Anyone-knows-what-this-msg-means?highlight=Clock+overflow


RE: clock overflow, server's age was dropped to 0 - Art - 08-30-2017 12:12 AM

I know that, it usually happens when system time changes in Windows. But now it's different error.


RE: clock overflow, server's age was dropped to 0 - Ben - 08-30-2017 01:27 PM

What server version?


RE: clock overflow, server's age was dropped to 0 - Art - 08-30-2017 05:50 PM

0.56b of course, but if you mean build, then it's old, 2009 year version. I did some check and i think server's time doesn't fit into 4 bytes int variable. I could use global variable to save amount of days of server, but what about other things? I think there are few things based on that server time, and if server time will be dropped to 0, then those things could be 'active' because server time is less than their marks. Is there any way somehow to enlarge capacity of variable without changing build version? Or maybe you have other advices?


RE: clock overflow, server's age was dropped to 0 - Ben - 08-31-2017 09:16 AM

This was already fixed in newer builds with a bigger variable.
Not sure what you could do other then rebuild 56b with the fix...


RE: clock overflow, server's age was dropped to 0 - Art - 09-02-2017 02:52 PM

Hm. Is there something important by default on what world time could give effect? I mean, is it critical or bad if server time will be dropped to 0?