ets2-telemetry-server icon indicating copy to clipboard operation
ets2-telemetry-server copied to clipboard

PHP convertion?

Open zer0sec opened this issue 8 years ago • 3 comments

is it possible to make this work without running the exe as i want to auto track my vtc and forward the data to the website through api, is it possible to do this without having to run the exe? or can i just change the code in c++ so it redirects traffic to my website directly!

zer0sec avatar Feb 06 '17 12:02 zer0sec

This is how Windows system works - results of compiled files from C++ is... .exe file

There must be some kind "agent" which will generate raw-data received from .dll in ETS2. Maybe SCS will provide tools (build-in-game) and then Funbit don't have to update his work?

yodek avatar Feb 06 '17 16:02 yodek

As @yodek said, you'll need some sort of agent running on the player's computer to push data to your website if you want to use the telemetry plugin as-is. At that point, I'd recommend using the exe as it has a broadcasting feature that can submit a POST request to any URL every x seconds.

However, if you want to try recompiling the plugin, you could try embedding a REST client into the plugin (perhaps this; https://github.com/mrtazz/restclient-cpp may help?) and call your website directly. I have no experience in compiling the DLL, so I can't help you out there.

mike-koch avatar Feb 06 '17 17:02 mike-koch

is anyone willing to do this for me i'm willing to pay for money for someone to help with this.

zer0sec avatar Feb 08 '17 18:02 zer0sec