Automaticaly save game and restore game state on dedicated server

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
gijs007
Engineer
Engineer
Posts: 3
Joined: 28 Jan 2017 13:54

Automaticaly save game and restore game state on dedicated server

Post by gijs007 »

I'm looking for a way to automate the saving of a game session when closing an OpenTTD dedicated server (-D command line argument) and automatically restoring this session when starting the game again.

I couldn't find any option to do this, but it would be a welcome addition as it allows us to automate the starting and stopping of game servers with scripts and batch files. This would be very useful for game server providers.
Eddi
Tycoon
Tycoon
Posts: 8272
Joined: 17 Jan 2007 00:14

Re: Automaticaly save game and restore game state on dedicated server

Post by Eddi »

you can send the save/load/whatever commands to the server either via stdin or via the admin port. additionally, you can make sever start scripts
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 29 guests