assest download script errors

netting2010

New member
Hi

I have downloaded some locomotive assets into TS12. When used in a session, these cause script errors. Where do I start looking to correct the problem. If I remove the asset from the session all is good.

Frustratingly yours

Shane Graham.
 
If you post the specific script errors in a post, we can help you better. Different errors get different repair tips so we request the specifics to zero in on this.
 
script error as follows
Thread Exception: ER_NullReference, line 1476, file train.gs
Stack dump:
Function $Permit[]@Train::Take Permit On Track(bool), line-1
Function $void@Train::Init(), line 1548

Shane Graham

p,s. the offending unit/s are unable to be accessed for information, in surveyor with advice that a script error has occurred when downloading.
 
Hi, I am using TRS12 and have download some content and when placed on the track and played i get the error below. Can someone help pls?

Train : Thread Exception: ER_NullReference, line 1476, file train.gs
 
Some content

I've been downloading locomotives since the original post in July, I'm up to 1500 locos and haven't found the one the original poster was talking about yet. There are over 8000 locos on the DLS, so it's going to take a few years.

You're talking about "some content", there's a lot of content on the download station, so I'll probably get back to you in 2150 or thereabouts.

Unless you want to post the KUID of which content you're getting the error from.

http://www.trainsim.com/vbts/showthread.php?302069-My-choo-choo-is-broke
 
Thankyou Shane. Below are the kuid i am having trouble with
[TABLE="width: 96"]



[TR]

[TD="width: 64, bgcolor: transparent"]QR EMU DM[/TD]

[TD="width: 64, bgcolor: transparent"]kuid2:2:72882:201:2[/TD]

[/TR]

[TR]


[TD="bgcolor: transparent"]
QR EMU DT
[/TD]

[TD="bgcolor: transparent"]kuid2:2:72882:203:2[/TD]

[/TR]

[TR]

[TD="bgcolor: transparent"]
QR EMU M
[/TD]

[TD="bgcolor: transparent"]kuid2:2:72882:202:2[/TD]

[/TR]


[/TABLE]
 
The likely issue is that the script and the config do not match. When I am next at my system I will update this post.

Shane (Turner)

EDIT: Due to what is involved, it may be easier to contact the asset creator and point them to this thread.
 
Last edited:
Downloaded the first one, QR EMU DM,<kuid2:72882:201:2>

Ran a test with just that one loco and a couple of ICE cars, no script errors. Check in content manager shows no errors or warnings for the loco or any of the dependencies.

Try deleting all the dependencies, then delete the locos and download again is the only thing I can suggest.
 
This is another example of the trailer in a DMU or EMU unit having the incorrect line:

class Superstub isclass Locomotive {

in its script file.

In CM you need to open the QR EMU M <kuid2:72882:202:2> for edit in explorer, then edit the superstub.gs file replacing the word Locomotive with Vehicle so that the line reads:

class Superstub isclass Vehicle {

Save the file, commit the asset and it should then work.
 
Last edited:
Thankyou Dnevans8,

I have tried that but it hasn't fixed the problem. I have tried everything i can and i cannot get it to work. In the Survey area i can set the destination board and in driver it disappears. The QR EMU Running numbers also don't appear. If you know any other fixes i can use, could you please let me know.

Shane
 
Shane,

If you are also using the QR EMU T kuid2:2:72882:204:2 in you consist you will also need to make the changes mentioned above in that as well.

With those changes the EMU appeared in Driver for me without the script error, however, I did not check the other problems you mention. I will have a look at them again but I am not sure I am up to debugging running numbers and the destination board.

 
Back
Top