Upcoming Games

No games to display

Full list
Add a game

Upcoming Events

No events to display

Simplifer and undefined trains

You are here: Home > Forum > General > General questions, comments, and issues > Simplifer and undefined trains

Page 1 of 1

Simplifer and undefined trains 02/06/2015 at 20:31 #72967
Danny252
Avatar
1461 posts
If you attempt to create a simplifier which includes an activity involving a UID for which no train is yet defined, the simplifier will generate an error message (e.g. train 1Z00 at the station has an activity of "N: $W00000", with $W00000 not yet being defined). Presumably this is because Simsig is trying to reference a nonexistent timetable when looking for a TD to insert in the activities column.

Whilst obviously a slightly strange case, it's occasionally useful to pull up a simplifier whilst writing a timetable. Perhaps some code could be put in to give a blank TD, similar to what the TT editor shows for an undefined UID activity?

I doubt it's required, but for completeness the error is an access violation at address 0x00505C87, with an attempted read of address 0x4 (looks like an uninitialised pointer to a TT, unsurprisingly).

Last edited: 02/06/2015 at 20:33 by Danny252
Log in to reply
Simplifer and undefined trains 02/06/2015 at 22:46 #72971
postal
Avatar
5197 posts
" said:
If you attempt to create a simplifier which includes an activity involving a UID for which no train is yet defined, the simplifier will generate an error message (e.g. train 1Z00 at the station has an activity of "N: $W00000", with $W00000 not yet being defined). Presumably this is because Simsig is trying to reference a nonexistent timetable when looking for a TD to insert in the activities column.

Whilst obviously a slightly strange case, it's occasionally useful to pull up a simplifier whilst writing a timetable. Perhaps some code could be put in to give a blank TD, similar to what the TT editor shows for an undefined UID activity?

I doubt it's required, but for completeness the error is an access violation at address 0x00505C87, with an attempted read of address 0x4 (looks like an uninitialised pointer to a TT, unsurprisingly).
Found the same thing a couple of weeks ago and reported it on the bug board. Returned as resolved in the next release of the loader.

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
Simplifer and undefined trains 03/06/2015 at 01:14 #72972
GeoffM
Avatar
6292 posts
Yes, an annoying schoolboy error, fixed in seconds. It was trying to resolve the UID into a headcode and, not finding one, still trying to access its ID anyway. :doh
SimSig Boss
Log in to reply
Simplifer and undefined trains 03/06/2015 at 11:20 #72980
Danny252
Avatar
1461 posts
" said:
Yes, an annoying schoolboy error
I wasn't cruel enough to call it such, but... :whistle:

Last edited: 03/06/2015 at 11:20 by Danny252
Log in to reply