Page 1 of 1
[0.13.15] Autosave time stored in save
Posted: Mon Aug 15, 2016 7:14 pm
by Killerbee
Not really a bug more of an annoyance that can be avoided.
Because the time until the next autosave is stored in the save it can occur that the game will autosave immediately or very soon after loading a game.
A better implementation would be that the autosave time is reset when a game is loaded/saved, that will prevent annoying saves when continuing a game.
Attached is a savegame that will almost immediately do an autosave.
On this small map it isn't really an issue, but larger maps have longer save times so that causes more of an annoyance.
Re: [0.13.15] Autosave time stored in save
Posted: Mon Aug 15, 2016 10:18 pm
by TruePikachu
Can confirm without reproduction save.
Re: [0.13.15] Autosave time stored in save
Posted: Mon Aug 15, 2016 10:42 pm
by daniel34
The autosave time isn't actually stored in the save, it depends on the autosave interval set in the options.
The way Factorio handles autosave points is that it does an autosave at every multiple of the autosave interval when compared to the total play time. The save you posted has a play time of 07:55:59 therefore on your PC it will make an autosave almost immediately, 1 second after loading.
On my PC for example the first autosave would only happen 4 minutes after loading the save (at 8:00:00) because I've set the interval to 5 minutes.
I do agree that this can be an inconvenience as the first autosave happens on average after 1 minute of loading the save (with the save interval set to the default 2 minutes) and can fluctuate between 0 seconds and 2 minutes. I'm not sure though if this belongs in Bug Reports or Ideas and Suggestions.
Re: [0.13.15] Autosave time stored in save
Posted: Tue Aug 16, 2016 3:07 am
by Rseding91
This doesn't work...
Picture you're running 5 minute auto-saves and the playtime is 4 minutes 59 seconds. Someone connects to your game so it saves and they load it. On their end they just loaded the game so 1 second later when the auto-save would run it doesn't because "I just loaded the game" but then the first player has been running it for 4 minutes and 59 seconds and he does want to save the game.
Anyway, there's no bug here. Maybe room for future improvements but no bug.
Re: [0.13.15] Autosave time stored in save
Posted: Tue Aug 16, 2016 6:15 am
by Optera
Timestamps in co-op should be synced to match the host.
As client you seldom care to have a local autosave copy of a server map.