News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

force-sync does nothing when no clients connected

Started by Ashley, November 20, 2012, 01:01:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ashley

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?
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

Dwachs

#1
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.
Parsley, sage, rosemary, and maggikraut.