Releases: RenCloud/scs-sdk-plugin
V. 1.12.1
V. 1.12
V. 1.11.1 update sdk
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
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 theTelemetryData
-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 ofscs_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
afterlightsReverse
, 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 whenjobDelivered
andjobChancelled
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
- fix of
RemainingDeliveryTime
. Trough positioning ofGameTime
andDeliveryTime
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
theRemainingDeliveryTime
was set, butDeliveryTime
wasn't at that point. - Now we set
GameTime
before and whenDeliveryTime
is set we also setRemainingDeliveryTime
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 theRefuelEvent
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
- only adds new fine cases to the
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
So this is a relative small release. No big changes. Shared Memory is slightly modified.
-
now change
onJob
andjobFinished
with the present ofjobDelivered
andjobChancelled
. 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
fromscs_config_handlers.cpp
andscs_gameplay_event_handlers.cpp
-
now
isCargoLoaded
won't be reseted twiced by callingset_job_values_zero
, instead theplannedDistanceKm
is reseted correctly -
value type changed timestamp is know a
ulong
and not auint
anymore (sdk value isunsigned long long
) -
added 2 new values:
simulation timestamp
andrender timestamp
both areulong
values similar to thetimestamp
-> changes in Shared Memory -
the
update
ortimestamp
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
andonJob
). Why? they could happen if thetimestamp
did not change - if both cases are false we check if the
pause
state change. Why? similar to above thetimestamp
did not change sometimes
- (normal case)
-
Shared Memory Changes:
-
Zone 1 is modified ->
time
change tounsigned long long
,simulatedTime
andrenderTime
added, movedpaused
behindsdkActive
-
V. 1.10.4
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
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.