Telemetry Data

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
svermaak
Engineer
Engineer
Posts: 8
Joined: 02 Oct 2017 14:44

Telemetry Data

Post by svermaak » 09 Mar 2019 17:50

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

Eddi
Tycoon
Tycoon
Posts: 7371
Joined: 17 Jan 2007 00:14

Re: Telemetry Data

Post by Eddi » 09 Mar 2019 18:05

usually the suggestion is to use an admin port library.
You might not exactly be interested in Ferion, but if you are, have fun :)

svermaak
Engineer
Engineer
Posts: 8
Joined: 02 Oct 2017 14:44

Re: Telemetry Data

Post by svermaak » 09 Mar 2019 18:52

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.

svermaak
Engineer
Engineer
Posts: 8
Joined: 02 Oct 2017 14:44

Re: Telemetry Data

Post by svermaak » 09 Mar 2019 19:13

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

svermaak
Engineer
Engineer
Posts: 8
Joined: 02 Oct 2017 14:44

Re: Telemetry Data

Post by svermaak » 09 Mar 2019 19:19

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
:( :( :( :( :( :(

Eddi
Tycoon
Tycoon
Posts: 7371
Joined: 17 Jan 2007 00:14

Re: Telemetry Data

Post by Eddi » 10 Mar 2019 01:41

this might be a little elaborate, but a GameScript can collect all sorts of data and export it via the Admin Port
You might not exactly be interested in Ferion, but if you are, have fun :)

svermaak
Engineer
Engineer
Posts: 8
Joined: 02 Oct 2017 14:44

Re: Telemetry Data

Post by svermaak » 10 Mar 2019 11:19

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

Eddi
Tycoon
Tycoon
Posts: 7371
Joined: 17 Jan 2007 00:14

Re: Telemetry Data

Post by Eddi » 13 Mar 2019 17:18

sorry, i don't know that.
You might not exactly be interested in Ferion, but if you are, have fun :)

Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 5 guests