The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Ashley on November 20, 2012, 01:01:24 PM

Title: force-sync does nothing when no clients connected
Post by: Ashley on November 20, 2012, 01:01:24 PM
The force-sync command to nettool is useful for saving the game from the command line for server management - I've noticed that it doesn't do anything unless there are clients connected (and also doesn't work in the pause when no clients scenario). Can this behaviour be changed so that the map is always saved locally when force-sync is used, regardless of pause or connected client status?
Title: Re: force-sync does nothing when no clients connected
Post by: Dwachs on November 20, 2012, 01:38:31 PM
Is there any debug output (with debug -2) at the server when it gets the force-sync?

It should do a save even if no clients are connected and the game is not paused.

If the game is paused and no clients are connected, then force-sync command will be queued but never executed (Bug).

Edit: should be fixed with r6072.