Virtual Speditor Program - Job scheduler program (Upd. 08.04.2025)

Forum rules
SCS as a company do not wish to have paid mods on this forum. While we understand that not all paid mods use the Intellectual Property of other companies/people, it is very hard to moderate what is and isn't acceptable when money is involved. There are also concerns that it could look unfavorable to potential work partners going forward if SCS allow mods that may potentially use unlicensed branding.
Posting in the Mods forum (ATS and ETS2) is restricted to sharing free-to-the-public mods and providing support for mods. For more details, please check the Forum Rules.
User avatar
salessio2
Posts: 1147
Joined: 26 May 2015 23:24
Location: Italy

Re: Virtual Speditor Program

#31 Post by salessio2 » 26 Jan 2016 11:14

Very nice work!
User avatar
nIGhT-SoN
Posts: 390
Joined: 20 Dec 2012 15:00
Location: Romania

Re: Virtual Speditor Program

#32 Post by nIGhT-SoN » 26 Jan 2016 12:53

This is really cool although it requires Java.

Great job!
User avatar
xyzan
Posts: 2449
Joined: 30 Jan 2015 19:36
Location: Warsaw, Poland

Re: Virtual Speditor Program

#33 Post by xyzan » 27 Jan 2016 14:29

Most probably it will not require java in future... I just need to rework decoding and integrate it with my program... But this might take a while.

I've added new feature - it allows you to add cargo from outside of job market. You can add trailer with cargo, but not attached to any of companies - just for your own :D
Then, editing cargo.fil (included), you can add that to your save - this is powerful, but risky, as you entering stuff to your save game that where not there earlier. You need to know what are you doing!
User avatar
supric
Posts: 1078
Joined: 08 Jun 2013 09:44
Location: Russia, Tula

Re: Virtual Speditor Program

#34 Post by supric » 27 Jan 2016 14:48

xyzan wrote:Most probably it will not require java in future... I just need to rework decoding and integrate it with my program... But this might take a while.
Can you share a procedure or method?
WarDog669
Posts: 29
Joined: 27 May 2015 19:45

Re: Virtual Speditor Program

#35 Post by WarDog669 » 27 Jan 2016 17:23

Good tool.

I have strange bug, it all ways give me the same price for all kind of distances:

I have added Wien-Bratislava 19t of flour cargo(65km drive)= price 79K
and same cargo(19t flour) but to Budapest(291km) = price 79K.

The $$/km the same as "standart" cargo but the total income is huge even for 50% bonus
WarDog669
WOTR
User avatar
xyzan
Posts: 2449
Joined: 30 Jan 2015 19:36
Location: Warsaw, Poland

Re: Virtual Speditor Program

#36 Post by xyzan » 27 Jan 2016 21:23

@WarDog669 - this is not a bug - it is written in first post why is that. I have no distances between cities, so I've set distance as 3000km - this distance is used for calculation of:
1. payment
2. delivery time
if I'll put it to low, then delivery time will be to short for longer routes, but if I put it to high, then payment for short distances is to big... It is matter of trade off. If someone has a table of distances between all cities in ETS (with mods like ProMods, TSM, RusMap, and all of them) then I can try to implement this, so the payment will be adequate to distance.
supric wrote:
xyzan wrote:Most probably it will not require java in future... I just need to rework decoding and integrate it with my program... But this might take a while.
Can you share a procedure or method?
This is this tool written in java I used as an external tool. I need to rewrite it to C#. Source code of this tool is inside the jar file
viewtopic.php?f=34&t=164103
User avatar
supric
Posts: 1078
Joined: 08 Jun 2013 09:44
Location: Russia, Tula

Re: Virtual Speditor Program

#37 Post by supric » 28 Jan 2016 06:13

You can read job market list from savegame. Then, if you'll find any job between certain cities - you can use it's distance. Of course, it will be approximation, but it will be close to real value.

Exact distance between companies stored somewhere in map files.
User avatar
Sniper
Posts: 122
Joined: 07 Dec 2012 18:00
Location: The other side

Re: Virtual Speditor Program

#38 Post by Sniper » 28 Jan 2016 06:38

@xyzan:
About decrypting the saves - If you want, I can provide you a DLL that you can use instead of that java utility.
It is written in pascal, but exports normal functions (no managed types...) so you can use it in C#. Only thing you have to do is write your own bindings, because I know next to nothing about C#.
GitHub: https://github.com/TheLazyTomcat
Programs download: https://www.dropbox.com/sh/lhz3m1n56ed7 ... 7c3ea?dl=0

If anyone will be contacting me, please be notified that I might not be able to respond for several months. Or at all.
User avatar
supric
Posts: 1078
Joined: 08 Jun 2013 09:44
Location: Russia, Tula

Re: Virtual Speditor Program

#39 Post by supric » 28 Jan 2016 07:18

Sniper:
Can you share source code in pascal? I'm working on savegame editor in XE2, so it will be fine to make it without any additional external files.
User avatar
xyzan
Posts: 2449
Joined: 30 Jan 2015 19:36
Location: Warsaw, Poland

Re: Virtual Speditor Program

#40 Post by xyzan » 28 Jan 2016 10:19

@sniper: can you PM me this dll? I will look at this. I'm not happy using external program while decoding. This could help me with decoding it internally without rewriting java code.

@supric: save editor? You don't have to add jobs there now :D What are you planning to add there? Editing trucks, accessories, or it won't go that far?
I was thinking of adding some editing possibilities earlier... But I don't think I will.

Return to “Others”

Who is online

Users browsing this forum: BRATOK-666, CCBot [Bot]