Jump to content
brandonlea

How to make a job logger

Recommended Posts

@brandonlea, I wish you a good night. There is a program called "Virtual Speditor" which gives you the opportunity of creating your own custom jobs. You and your friends can use this program to haul same cargos to the same destinations if this is what you ask for. You can find the "Virtual Speditor" in the topic below. All credits go to "Xyzan" from SCS Software Forum and @Mirrland for sharing the program with us.

 

 

 

Share this post


Link to post
Share on other sites

Making a job logger consists of two things:
1. PC application
2. Some sort of server side application

Details:
1 . PC APPLICATION:

You need to build some sort of PC application that should collect data from game and send it as POST/GET to a webpage.

More details in the post below


2 . Online Application:
This is where the magic happens. You will need to setup a database. Make sure you make logins for your VTC members. Since you will need some sort of identification to distinguish between jobs that are submitted to you via the POST/GET method.
You will need to build your own web application to present the data in a presentable form.

Alternatives:

1. Virtual Trucking Manager This is a pre-built application for job logging.
2. Jammerxd Refer to this if u want to make your own Web Application. It already has a PC application. It can also be used to track people LIVE.

 

Resources:
https://github.com/Funbit/ets2-telemetry-server

 

I hope this helps!

  • Upvote 1

Share this post


Link to post
Share on other sites

If you don't want to build PC Application.... there is another alternative.
Requires only Online Application:

You will need to create an HTML form where your VTC members can submit the information manually. I have seen some VTC use this instead of a PC application.
No matter what.. you will be needing an Online platform though.

Share this post


Link to post
Share on other sites

@brandonlea 

To start off with, you need to have decent knowledge of C++ and know how to make plugins for ETS2/ATS. There are no specific guides out there on how to do this. You also need to understand how the SCS SDK works, and how to integrate it into your application. This is obviously if you want to make everything from scratch, there is a pre-made telemetry plugin which allows you to just make an external program that accesses the telemetry data via memory. You need to make all the logic that decides when a job is done, started, etc.

 

You will also need a server side application to receive data from the logger. HTML isnt going to get you that far here other than displaying information. You will need to know a language like PHP, NodeJS, etc.

 

  • Upvote 2

Share this post


Link to post
Share on other sites

If you want to see what it takes to make a plugin, checkout my youtube channel. I do a lot of development and gaming stuff. Currently working on new platform for job logging that will hopefully simplify everything for everyone's platforms. 

  • Upvote 2

Share this post


Link to post
Share on other sites

I'm one of the developers of TrucksBook, which is complete application for VTC. Trust me, it took several years to get it into this state and create completely automatic job logger. It's not impossible, but it's long way.

 

But if you want to do it, just do it! It's a great way to learn a lot of things :) . If you don't know any programming language (HTML is not programming language), you should start learning it first. I suggest C# for basics, it's possible to use it for job logger. Then you will need PHP or another server language.

 

Or you can try TrucksBook and use it for your virtual company if you want ;) http://trucksbook.eu/

  • Upvote 1

Share this post


Link to post
Share on other sites
On 17.07.2017 at 3:04 PM, Domcek_CZ said:

I'm one of the developers of TrucksBook, which is complete application for VTC. Trust me, it took several years to get it into this state and create completely automatic job logger. It's not impossible, but it's long way.

 

But if you want to do it, just do it! It's a great way to learn a lot of things :) . If you don't know any programming language (HTML is not programming language), you should start learning it first. I suggest C# for basics, it's possible to use it for job logger. Then you will need PHP or another server language.

 

Or you can try TrucksBook and use it for your virtual company if you want ;) http://trucksbook.eu/

 

Your TrucksBook, so nice!! :)  

I'm using your TrucksBook http://trucksbook.eu/profile/25230

  • Like 1

Share this post


Link to post
Share on other sites
Guest .::Patrick::.

You can also use https://vtlog.net They got an great logger and good support on discord. 
Install the plugin and you dont need to watch again to log your jobs on the site. 

 

 

Share this post


Link to post
Share on other sites
On 1/10/2018 at 8:42 PM, Guest .::Patrick::. said:

You can also use https://vtlog.net They got an great logger and good support on discord. 
Install the plugin and you dont need to watch again to log your jobs on the site. 

 

 

We use it too. https://discord.gg/afp6gFg

Share this post


Link to post
Share on other sites

Perhaps you could use the scripts and application on this site https://jammerxd.com/ You will need a hosted website with a VTC Manager script. I am not sure there is any support for installations etc. But you can download scripts for App, SDK, and the Client logger.  Good luck with your project 

Share this post


Link to post
Share on other sites

I don't think it's gonna be easy. it would be better to get help from someone who does this job.

Share this post


Link to post
Share on other sites

You can build with basic knowledge a logger. But you will depend on external client. 

 

ETCARS next update (Might not be next) provides you with job pushing. So you only need to receive the data and process it.

VTLOG has an extensive api in beta that allows you to pull nearly all data from them.
ETS2 Telemetry (funbit) can get you started onto looking into a client code.

 

https://etcars.menzelstudios.com

https://vtlog.net (Check discord and get api role to see api-v2 channel)

https://github.com/Funbit/ets2-telemetry-server

 

Feel free to contact me on vtlog discord if you have questions regarding our project.

Share this post


Link to post
Share on other sites

Hello,

Well, to do this you maybe want to use C# with some type of PHP login verification. However, C# doesn't give many UI looks, unless your gonna spend £400+ on bunifu framework. Then once you have the login done, you want it to show the dashboard form, with all the fancy buttons and maybe the FunBit Telemetry server details, with possibly discord rich presence (just because). However, if your wanting to go more extreme, then use ETCars, ETCars doesn't need a external server unlike FunBit Telemetry, however you can find a way to implement the server into the tracker it self (Which I have not been successful in yet).

I've made a fully functional tracker, logger, live map and discord rich presence for ICE Logistics all in C#, PHP, HTML and Javascript. Took a while but it got there in the end.

Hope it goes well, best of luck :wub:

Many Thanks
- Rhys

Share this post


Link to post
Share on other sites
On 6/4/2019 at 8:46 PM, .Rhys. said:

Hello,

Well, to do this you maybe want to use C# with some type of PHP login verification. However, C# doesn't give many UI looks, unless your gonna spend £400+ on bunifu framework. Then once you have the login done, you want it to show the dashboard form, with all the fancy buttons and maybe the FunBit Telemetry server details, with possibly discord rich presence (just because). However, if your wanting to go more extreme, then use ETCars, ETCars doesn't need a external server unlike FunBit Telemetry, however you can find a way to implement the server into the tracker it self (Which I have not been successful in yet).

I've made a fully functional tracker, logger, live map and discord rich presence for ICE Logistics all in C#, PHP, HTML and Javascript. Took a while but it got there in the end.

Hope it goes well, best of luck :wub:

Many Thanks
- Rhys

Not true about C# and the UI,

C# with WPF or UWP can get you some nice looks, there are a bunch of UI Templates/Addons/Themes or whatever you want to call them, and all of them are free .... my personal favorite is MaterialDesignInXAML

 

Just wanted to point that out ¯\_(ツ)_/¯

Share this post


Link to post
Share on other sites

@Aleksa_Djordjic I knew that but they all look quite bad compared to the paid ones. With the one you said, imma try it out. No harm in trying. And I said "doesn't give many UI looks", I never said that you cant get UI looks ;):P

  • True Story 1

Share this post


Link to post
Share on other sites

×