Risks of the new 0.14 aysnc autosave features

Post all other topics which do not belong to any other category.
Jan
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Jun 07, 2016 3:08 pm
Contact:

Risks of the new 0.14 aysnc autosave features

Post by Jan »

Hi!

After upgrading to 0.14(.1), its really risky to fight agist a base, when autosave arrived. If the server the faster to save the game as you, the game will be continue on the server. Within this, the creatures can kill you easy while you are in saving screen. I like to have an option to disbale the async auto save, or factorio should be save the game in the background.
Last edited by Jan on Sat Aug 27, 2016 11:53 am, edited 1 time in total.

golfmiketango
Filter Inserter
Filter Inserter
Posts: 549
Joined: Fri Jan 29, 2016 2:48 am
Contact:

Re: Risks of the new 0.14 aysnc autosave features

Post by golfmiketango »

Background saving would be TOTES AMAZEBALLS!

On linux and mac they could probably fairly trivially achieve background saving by exploiting fork(). On Windows... well there is probably some way to do it but it'd presumably be harder (FILE_MAP_COPY on a memory-mapped file or some kind of PAGE_GUARD dance... I'm sure there is plenty of prior art floating around).

Jan
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Jun 07, 2016 3:08 pm
Contact:

Re: Risks of the new 0.14 aysnc autosave features

Post by Jan »

The NT API has functions like ZwCreateProcess to fork a process. Subsystem for Linux on Windows 10 use this function to map the fork UNIX syscall. I don't if its good enough or not.


Anyway, I want sync autosave back. Should i create a bug report?

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3713
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Risks of the new 0.14 aysnc autosave features

Post by DaveMcW »

Is it possible for the client to simply disable autosave?

User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1685
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Risks of the new 0.14 aysnc autosave features

Post by MeduSalem »

DaveMcW wrote:Is it possible for the client to simply disable autosave?
In an MP game that would be the best thing anyways... since you can't really play such maps offline as there's no way to synchronize any changes you made while being offline. The only one autosaving the game should be the host/server. The clients though don't really need a local autosave copy on the hard disk.

That said if one is really going that route there should still be the possibility to make a manual copy of the current state of the game in case someone really wants to download an MP map permanently for offline play or whatever.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Risks of the new 0.14 aysnc autosave features

Post by ssilk »

Latest posts:
viewtopic.php?f=6&t=3829 Smarter autosaving (ie: Not in combat)
viewtopic.php?f=6&t=26016 Autosaving while in combat is DUMB
viewtopic.php?f=6&t=31305 No autosaves while combat !

Map transfer:
viewtopic.php?f=6&t=31279 Ideas to increase multiplayer map transfer speed
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “General discussion”