Page 1 of 1

Dedicated server doesnt save game

Posted: Wed Mar 16, 2016 7:22 am
by supagu
Im running factorio via dedicated server, the autosave is working, but the game is not saving to the specified save game when the last players quits or when the dedicated server is shutdown.

This means everytime i reboot my server i need to restore my game from an autosave and do loose some data potentially in this.


this is how i launch the server:

./factorio --start-server "bobs_mod_1.zip" &

Re: Dedicated server doesnt save game

Posted: Wed Mar 16, 2016 9:57 am
by Oxyd
supagu wrote:the game is not saving to the specified save game when the last players quits
That is correct behaviour.
supagu wrote:or when the dedicated server is shutdown.
How do you shut down the server? Can you post the log that includes the server's shutdown?

Re: Dedicated server doesnt save game

Posted: Thu Mar 24, 2016 6:21 am
by supagu
https://drive.google.com/file/d/0B_nQZv ... sp=sharing

It looks like its not shutting down correctly, if I close factorio correctly the log ends with "goodbye" which my log doesnt contain when i reboot.

I have an sh script:

Code: Select all

cd ~/.factorio/bin/x64
ls

./factorio --start-server "bobs_mod_1.zip" &
which we simply run by clicking on it when the linux machine boots.
I am rebooting my computer by using the reboot option in the desktop that i am using (xfce)