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.
[0.13.15] Autosave time stored in save
Moderator: ickputzdirwech
[0.13.15] Autosave time stored in save
- Attachments
-
- Roket Per Minute.zip
- (9.26 MiB) Downloaded 73 times
- TruePikachu
- Filter Inserter
- Posts: 978
- Joined: Sat Apr 09, 2016 8:39 pm
- Contact:
Re: [0.13.15] Autosave time stored in save
Can confirm without reproduction save.
Re: [0.13.15] Autosave time stored in save
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.
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
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.
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.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.13.15] Autosave time stored in save
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.
As client you seldom care to have a local autosave copy of a server map.
My Mods: mods.factorio.com