Jump to content

Recommended Posts

Hey!

 

I've seen some job loggers out there and I've been programming a website for eurotruck and it would solve a lot if the job was submitted automatically when finished.

Does anyone have experience in developing a job logger? The big question is, how can the program detect if a job is completed and get the values and so on.. Is there an API for eurotruck or a savefile somewhere?

 

/J

  • Upvote 1
Link to comment
Share on other sites

First you need a plugin for the plugins folder in your ETS2/bin/plugins folder.

Before you start, you need to know that you need c/c++ knowledge for this task.

 

You can write your own plugin or use the plugin that funbit wrote himself and published to github https://github.com/Funbit/ets2-telemetry-server

Or you just use his telemtry-dashboard version. See http://forum.scssoft.com/viewtopic.php?f=41&t=171000

You're most likely to analyze the json answer - if you write you own application around it - or you add your own code into the plugin.

(You need to check the EULA before changing code / redistributing the final code if that is allowed after modifying it)

 

And in the code you are adding / programming around you can do the default procedures for sending / recieving data to / from your webserver using the web interfaces of the programming language you are using.

If they aren't supported by default, there are any libaries to add it for sure.

 

  • Like 1
  • Upvote 2

"Just because others break rules, does not grant you the permission to break the rules as well"

Please drive respectful on the servers. Thank you!

 

 

Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.