Schedule Library in TRS22 Platinum

Schedule Library is working for me in TRS 2022 PE, as long I only use Insert (no Append) and do not have rules including other rules (nested rules).

The last issue is actually a huge problem. I used to split large schedule up in smaller schedules and then just have one schedule including (inserting) the parts.
This no longer works, so a schedule rule can become quite long, which is quite joyfull when you have to edit - potentially - many schedules where you before could just edit the one part needing a fix.
 
Schedule Library is working for me in TRS 2022 PE, as long I only use Insert (no Append) and do not have rules including other rules (nested rules).

The last issue is actually a huge problem. I used to split large schedule up in smaller schedules and then just have one schedule including (inserting) the parts.
This no longer works, so a schedule rule can become quite long, which is quite joyfull when you have to edit - potentially - many schedules where you before could just edit the one part needing a fix.
You can have multiple Schedule Libraries if you need to split them up. I split up rules all the time such as having an inbound then outbound. I put a wait... 20 in between them to allow the commands to load up.

Append never worked even in the olden days it caused weird things to happen such as rules ending up out of order or repeated unexpectedly.
 
Aaahh .. I am gonna try that. Thanks for the tip!

I still cannot make this work ...

I have three schedules:
  • Schedule A: (drive via trackmark A) - (drive via trackmark B) - (drive to station C) - (wait 2 minutes)
  • Schedule B: (drive to portal D)
  • Schedule C: (set destination sign) - (insert schedule A) - (insert schedule B)

Then I performed 3 tests:
  1. I inserted a 20 second delay in schedule C right before the two (insert schedule X) tasks.
  2. I inserted a 20 second delay in both schedule A and B as the first task.
  3. I inserted a 20 second delay in schedule C right before the two insert tasks AND in both schedule A and B as first tasks.
All 3 tests failed horribly: Trainz crashes and exit to the desktop.

Having one shedule combining everything works fine:
Schedule D: (set destination sign) - (drive via trackmark A) - (drive via trackmark B) - (drive to station C) - (wait 2 minutes) - (drive to portal D)

So I am back at square one: only the non-nested schedules seems to work.
Any more tips? :)
 
It sounds like something is not totally right here. (We can't tell right! ;-) )

Try this.
1) Run a database repair since you crashed a few times.
2) When starting up again, use revert instead of continue to ensure that route and session aren't totally trashed.
3) Copy an existing working schedule library if you have one.
Edit the already working schedules by removing the commands and putting in your new ones. Don't delete the actual schedule, otherwise you'll be SOL. You can rename the schedules too.

3) Once you've done this to as many schedules as you need to, set up your driver.

Put in a Wait 20 seconds.
Insert Copy Command from... (Insert Schedule 1).
Wait 20 seconds.
Insert Copy Commands from... (Insert Schedule 2).

Repeat this until all your schedules are done.
Save and test.
 
I started to look for a more underlying reason: older versions and whatever and I think I found the main problem.
For some reason the patch stream was set up to trainz plus - not TRS22 - so I did not ran the latest version of Trainz but rather SP2 (guessing on the number of times I had to look for - and find - an updated patch).

After updating Trainz (and rebuilding database) my test track didn't work at all: train left portal but it was never releasing control to me (to the scripts).
Re-installing schedule library fixed that - and my schedules works now \o/

Thanks again for your input!
 
That's interesting....

I like the reinstalling Schedule Library part. I might try that and see what happens.
 
This is interesting this issue with the Schedule Library, as I have just encountered this issue in Trainz plus.

Thank you, John for advising us on "other solution is to install a fresh copy of Plus..." as a possible work-around.

It is interesting, that this issue didn't come up during Beta testing in the past. I gather N3V maybe looking for more beta testers before the next service pack or hotfix is released.


Tim
Trainz User since: 2002-03 Ultimate Trainz Collection (UTC) v1.5

Trainz member: Nov 2006
Trainz plus
 
This is interesting this issue with the Schedule Library, as I have just encountered this issue in Trainz plus.

Thank you, John for advising us on "other solution is to install a fresh copy of Plus..." as a possible work-around.

It is interesting, that this issue didn't come up during Beta testing in the past. I gather N3V maybe looking for more beta testers before the next service pack or hotfix is released.


Tim
Trainz User since: 2002-03 Ultimate Trainz Collection (UTC) v1.5

Trainz member: Nov 2006
Trainz plus
As a Plus member, you can beta test all you want when a new version is offered. Unfortunately, people somehow missed this one but reported a bunch of other things. Trainz, as you know since you've been here for a while too, is a complex product with so many facets to it that it can be impossible to catch everything.

I noticed with Driver Setup that this suffers from the same issue. This means that this is a code problem with the program and not something with the Schedule Library. I was hoping to find a config file somewhere that held window positions and sizes that could be edited to change the dimensions on the windows but I haven't had any luck.
 
Yes, you are right. The latest Trainz product(s) have become a complex product that is for sure.
Your advice has become invaluable over the last few months. Thank you for it.

Good luck in trying to find a config file that holds the window positions and sizes.

Tim
Trainz User since: 2002-03 Ultimate Trainz Collection (UTC) v1.5
Trainz member: Nov 2006
Trainz plus
 
I am having a problem with my use of the Schedule Library, some schedules disappear. Is there a limit to the number of schedules it can hold?
 
In Trainz22PE I've not had any issues using the Schedule Library in order to test a new route. As I add new track, I send a consist to test it and find anomalies. Using the Library saves having to write the same set of commands over again. I just have to add a few new commands to the existing set or add a new set to extend an existing set.

Session commands stay with the session they were created in. I always carry an existing session forward to stay in sync with the route as I Save-As to keep a history trail. If a new session is created, either deliberately or by accident, any session specific objects, commands, etc. will not be available.
 
Last edited:
Back
Top