I am developing an api which allows you to control dedicated servers from either a command line interface or a web interface. Currently I have this working on most steam source servers, and as openttd can be obtained via steam I thought I would give it a go !
I have currently working the installer, start, stop, restart & update (when steam buildid changes)
what I don't have working is game details .. with steam source games you send packets to the server & read the responses for example if you send
Code: Select all
0x54
Code: Select all
[Protocol] => 17
[HostName] => Jim's Dab Server
[Map] => da_sacred
[ModDir] => dab
[ModDesc] => Double Action: Boogaloo
[AppID] => 0
[Players] => 0
[MaxPlayers] => 10
[Bots] => 0
[Dedicated] => d
[Os] => l
[Password] =>
[Secure] =>
[Version] => 1.3.2.0
[ExtraDataFlags] => 177
[GamePort] => 27017
[SteamID] => 90146931225563142
[GameTags] =>
[GameID] => 317360