The International Simutrans Forum

 

Author Topic: Another weird behavior of one-train-staff.O  (Read 369 times)

0 Members and 1 Guest are viewing this topic.

Offline Vladki

  • Devotee
  • *
  • Posts: 3442
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Another weird behavior of one-train-staff.O
« 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)

Online Freahk

  • Devotee
  • *
  • Posts: 1313
  • Languages: DE, EN
Re: Another weird behavior of one-train-staff.O
« Reply #1 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...

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Another weird behavior of one-train-staff.O
« Reply #2 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.

Offline Vladki

  • Devotee
  • *
  • Posts: 3442
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: Another weird behavior of one-train-staff.O
« Reply #3 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

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Another weird behavior of one-train-staff.O
« Reply #4 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.

Online Freahk

  • Devotee
  • *
  • Posts: 1313
  • Languages: DE, EN
Re: Another weird behavior of one-train-staff.O
« Reply #5 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.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Another weird behavior of one-train-staff.O
« Reply #6 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.