The International Simutrans Forum

Simutrans Extended => Simutrans Extended Development => Topic started by: Vladki on July 22, 2020, 10:06:20 PM

Title: Another weird behavior of one-train-staff.O
Post by: Vladki on July 22, 2020, 10:06:20 PM
Have a look at Stephenson-Siemens, player Freahksbus Line U20 Brambleton East, sliced view at level -7.
There was a deadlock, which I resolved manually and when looking for the cause I found this weird behavior:
There are two underground staff boxes at (567,744) and (567,745). The train enters the section normally, reverses at Brambleton Bridge Railway station, but when leaving Brambleton Corner on the way back it turns to Track circuit block, and leaves the track behind reserved. It is not cleared until the train passses another staff box at (558,750). The same happened at Brambleton Picadilly on the way back. In an attempt to fix it I put an end of signalling sign at (557,752). All it does is that the trains switch to drive by sight already after reversal at Brambleton Railway station (555,758)
Title: Re: Another weird behavior of one-train-staff.O
Post by: Freahk on July 22, 2020, 10:11:28 PM
Ah that one, yes I remember rebuilding the light rail recently and couldn't resolve that issue either, so I just left the game.
one train staff still being the only long-block type available underground...
Title: Re: Another weird behavior of one-train-staff.O
Post by: jamespetts on August 14, 2020, 06:23:28 PM
I am afraid that I cannot find Brambleton East - has the railway been reconfigured in this area?

I do strongly discourage using server games as reproduction cases because they are inherently variable, whereas as reproduction case needs to be static.
Title: Re: Another weird behavior of one-train-staff.O
Post by: Vladki on August 18, 2020, 08:34:11 PM
"U20 Brambleton East" is the name of line, not station. You can see the behavior in this save:

http://list.extended.simutrans.org/~simutrans/debug-saves/industry-roads.sve
Title: Re: Another weird behavior of one-train-staff.O
Post by: jamespetts on August 19, 2020, 08:01:20 PM
Thank you for that. I believe that I have now fixed this; I should be grateful if you could re-test with the next nightly build.

However, I should note that the Brambleton Railway Station to Brambleton Piccadilly line seems to have relied on this error and is missing an exit one train staff cabinet, which causes further problems and deadlocks. This will need to be resolved in the game after the application of this fix.
Title: Re: Another weird behavior of one-train-staff.O
Post by: Freahk on August 19, 2020, 08:45:37 PM
Well it was deadlocking when the signalling was set up properly. Thankfully Vladki figured that weird setup out, which at least fixed the deadlocking.

So for sure the setup will be fixed. Cannot promise that I'm able to test it tomorrow.
Title: Re: Another weird behavior of one-train-staff.O
Post by: jamespetts on August 19, 2020, 09:08:29 PM
Well it was deadlocking when the signalling was set up properly. Thankfully Vladki figured that weird setup out, which at least fixed the deadlocking.

So for sure the setup will be fixed. Cannot promise that I'm able to test it tomorrow.

Do not worry - whenever you are able to test it would be helpful. Thank you.