Hi all, I am wondering if someone could help me with the above rule. I keep getting the same script error which is below.
I get this script error in both 2009 and 2010 and on the same route, the route is the SNC Sipton to Carlisle route which has been modernised to 1990 standards and I am trying to create a session and obviously with Carlisle being such a big station I need to be able to have something like path rule to be able to set the path for me. Thanks in advance for any help given
JS Setpath Rule
- Itareus
- Past 250!
- Posts: 345
- Joined: Sat Dec 18, 2010 1:40 pm
- Trainz Version: 06/TC3/09/10/12/TANE
- Trainz Build: 4
- Author KUID: 243828
- Location: Cambridgeshire
- Contact:
Re: JS Setpath Rule
JT,
Can you post the KUID of the problem rule please, I always get confused as there are so many rules of this type with similar name. I have used one in complicated trackage situations with great success but, without some checking, I cannot for the life of me remember what it's called - and (which is why I'm asking for the KUID) there was a dodgey version of it on the DLS....
The script error details are, in themselves, meaningless unless you have (and understand) the code.
Cheers
Can you post the KUID of the problem rule please, I always get confused as there are so many rules of this type with similar name. I have used one in complicated trackage situations with great success but, without some checking, I cannot for the life of me remember what it's called - and (which is why I'm asking for the KUID) there was a dodgey version of it on the DLS....
The script error details are, in themselves, meaningless unless you have (and understand) the code.
Cheers
-
- R.I.P
- Posts: 354
- Joined: Sun Dec 12, 2010 3:34 pm
- Trainz Version: TS2009
- Trainz Build: 41844
- Location: Trowbridge, Wiltshire
Re: JS Setpath Rule
Yep can do that here it is kuid2:192081:16:2
Got the first problem sorted, I was going into driver from surveyor. Now another one, this time there is about 3 or 4 trains using the setpath rule and go through fine then another one comes along and its the same train and I get the following error:
Got the first problem sorted, I was going into driver from surveyor. Now another one, this time there is about 3 or 4 trains using the setpath rule and go through fine then another one comes along and its the same train and I get the following error:
- Itareus
- Past 250!
- Posts: 345
- Joined: Sat Dec 18, 2010 1:40 pm
- Trainz Version: 06/TC3/09/10/12/TANE
- Trainz Build: 4
- Author KUID: 243828
- Location: Cambridgeshire
- Contact:
Re: JS Setpath Rule
I would need to check further but I think that that rule is broken in later vesions of TS. From memory - but not confirmed (it will take a bit of digging) the rule set you should be looking at is:
Path Rule,<kuid2:71155:60006:3>
Path Command,<kuid2:71155:60007:4>
Path Library,<kuid2:71155:60008:3>
Autopilot Command,<kuid2:71155:60001:4>
Autopilot Rule,<kuid2:71155:60002:2> - ( ??????? Not sure if this is needed)
It's worth setting up a test route and giving them a try anyway...
Cheers
Chis
Path Rule,<kuid2:71155:60006:3>
Path Command,<kuid2:71155:60007:4>
Path Library,<kuid2:71155:60008:3>
Autopilot Command,<kuid2:71155:60001:4>
Autopilot Rule,<kuid2:71155:60002:2> - ( ??????? Not sure if this is needed)
It's worth setting up a test route and giving them a try anyway...
Cheers
Chis
-
- R.I.P
- Posts: 354
- Joined: Sun Dec 12, 2010 3:34 pm
- Trainz Version: TS2009
- Trainz Build: 41844
- Location: Trowbridge, Wiltshire
Re: JS Setpath Rule
Sorry for the delayed response but the setpath rule you suggested works fine and I have a session running using it. It is just a pitty I can't release the route and session as I put a lot of hard work in but alas I can't so it is just for my own personal use