The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Rollmaterial on March 31, 2018, 11:31:49 PM

Title: Time interval choose signal reserves one tile beyond itself
Post by: Rollmaterial on March 31, 2018, 11:31:49 PM
A train approaching the distant signal of a time interval choose signal protecting a fully occupied station will reserve the first tile beyond the choose signal. This can be observed at Elsfont station on the Bridgewater-Brunel server.
Title: Bug: Time interval choose signal reserves one tile beyond itself
Post by: DrSuperGood on April 01, 2018, 08:02:43 AM
Can confirm. This bug has cost me several hundred thousand in refunds.

What appears happening is it reserves one or more tile in front of the choose signal instead of the tile the choose signal is on. Until fixed one must place choose signals 2+ tile back from the first junction tile.

It might be the result of a convoy at a platform choose signal making an emergency stop from behind.
Title: Re: Time interval choose signal reserves one tile beyond itself
Post by: jamespetts on April 01, 2018, 11:14:02 AM
Thank you for the report. Are either of you able to upload a saved game in which this issue can reliably be reproduced at a specific place and time?
Title: Re: Time interval choose signal reserves one tile beyond itself
Post by: Rollmaterial on April 01, 2018, 06:39:21 PM
Here is one: https://drive.google.com/file/d/1N-LfKFs2AM1xLjuUg9jnz3k7S0Kb-_Gz/view?usp=sharing
The convoy approaching Elsfont should reserve the first tile beyond the choose signal when it sees the auxiliary signal.
Title: Re: Time interval choose signal reserves one tile beyond itself
Post by: DrSuperGood on April 01, 2018, 10:16:29 PM
I have seen convoys reserve up to 2 tiles in front of a timed interval choose signal. Until this is fixed it is recommended you leave the appropriate space in front.
Title: Re: Time interval choose signal reserves one tile beyond itself
Post by: Rollmaterial on April 02, 2018, 08:27:13 PM
James, I linked a save here in case you missed it.
Title: Re: Time interval choose signal reserves one tile beyond itself
Post by: DrSuperGood on April 02, 2018, 10:48:14 PM
The choose signals are just plain old broken at the moment. My trains constantly ignore them/get stuck at them/drive through them into occupied platforms. This has occurred 5 times so far since I started using them, each time causing thousands of passengers to be stranded. On the server I have not been able to expand my rail network because I have had to spend hours fixing trains at platform choose signals...

So far my theories are...
Title: Re: Time interval choose signal reserves one tile beyond itself
Post by: jamespetts on April 02, 2018, 11:22:40 PM
Dr. Supergood - is this the same issue? If not, it would be better to post the report in a separate thread with its own replication instructions.

Rollmaterial - I have the file, thank you.

Edit: I think that I have now fixed this. I should be grateful if anyone could confirm whether this specific bug as originally reported is fixed. (For any other issues, even similar issues, please start a new thread, as it makes it much harder to manage bug reports if there is more than one discrete issue per thread).
Title: Re: Time interval choose signal reserves one tile beyond itself
Post by: DrSuperGood on April 03, 2018, 06:04:55 AM
Seems partly fixed in latest nightly.

Still choose signals are failing to work and directing trains into occupied platforms. This is happening a lot on the server game but I cannot recreate it on a test map for some reason.

EDIT: Totally unusable now for terminals with trains entering towards the right of the screen. The trains completely ignore the choose signal and try to drive into occupied platforms. I have had to revert these stations to drive through on the server because I was always blocking up.

EDIT2: A common factor with these terminals is that the approaching main line is subject to elevation change before the terminal junction.
Title: Re: Time interval choose signal reserves one tile beyond itself
Post by: jamespetts on April 03, 2018, 09:53:53 AM
Dr. Supergood - are you sure that this is the very same issue as that reported in the original post, viz. when one train is waiting at a time interval choose signal, in some cases, a train following from behind will reserve a tile or two ahead of the waiting train? If not, this will need to go into its own thread with its own reproduction case.
Title: Re: Time interval choose signal reserves one tile beyond itself
Post by: jamespetts on May 04, 2018, 10:54:30 PM
Given that Dr. Supergood's issue appears to be a separate bug which, if it still exists, would merit its own thread, I am archiving this thread as the original problem appears to have been fixed.