Page 1 of 1

Telemetry Data

Posted: 09 Mar 2019 17:50
by svermaak
Hi Guys,

I suck at C++ and have tried my best to get telemetry data from OpenTTD.
https://www.experts-exchange.com/articl ... tream.html

Obviously, you can do it better. Can we not get a native method to stream telemetry data from OpenTTD

I love the game and also use it for Azure stream analytic presentations

Re: Telemetry Data

Posted: 09 Mar 2019 18:05
by Eddi
usually the suggestion is to use an admin port library.

Re: Telemetry Data

Posted: 09 Mar 2019 18:52
by svermaak
Eddi wrote:usually the suggestion is to use an admin port library.
Yes, I have been told about those before. Those repos are > 6 years old and I have to download file for file because the SVN doesn't exist. Also, it gives an error "client was dropped because it took longer than 100 ticks to start the joining process"

It's also not clear if I will be able to get telemetry data because the samples I see is to get the connected clients and to send chat messages

Seems I have to write my own socket program for it.

Re: Telemetry Data

Posted: 09 Mar 2019 19:13
by svermaak
Eddi wrote:usually the suggestion is to use an admin port library.
Also, the admin port doesn't seem to start. The documentation says I should define an admin_password, which I do, but the game keeps wiping the value

Re: Telemetry Data

Posted: 09 Mar 2019 19:19
by svermaak
Eddi wrote:usually the suggestion is to use an admin port library.
Admin Port does not provide telemetry data according to this
https://wiki.openttd.org/OpenTTDDevBlac ... etwork/TCP
:( :( :( :( :( :(

Re: Telemetry Data

Posted: 10 Mar 2019 01:41
by Eddi
this might be a little elaborate, but a GameScript can collect all sorts of data and export it via the Admin Port

Re: Telemetry Data

Posted: 10 Mar 2019 11:19
by svermaak
Eddi wrote:this might be a little elaborate, but a GameScript can collect all sorts of data and export it via the Admin Port
Do you perhaps know who maintains ServerGS if it is still maintained?

If crashes. It seems that I will be able to utilize it to call game APIs

Re: Telemetry Data

Posted: 13 Mar 2019 17:18
by Eddi
sorry, i don't know that.

Re: Telemetry Data

Posted: 24 Jul 2019 08:25
by openbu.org
:bow: