OpenTTD

Tasklist

FS#3803 - Back of a one way path signal is not considered a safe wating location when reserving paths

Attached to Project: OpenTTD
Opened by Johannes E. Krause (Eddi) - Friday, 30 April 2010, 00:48 GMT
Last edited by Michael Lutz (michi_cc) - Wednesday, 26 May 2010, 05:25 GMT
Type Bug
Category Vehicles → PBS
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

in the attached savegame, the train (1) from the depot wants to go to the station, but it can't reserve a path. IMHO back of a one way signal should be treated like end of line.

the train 2 was sent to force-proceed, to prove that the path is not blocked by anything. if you destroy the track with signal, the train leaves the depot properly.

(r19525)
This task depends upon

Closed by  Michael Lutz (michi_cc)
Wednesday, 26 May 2010, 05:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r19896.
Comment by Alberth (Alberth) - Friday, 30 April 2010, 08:24 GMT
Imagine an third train and platform in your setup (on its way back from the power plant). With your proposal, the train in the depot would claim a path upto the signal at the right-bottom, blocking the way for the 3rd train to enter its platform at the coal mine.

Due to the position of the depot, the station at the coal mine is in fact a bi-direction station (it should accept trains from both directions). Such a station normally has platforms that are safe waiting point for trains from both directions, by having bi-directional path-signals at both sides.

If you add such signals, the train will leave the depot (and only claim a path upto the end of the platform, rather than include some additional tiles beyond the station). Alternatively, you can move the depot to the other side of the station. Then all trains enter from just one direction and your problem is solved too.
Comment by Johannes E. Krause (Eddi) - Friday, 30 April 2010, 09:45 GMT
> With your proposal, the train in the depot would claim a path upto the signal at the right-bottom, blocking the way for the 3rd train to enter its platform at the coal mine.

yes, the setup is certainly not optimal, but that is a secondary point that has nothing to do with the bug.
Comment by frosch (frosch) - Friday, 30 April 2010, 18:22 GMT
Does this mean r18648 does not work? Or got it broken later? Or did I misunderstood it :p

r18648 | michi_cc | 2009-12-27 15:37:54 +0100 (Sun, 27 Dec 2009) | 1 line

-Fix/Feature [ FS#3430 -ish]: [YAPP] Treat the backside of an one-way path signals as a safe waiting point.
Comment by Alberth (Alberth) - Saturday, 01 May 2010, 12:00 GMT
It does not work either, as well as its fix:

changeset: 14692:7110423a4ce9
user: michi_cc
date: Sun Feb 28 08:18:20 2010 +0000
summary: (svn r19286) -Fix (r18648): [YAPP] If reversing at path signals was disabled, a train would not reverse when hitting the back of an one-way signal.

Attached a save game created with r18648 for easier testing if needed.

Loading...