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 »

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: 8257
Joined: 17 Jan 2007 00:14

Re: Telemetry Data

Post by Eddi »

usually the suggestion is to use an admin port library.
svermaak
Engineer
Engineer
Posts: 8
Joined: 02 Oct 2017 14:44

Re: Telemetry Data

Post 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.
svermaak
Engineer
Engineer
Posts: 8
Joined: 02 Oct 2017 14:44

Re: Telemetry Data

Post 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
svermaak
Engineer
Engineer
Posts: 8
Joined: 02 Oct 2017 14:44

Re: Telemetry Data

Post 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
:( :( :( :( :( :(
Eddi
Tycoon
Tycoon
Posts: 8257
Joined: 17 Jan 2007 00:14

Re: Telemetry Data

Post by Eddi »

this might be a little elaborate, but a GameScript can collect all sorts of data and export it via the Admin Port
svermaak
Engineer
Engineer
Posts: 8
Joined: 02 Oct 2017 14:44

Re: Telemetry Data

Post 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
Eddi
Tycoon
Tycoon
Posts: 8257
Joined: 17 Jan 2007 00:14

Re: Telemetry Data

Post by Eddi »

sorry, i don't know that.
User avatar
openbu.org
Engineer
Engineer
Posts: 74
Joined: 14 Nov 2014 07:40
Location: USA
Contact:

Re: Telemetry Data

Post by openbu.org »

:bow:
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 4 guests