I would like to export the company achievements to a file, so I could read this in with php and publish it on a site.
The reason I would like to do this is to make a competition with some friends.
Things I would like to see in the export-file per company:
Profit
Income
Amount of cargo delivered (per cargo type)
companyvalue
Company achievements index
number of vehicles
number of trains
number of planes
number of ships
number of stations
minimum profit of vehicle
maximum profit of vehicle
total amount of cargo delivered
number of cargo-types
money
loans
Amount of industries connected by company
cities connected (and how big they are)
Is there a way to do this? Or should I have posted this in the 'suggestions' forum?:P
Export Company achievements to a file, to read in with php
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 2
- Joined: 22 Mar 2012 15:18
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Export Company achievements to a file, to read in with p
Search for openttdlib
It can't do all, but some of it. The rest could be implemented by writing a bot which connects to the admin port of the server. No such thing exists. At least not publicly to my knowledge; I shall be delighted to be proven wrong there.
It can't do all, but some of it. The rest could be implemented by writing a bot which connects to the admin port of the server. No such thing exists. At least not publicly to my knowledge; I shall be delighted to be proven wrong there.
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
Who is online
Users browsing this forum: Google [Bot] and 1 guest