Server freeze after four days

Hello,

After just two days, server time speeds up x2, after four days, the entire world outright freezes.

I have noticed that the culprit is TimeSeconds in World.h, which is for some reason a float instead of double. This means that after two days, the value is so large that it loses milisecond precision, then after four days, the loss of precision is so large that incrementing the number doesn’t even change it (unless I manually deprive the process of CPU resources, making the delta large enough).

I have also been able to reproduce this by simply adding 2 or 4 days (172800 or 345600 seconds respectively) to the TimeSeconds in C++

Are there any plans to change it to double? I know that it’s no small feat with all the places it’s used and the fact that blueprints apparently don’t support doubles, but being unable to run a server for longer than a day is extremely limiting.

Thank you,
Petr

I wonder how we go about servers for things like mmos that have huge amounts of up time?

We have a similar problem now…
Can we decrement/reset the Time?
Does restart the map (ServerTravel) reset it or is it the total uptime?