Error Thread Exception: ER_NullReference, line 1366, file train.gs

Hello Sniper297,

Thank you for the extra info.

On the test-route I placed several locomotives, without connecting the I10 wagons to anyone of them. This will be a test to do and see if I still have those scripting exceptions.

Best regards

Kurt :wave:

Hello Sniper297,


I tried the test with the locomotives connected with the several versions of the I10 wagons.

Result : When the I10 wagon is connected to the locomotive, no script exception is received. When I remove the locomotive, and keep the I10 wagon, the script exception appears in the right corner of the screen.

Best regards

Kurt :wave:
 
These cars use a (modified) script written for a control car. The following changes will solve the script problem:

Code:
include "locomotive.gs"
class LMS_4P460 isclass Locomotive

change to

Code:
include "vehicle.gs"
class LMS_4P460 isclass Vehicle
Peter
 
Last edited:
These cars use a (modified) script written for a control car. The following changes will solve the script problem:

Code:
include "locomotive.gs"
class LMS_4P460 isclass Locomotive

change to

Code:
include "vehicle.gs"
class LMS_4P460 isclass Vehicle
Peter

Hello Peter,

Thank you for your answer and solution concerning the script problem :Y:.

Tonight, I will execute the code changement for all concerned wagons.

Best regards

Kurt :wave:
 
Back
Top