Jump to content

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.

 

 

 

Link to comment
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
Link to comment
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.

Link to comment
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 1
Link to comment
Share on other sites

  • 3 weeks later...

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
Link to comment
Share on other sites

  • 5 months later...
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

76561198137570016.pngAddFriend.png

1

 

 

                                                                                       

 

Link to comment
Share on other sites

  • 1 year later...

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 

Link to comment
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.

"We're on the world to help each other. Atleast that is what I believe." - The Fabby

 

https://vtlog.net - Independed logger by truckers like yourself.

Link to comment
Share on other sites

  • 4 weeks later...

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

TruckersMP_Signature2.png?width=1442&hei

 

 

Link to comment
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 ¯\_(ツ)_/¯

Link to comment
Share on other sites

×
×
  • 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.