Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Wed May 22, 2019 1:56 am

All times are UTC




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Telemetry Data
PostPosted: Sat Mar 09, 2019 5:50 pm 
Offline
Engineer
Engineer

Joined: Mon Oct 02, 2017 2:44 pm
Posts: 8
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


Top
   
 Post subject: Re: Telemetry Data
PostPosted: Sat Mar 09, 2019 6:05 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7349
usually the suggestion is to use an admin port library.

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
 Post subject: Re: Telemetry Data
PostPosted: Sat Mar 09, 2019 6:52 pm 
Offline
Engineer
Engineer

Joined: Mon Oct 02, 2017 2:44 pm
Posts: 8
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.


Top
   
 Post subject: Re: Telemetry Data
PostPosted: Sat Mar 09, 2019 7:13 pm 
Offline
Engineer
Engineer

Joined: Mon Oct 02, 2017 2:44 pm
Posts: 8
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


Top
   
 Post subject: Re: Telemetry Data
PostPosted: Sat Mar 09, 2019 7:19 pm 
Offline
Engineer
Engineer

Joined: Mon Oct 02, 2017 2:44 pm
Posts: 8
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
:( :( :( :( :( :(


Top
   
 Post subject: Re: Telemetry Data
PostPosted: Sun Mar 10, 2019 1:41 am 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7349
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 :)


Top
   
 Post subject: Re: Telemetry Data
PostPosted: Sun Mar 10, 2019 11:19 am 
Offline
Engineer
Engineer

Joined: Mon Oct 02, 2017 2:44 pm
Posts: 8
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


Top
   
 Post subject: Re: Telemetry Data
PostPosted: Wed Mar 13, 2019 5:18 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7349
sorry, i don't know that.

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.