[0.13.15] Autosave time stored in save

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Killerbee
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Thu Mar 17, 2016 8:44 pm
Contact:

[0.13.15] Autosave time stored in save

Post 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.
Attachments
Roket Per Minute.zip
(9.26 MiB) Downloaded 72 times
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.13.15] Autosave time stored in save

Post by TruePikachu »

Can confirm without reproduction save.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.13.15] Autosave time stored in save

Post 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.
quick links: log file | graphical issues | wiki
Rseding91
Factorio Staff
Factorio Staff
Posts: 14817
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.15] Autosave time stored in save

Post 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.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: [0.13.15] Autosave time stored in save

Post 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.
Post Reply

Return to “Ideas and Suggestions”