The International Simutrans Forum

 

Author Topic: [Bug] token block track reservation at dead end tracks  (Read 2687 times)

0 Members and 1 Guest are viewing this topic.

Online Freahk

  • *
  • Posts: 956
  • Languages: DE, EN
[Bug] token block track reservation at dead end tracks
« on: August 22, 2019, 05:03:57 PM »
Hey there,
As the doc states, token block reserves the whole route until the next signal.
This seems to be true unless the train reverses. In this case the track is only reserved to the station where the train reverses When it continues, it will reserve tiles that were not yet reserved when entering these. These keep reserved until the whole token block is cleared.
In some cases this can cause collisions.
« Last Edit: January 18, 2020, 08:01:23 PM by Freahk »

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19682
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [Bug] token block track reservation at dead end tracks
« Reply #1 on: January 18, 2020, 04:23:27 PM »
I am afraid that I cannot download the reproduction case for this, as I get a 404 error. I should be grateful if you could re-upload this.

Online Freahk

  • *
  • Posts: 956
  • Languages: DE, EN
Re: [Bug] token block track reservation at dead end tracks
« Reply #2 on: January 18, 2020, 08:17:13 PM »
Sure, I am sorry any uploaded saves seem to be gone, which makes most of my bugreports useless, I am currently fixing this.

See the attached save.

Note that I have added the same case for one_train staff twice. There seem to be some cases where it works properly with one train staff cabinets, whilst in others it is just as bugged.
I expect these to related so I won't create a seperate report for it yet but will do so if one of them gets fixed whilst the other remains.