View Full Version : Central Portal Control Problem
Capt_Haddock
December 21st, 2006, 03:21 PM
I am using this to control 4 portals that are set up to emit trains only.
It is much easier to set up with consists and driver schedules than the individual Portals themselves but I can’t get it to work correctly.
It emits a train from the first portal as planned but no trains are emitted from the other three at all. After a while it throws up the following “none fatal error” message:
Null object at parameter 1
Stack dump:
function $DriverCharacter@World:AddDriverCharacter(Asset),l ine -1
function $void@PortalTunnel::emitTrain(Soup), line 571
function $void@PortalTunnel::CheckEmitTrains (), line 926
function $void@PortalTunnel::ThreadEmitTrains(), line 905
What does this all mean and how do I put this right please?
Chris
ARCHAR
December 21st, 2006, 06:37 PM
Hi Chris
I had problems with Portals working properly especialy if the portals are set to diffrent types of settings eg emit trains rerail new train etc
best to set them up all the same
the one i found to work properly was the rerail portal
the first line on the script error is that it cannot find the driver requested or you did not click on driver pic to select new driver when setting as some times if you leave it on default it will spit the dummy
my favourite set up is emit train rule were you can pick a train on demand realy good to test new routes drivers consists etc
the rest of the lines on script wont work because of the error in the first line hope this will help
Archar
Capt_Haddock
January 13th, 2007, 05:13 PM
I think that I might have solved it myself by actually following the instructions that come with the rule.
My drivers were following schedules copied from the "Schedule Library". It is important to put a 5 or 10 second delay at the start of the schedule to give the driver a chance to copy the rules after being emited by the Portal.
Chris
segy
February 27th, 2007, 02:07 PM
Hi Chris
Are you using this with TRS2006?
Where did you find those instructions for the rule please?
Are you able to use CPC Emit Train command?
Thanks
Segy
ish6
February 27th, 2007, 06:28 PM
Hi guys
Steve is the creator of CPC!!
If you are using it with TR06 the rule will not work ....
I will drop him an e-mail about this, but honestly I have not seem him in the forum for some time now!!
Ish
segy
March 25th, 2007, 12:38 AM
Actually ish I am using it reasonably successfully with TRS2006. Occasionally there's a problem after a train had disappeared into a portal but apart from that it is working fine. Also using Emit train on Event / Trigger too.
Segy
ish6
March 25th, 2007, 01:09 AM
Actually ish I am using it reasonably successfully with TRS2006. Occasionally there's a problem after a train had disappeared into a portal but apart from that it is working fine. Also using Emit train on Event / Trigger too.
Segy
Wow .... you are one of the lucky one's then ... I talked to Steven a while back (He left trainz, but he'll be back), and the rules are not compatible with TR06... Due to real life he has not gotten around to fixing those errors ...
Ish
vBulletin® v3.6.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.