Dedicated server doesnt save game

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
supagu
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Feb 27, 2016 4:44 am
Contact:

Dedicated server doesnt save game

Post 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" &
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: Dedicated server doesnt save game

Post 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?
supagu
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Feb 27, 2016 4:44 am
Contact:

Re: Dedicated server doesnt save game

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

Return to “Pending”