Upcoming Games

No games to display

Full list
Add a game

Upcoming Events

No events to display

Seeded Down trains

You are here: Home > Forum > General > General questions, comments, and issues > Seeded Down trains

Page 1 of 1

Seeded Down trains 23/04/2014 at 05:54 #59367
Forest Pines
Avatar
525 posts
Hello,

I was studying the timetable file supplied with the latest version of Stafford and noticed something which seemed to be a bit of an inconsistency

If a train enters at one of the southern entry points (say, Bushbury Jn) and travels through the sim in the down direction, each timing point has three flags to say that the train is a down train (before it passes, as it passes and after it passes, as far as I can tell).

However if a train is seeded somewhere along the same route, travels through the sim in the down direction and exits at the same location, none of those flags are present. An example in the default Stafford timetable is 4S88.

Essentially, what I'm asking is: is this a bug or a feature? And is it sim-dependant or does it apply to all Loader sims?

Log in to reply
Seeded Down trains 23/04/2014 at 11:42 #59389
clive
Avatar
2738 posts
" said:
If a train enters at one of the southern entry points (say, Bushbury Jn) and travels through the sim in the down direction, each timing point has three flags to say that the train is a down train (before it passes, as it passes and after it passes, as far as I can tell).

However if a train is seeded somewhere along the same route, travels through the sim in the down direction and exits at the same location, none of those flags are present. An example in the default Stafford timetable is 4S88.

Essentially, what I'm asking is: is this a bug or a feature? And is it sim-dependant or does it apply to all Loader sims?
Neither: it's internal information which probably ought not to be displayed except in debugging versions. (Indeed, I thought it wasn't. Or are you reading the raw XML?) It's synthesised as the sim runs, and the values in the timetable file are ignored.

Log in to reply
Seeded Down trains 23/04/2014 at 12:34 #59395
Forest Pines
Avatar
525 posts
I should have explained, I'm reading the XML.

I'm writing a timetable formatter which is intended to be sim-agnostic, and therefore those flags are very useful in deducing the network topology from the timetable contents.

Log in to reply