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

User avatar
salessio2
Posts: 1431
Joined: 26 May 2015 23:24
Location: Italy
Contact:

Re: Virtual Speditor Program

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

Very nice work!
ImageImageImageImageImage

User avatar
nIGhT-SoN
Posts: 834
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: 1792
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: 1237
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: 67
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: 1792
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: 1237
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: 534
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#.

User avatar
supric
Posts: 1237
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: 1792
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.

Post Reply

Return to “Others”

Who is online

Users browsing this forum: BRATOK-666, Tassen and 9 guests