thread exception error

arwin48

Member
Trainz 12
I'm looking for help re Thread exception error on the Nec Wilmington-Philadelphia route. The problem is with the turntable, once i insert a move command I get the following error:
"Thread exception ER.Null reference, line 32, file move turntable schedule command.gs.
Stack dump: function $bool@move turntable custom command::ex"
I've ensured the text rule is correct in the input message box but to no avail. How do I correct the error to get the turntable to move.
 
What version or Trainz? What build number?
Are all the assets involved updated to the latest version?
What is the kuid of the asset you thing is causing the error?
 
What version or Trainz? What build number?
Are all the assets involved updated to the latest version?
What is the kuid of the asset you thing is causing the error?

yes all assets are up to date, the kuid is : 131986:180156:1 by alilabarut

Trainz 12 Build 61388

Thanks
 
yes all assets are up to date, the kuid is : 131986:180156:1 by alilabarut

Trainz 12 Build 61388

Thanks

Can anybody help with this thread, surely someone in the Trainz community must have got their head around scripting to analyze the problem.
plz help.
 
Did you edit the rule and download the prerequisite?

Asset description said:
As a prerequisite, you need to download and install 'InputTable' rule (kuid:131986:1012) from DLS. Then, edit this rule and enter the following on a new line:
turntable, turntable_name, number_of_stops
where turntable_name denotes the name of the turntable object in Surveyor and number_of_stops is thel number of stop positions (minimum 2) in the turntable.
Ex: turntable,Turntable 1, 10 (name of the turntable is 'Turntable 1' and the number of stop points around the turntable is 10)
Once this statement is entered in the 'InputTable' rule, you will notice that the name and the stop numbers (listed as 0,1,2,...) is seen in the menu of MoveTurntable command in the driver setup rule. This menu also includes 'next' and 'prev' options to move the turntable incrementally, if desired. Choose a turntable and one of its available stops that you wish turntable to move and assign this operation to one of the drivers using the turntable. Note that the turntable stop numbers are ordered in the clockwise direction and it starts with 0 as being the the default turntable stop.
 
Make sure the entry in the input table rule is correct. There should be no spaces, except in the name of the turntable if required. The entry is case sensitiv. The entry should look like:
turntable,MyTurntable 1,10
MyTurntable 1 - name given to the turntable in surveyor, not the asset name
10 - number of stop positions of the turntable

Peter
 
Make sure the entry in the input table rule is correct. There should be no spaces, except in the name of the turntable if required. The entry is case sensitiv. The entry should look like:
turntable,MyTurntable 1,10
MyTurntable 1 - name given to the turntable in surveyor, not the asset name
10 - number of stop positions of the turntable

Peter
Thank you for your replies but still cant get it to move. I entered the instruction as per your example. In my case "turntable, wilmingtonroundhouse, 50"
The error message that popped up stated "Train:Turntable.move to stop>this turntable does not have the requested stop(file turntable.gs)(1)"

Have I entered the correct statement in the input table or is the error somewhere else.
Many thanks
 
Back
Top