ets2-telemetry-server icon indicating copy to clipboard operation
ets2-telemetry-server copied to clipboard

SDK 1.6 available

Open jammerxd opened this issue 8 years ago • 16 comments

Hello, How would one go about updating the sdk to 1.6?

jammerxd avatar May 29 '16 05:05 jammerxd

Hello, I don't see anything new in the 1.6, they just added a constant related to the ATS version. The rest stuff hasn't changed (at least looking at the headers). This is the release I'm talking about: http://modding.scssoft.com/wiki/Documentation/Engine/SDK/Telemetry

Funbit avatar May 29 '16 06:05 Funbit

Was wondering if using that might help the trailer reset issue. I have also figured out WHY it is happening.

When the trailer is disconnected, the navigation distance briefly gets reset to 0 by SCS, but it's only for a fraction of a second. When the trailer is reconnected, the navigation distance resumes it's calculation.

jammerxd avatar May 29 '16 06:05 jammerxd

Yea, I know the root of the problem as well. The most robust way to fix it would be to temporarily buffer job information before reset (as explained here https://github.com/Funbit/ets2-telemetry-server/issues/86 ). I'm sorry for the next release delay, it is a very busy month for me. Trying to do the best.

Funbit avatar May 29 '16 06:05 Funbit

Is that the root of the issue as I explained above or can you go into more details(I might be able to make a solution for you)?

jammerxd avatar May 29 '16 06:05 jammerxd

Pretty much it is, but I believe I will manage to fix it today and release a new version with the updated plugin. But testing is what takes time most.. :(

Funbit avatar May 29 '16 06:05 Funbit

If you get that new version released, I will test it for you since I've got some major projects that rely on the ability to detect when a job is truly done. :)

jammerxd avatar May 29 '16 06:05 jammerxd

That would help, thanks. I'll post here as soon as the fix is ready for testing then!

Funbit avatar May 29 '16 06:05 Funbit

Actually, I did manage to fix it! I made the new job statement it's own if statement instead of else if then I took the job finished section and added it to the end of the paused event and added a check to see if the game was paused and bam! problem solved! Now as long as people are NOT within 500m when they disconnect their trailer AND pause the game, everything should be fine!

jammerxd avatar May 29 '16 07:05 jammerxd

Glad to hear that, but it would better to fix the plugin anyway :)

Funbit avatar May 29 '16 07:05 Funbit

@dualznz, @jammerxd server-3.2.6-test.zip Could you please test this version? (just overwrite the files from 3.2.5 version) Thanks

Funbit avatar May 29 '16 12:05 Funbit

sure no problem ill test this out tonight

dualznz avatar Jun 14 '16 04:06 dualznz

na the constant still resets on trailer disconnect, i just teseed it in both platforms, running 3.2.6 test

dualznz avatar Jun 14 '16 04:06 dualznz

@dualznz Hmm, are you sure? The job info should reset when you disconnect the trailer, however it must restore as soon as you connect it back. Also, can you please confirm that plugin DLL files were overwritten? The bug fix was inside the DLLs...

Funbit avatar Jun 14 '16 04:06 Funbit

righto ill reset the dll extensions

dualznz avatar Jun 14 '16 04:06 dualznz

ok well yup i can confirm it is allowing the reload of the data fine.

dualznz avatar Jun 14 '16 04:06 dualznz

Okay, thank you, I will include this fix in the next release then.

Funbit avatar Jun 14 '16 05:06 Funbit