Skip to content

Releases: RenCloud/scs-sdk-plugin

V. 1.12.1

21 Sep 15:07
d7216cb
Compare
Choose a tag to compare

Fix: check against race condition while converting data #110 #117

This should make debugging possible (finally #37) and should fix sometimes happening crashes for some.

V. 1.12

11 Nov 11:59
Compare
Choose a tag to compare

This release does not contain changes to the prior 1.11 update 1 release. Only the version was updated, due to changes in the memory offset. This should make it more clear that both sides need to be updates for all values to work correctly.

V. 1.11.1 update sdk

05 Nov 13:29
Compare
Choose a tag to compare

⚠️ Changes on the trailer structure ⚠️

Mostly small update for the updated SDK. The rest is just a small cleanup.

Next Version will be a bigger change. Beside functionality (Linux and macOS support through changing the communication method between the game and the client). I also try to fix my inconsistency in the project overall (code style, commits, version numbering, etc.). However, I still can't promise a date for that change, but hope that I can present a first step combining some of the open PRs and issues in a not so long time.

Update Changes

Update SDK to 1.14

  • remove example projects from SDK directory
  • add trailer body wear
  • add multiplayer time offset

Not added:

  • create custom inputs

Dependencies

  • Update c++ platform tool set to v143

V. 1.11 Update SDK to 1.13 and event flag changes

25 Aug 19:26
Compare
Choose a tag to compare

Important Changes

  • most of the flags for events will now be flip indicator. (onJob and refuel flags are not changed)
    • Old Way: true -> event fires, after short time flag is changed to false
    • New Way: state change -> event fires, state unchange -> no event
  • so the event itself does not change, however, the indicator flag change

Other things

  • some minor code changes
  • rev change to 11
  • newTimestamp of the TelemetryData-Event is deprecated and will be removed in a later release

Rev Pre 11

  • update .net Version to 4.8
  • update C++ Platform Tools to v142
  • update sdk to 1.13, remove old sdks, current sdk is now placed in scs_sdk instead of scs_sdk_{version}
    • Only a few changes: 5 new Truck values (see below)
  • update readme.md

New Values

  • Hazard Warning (Ets2/ATS 1.41)
  • Differential Lock (Ets2/ATS 1.41)
  • Lift Axle and Indicator, Trailer Lift Axle and Indicator (Ets2/ATS 1.41)

Shared Memory Changes

  • 5th Zone added lightHazard after lightsReverse, changing offset of the following 7 values
  • 5th Zone added the differential lock and lift axle values (5 new values). Placed after shifterToggle, changing offset of the following 2 values

Missed Rev 10 Update 7 released

  • fix (again) of the onJob, jobFinished flag when jobDelivered and jobChancelled happens. (see Rev 10 Update 5)

plus additional hotfix:

  • fix resetting job values when using a train

V. 1.10.6 Update SDK to 1.12 and fixed some bugs

12 Jul 07:33
Compare
Choose a tag to compare
  • fix of RemainingDeliveryTime. Trough positioning of GameTime and DeliveryTime in the shared memory, this value was never calculated. #66
    • To avoid broke other stuff that use this or the shared memory, the shared memory layout wasn't change
    • Before when setting the GameTime the RemainingDeliveryTime was set, but DeliveryTime wasn't at that point.
    • Now we set GameTime before and when DeliveryTime is set we also set RemainingDeliveryTime which also makes much more sense.
  • fix that the gameplay events are called before the data is updated. Now the data is updated and then events are called.
  • the amount by the RefuelEvent should now delivere better values (sometimes it was a tick behind, that shouldn't be the case anymore).
  • fix that JobCancelledEvent is called when a profile is changed, but had an active job (seems to happen on the first profile change).

SDK Changes

  • Update to 1.12
    • only adds new fine cases to the FinedEvent

known issues

  • when changing the profile or truck an RefuelPayedEvent can be called. I thought i fixed it, but i need to rethink how to

Shared Memory Changes

  • Because new fine values can be longer than before (instead of 16 Byte it is now 32 Byte) some values moved at the end of Zone 9.
    • ferry and train event values

V. 1.10.5 Small Release with some changes and 2 new Values

07 Apr 07:53
Compare
Choose a tag to compare

So this is a relative small release. No big changes. Shared Memory is slightly modified.

  • now change onJob and jobFinished with the present of jobDelivered and jobChancelled. Before it is changed after leaving the experience screen or sometimes when enter drive mode.

    • Job values are also reseted directly with the event
  • remove variable i from scs_config_handlers.cpp and scs_gameplay_event_handlers.cpp

  • now isCargoLoaded won't be reseted twiced by calling set_job_values_zero, instead the plannedDistanceKm is reseted correctly

  • value type changed timestamp is know a ulong and not a uint anymore (sdk value is unsigned long long)

  • added 2 new values: simulation timestamp and render timestamp both are ulong values similar to the timestamp -> changes in Shared Memory

  • the update or timestamp bool of the Data Event is now for some special cases also set to true:

    • (normal case) timestamp change
    • one of the critical events values change (jobDelivered , jobCancelled, Train, Ferry and onJob). Why? they could happen if the timestamp did not change
    • if both cases are false we check if the pause state change. Why? similar to above the timestamp did not change sometimes
  • Shared Memory Changes:

    • Zone 1 is modified -> time change to unsigned long long, simulatedTime and renderTime added, moved paused behind sdkActive

V. 1.10.4

08 Mar 18:37
91626fc
Compare
Choose a tag to compare

A bit delayed, but now there. A fresh build version and code in master.
There are some changes, which you can see in changelog.md.
Short overview:

  • add refuel end and payed event
  • add start and end time to jobdelivered and jobcancelled events
  • remove memset from shutdown
  • some Shared Memory Changes
  • there is a known Bug #55

In the future the minor releases are probably smaller and faster.

V.1.9.0

12 Feb 19:25
Compare
Choose a tag to compare

A lot changes in comparison to the last nlhans release. Most imported? Structure changes, Job indicator fixed, added trailer connected indicator .... initial logger functionality but not in the demo. It will come with next release.
Look in readme for the new structure.
Also should it happen that strings seems to be wrong, try to use the compiled dll in this release. Still not working? Open a issue.

Also more changes and logging features will come in next releases and may some more. That will be coming around april. Until then only fixes will come, because i don't have a lot time to add that big things before that.

So i hope that when the strings are still incorrect for some that it works with the precompiled version in this release.