Im trying to learn how to use the path rule. I have one path set up with 2 yards. When one of the yards (not sure which one at this point), is triggered it gives me a red bug with the following script:
Thread Exception: ER_NullReference, line 299, file path.gse
Stack dump:
function $void@Path::lock_path(ExtPermit), line -1
function $int@Path::set_path(Train), line 464
function $bool@PathCommand::lock_path(), line 118
function $bool@PathCommand::init(int,Path,Train,Trackside), line 84
function $PathCommand@PathCommandMap::create_command(Path,Train,Trackside), line 341
function $PathCommand@PathCommandMap::create_command(Path,Train), line 332
function $string@CreatePathCommand::execute(string[],GSObject[]), line 1215
function $string@LibFunctions
rocess(string,string[],GSObject[]), line 97
function $string@PathLibrary::LibraryCall(string,string[],GSObject[]), line 184
function $string@PathLibrary::call(string,string[],GSObject[]), line 122
function $PathCommand@PathLibrary::create_command(Path,Train), line 269
function $bool@PathCustomCommand::Execute(Train,int,int,int), line 48
function $void@Train::RunSchedule(Schedule,bool,float), line 1955
Anyone able to explain to me in simple terms what is happening and how to correct it please? Thank you.
Thread Exception: ER_NullReference, line 299, file path.gse
Stack dump:
function $void@Path::lock_path(ExtPermit), line -1
function $int@Path::set_path(Train), line 464
function $bool@PathCommand::lock_path(), line 118
function $bool@PathCommand::init(int,Path,Train,Trackside), line 84
function $PathCommand@PathCommandMap::create_command(Path,Train,Trackside), line 341
function $PathCommand@PathCommandMap::create_command(Path,Train), line 332
function $string@CreatePathCommand::execute(string[],GSObject[]), line 1215
function $string@LibFunctions

function $string@PathLibrary::LibraryCall(string,string[],GSObject[]), line 184
function $string@PathLibrary::call(string,string[],GSObject[]), line 122
function $PathCommand@PathLibrary::create_command(Path,Train), line 269
function $bool@PathCustomCommand::Execute(Train,int,int,int), line 48
function $void@Train::RunSchedule(Schedule,bool,float), line 1955
Anyone able to explain to me in simple terms what is happening and how to correct it please? Thank you.