ATLS System Doesn't Works (FIXED)

Posted by Boat

Default Issue with SerialiseGameObjectIDFromString()
I've just come across an issue with SerialiseGameObjectIDFromString() which may be of interest.

I use that function in ATLS when I post a GameObjectID identity as a string. The function reconstitutes the GameObjectID.

However in the latest version of TRS22, build 122418 it fails if the saved name of the asset involved contains a comma.
It looks like commas are used as delimiters in the string version of the GameObjectId. In previous versions of Trainz that did not bleed over into the name of the asset. But it now seems to.

Something to beware of unless N3V can do a fix.

Boat
 
how does it work for you? none of the crossings and the traffic lights work for me. It never has had a comma in the name and I never put one there

Well, for example

I start with 2 of these;
<kuid2:647907:101782:2> Grade Xing NRC LED Gated 2L CDE

and 2 of these;
<kuid2:76656:500017:4> ATLS Traffic Stopper

Then connect them with this track;
<kuid2:122285:1003:2> AJS Track Eraser

Then place this on the Track Eraser in the center of it all;
<kuid2:76656:500041:7> ATLS Controller/Slave TRS19

Then place 4 triggers 2 close and 2 far away on the xing track;
<kuid2:76656:500016:15> ATLS Trigger TRS19

The controller and the triggers must be on the same channel and each asset must have a unique name. I use this convention;
ATLS Controller 1234
ATLS Trigger 1234A
ATLS Trigger 1234B
ATLS Trigger 1234C
ATLS Trigger 1234D

Where 1234 is the channel number. The controller for this example is set for 2 way train running, 'Advanced' and you must have it look 2 objects ahead, and 2 objects behind. If you add more then 2 objects in either direction like flashing ATWS signs or relay box flashing becons, you will need to add this to the track eraser track;
<kuid2:76656:500040:4> ATLS Slave Trigger TRS19

If you need more help, feel free to reach out
 
Ok for the Crossings, the gates never go up like how they are supposed to when you place them, and for the traffic lights they just sit on green and do nothing

I am setting everything up correctly
 
Right now im using 2 assets for traffic lights, it just sits there and does nothing
<kuid2:76656:500028:3> ATLS Lights USA (DD) TRS19
<kuid2:76656:500010:21> ATLS CONTROLLER TRS19
 
Right now im using 2 assets for traffic lights, it just sits there and does nothing
<kuid2:76656:500028:3> ATLS Lights USA (DD) TRS19
<kuid2:76656:500010:21> ATLS CONTROLLER TRS19
Do you have any triggers or traffic stoppers?

Also the lights are 3.0 and the controller is version 3.1, don't know if that mkes any difference
 
Do you have any triggers or traffic stoppers?

Also the lights are 3.0 and the controller is version 3.1, don't know if that mkes any difference
I don't have triggers or traffic stoppers

"Note – ATLS V2.7 and V3 will not work together. TRS19 users should update all assets to V3"

What would be the number that is 3.0 of the controller?
 
Ok I just found something new, everything works in driver mode, but not in surveyor. Back in Trainz A New Era and TS12, everything works in driver and surveyor.
 
Right now im using 2 assets for traffic lights, it just sits there and does nothing
<kuid2:76656:500028:3> ATLS Lights USA (DD) TRS19
<kuid2:76656:500010:21> ATLS CONTROLLER TRS19
No animations work in surveyor mode, they are all paused until you enter driver and release the pause.
 
You can unpause Surveyor too by clicking on the tools icon (the wrench/spanner) icon and clicking on Pause to unpause it.
 
Back
Top