Page 1 of 1

[0/17.58] Server not honoring autosave_interval precisely

Posted: Sun Aug 11, 2019 10:25 pm
by electricOzone
I'm hosting a server on Ubuntu Linux. My server-settings.json file is usually configured with an autosave_interval of 30 minutes. However, I noticed autosaves were only happening about once every 63 minutes.

As a test, I set the autosave_interval to 1 minute. In this case (see attached files), the server is still only autosaving about once every 95 seconds.

Re: [0/17.58] Server not honoring autosave_interval precisely

Posted: Sun Aug 11, 2019 11:02 pm
by Rseding91
Thanks for the report however that's working correctly. Autosave interval is in game-time not real world time. Your save file is not running at full speed because you've built so much and so it takes longer real-world time to reach the interval.

Re: [0/17.58] Server not honoring autosave_interval precisely

Posted: Mon Aug 12, 2019 12:22 am
by electricOzone
I see, thanks for the info! So if I set the autosave_interval to 1 minute, it's really being set to 3600 game ticks? 30 minutes = 108,000 ticks?

Re: [0/17.58] Server not honoring autosave_interval precisely

Posted: Mon Aug 12, 2019 12:58 am
by Adamo
electricOzone wrote: Mon Aug 12, 2019 12:22 am I see, thanks for the info! So if I set the autosave_interval to 1 minute, it's really being set to 3600 game ticks? 30 minutes = 108,000 ticks?
Yeah. You should be able to see the speed at which your game is running in "UPS", which is really ticks per second, if you turn it on in the debug overlay.