Feature: End/Exit game after specific year has been reached.
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 91
- Joined: 12 Jun 2014 14:24
Feature: End/Exit game after specific year has been reached.
Hello all.
Id like to have an option next to restart_game_year that can define that the game will end at a specific date rather than restart it.
Perhaps something like exit_game_year?
Id like to run a server with different configurarions each restart and was thinking of a simple bash script to do so, therefore i need openttd to exit after a game year has reached.
Is this already possibly? Doesnt sound like its too hard to implement?
Thanks!
Id like to have an option next to restart_game_year that can define that the game will end at a specific date rather than restart it.
Perhaps something like exit_game_year?
Id like to run a server with different configurarions each restart and was thinking of a simple bash script to do so, therefore i need openttd to exit after a game year has reached.
Is this already possibly? Doesnt sound like its too hard to implement?
Thanks!
Re: Feature: End/Exit game after specific year has been reac
this sounds like a job for the "admin port" of openttd. there are two libraries that help you access it, "joan" (in java) and "libottdadmin" (in python)
-
- Engineer
- Posts: 91
- Joined: 12 Jun 2014 14:24
Re: Feature: End/Exit game after specific year has been reac
Damn, id probably need some help starting this up, im using autopilot right now for my server
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Feature: End/Exit game after specific year has been reac
That's no script to interface admin port. but an ancient, discontinued wrapper around the console.Gigigonzalez wrote:Damn, id probably need some help starting this up, im using autopilot right now for my server
I would suggest looking into the supybot/soap combo.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
-
- Engineer
- Posts: 91
- Joined: 12 Jun 2014 14:24
Re: Feature: End/Exit game after specific year has been reac
Would it be hard to setup with the current stuff i already have in autopilot? like !date and !name changename etc?
Re: Feature: End/Exit game after specific year has been reac
Nah, I think they dropped autopilot because it would be too simple to set up. They wanted a more difficult way to do things.Gigigonzalez wrote:Would it be hard to setup with the current stuff i already have in autopilot? like !date and !name changename etc?
Being a retired OpenTTD developer does not mean I know what I am doing.
-
- Engineer
- Posts: 91
- Joined: 12 Jun 2014 14:24
Re: Feature: End/Exit game after specific year has been reac
Sounds logical
Who is online
Users browsing this forum: No registered users and 11 guests