FS#5216 - Pathfinding change on compatible railtypes

Attached to Project: OpenTTD
Opened by Vaclav Benc (V453000) - Thursday, 21 June 2012, 11:03 GMT
Last edited by Remko Bijker (Rubidium) - Sunday, 14 July 2013, 09:22 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Windows
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



when I use 2 compatible railtypes - in this case monorail and universal rail from NUTS train set in the "decision" piece of rail where train decides whether it will go to the reverser or to the signal,
the 2way eol stops working with different railtypes.

Seems to apply for both combinations - all tracks monorail with 1 piece of univ rail, or all tracks univ rail with 1 piece of monorail.

The trains have native tracks monorail.

I am using r24217

Properties of universal rail can be found here

Quick illustration of the issue comes in the pictures, for the rest is the savegame :) There are 2 newGRFs - NUTS train set from bananas, and newbridges from our grf pack

Thank you for your efforts


This task depends upon

Closed by  Remko Bijker (Rubidium)
Sunday, 14 July 2013, 09:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r25609
Comment by Remko Bijker (Rubidium) - Wednesday, 06 February 2013, 19:25 GMT
The NUTS version used in that save is not on bananas.
Comment by Vaclav Benc (V453000) - Wednesday, 06 February 2013, 21:24 GMT
it should work with any version, but this one should be on bananas
Comment by Remko Bijker (Rubidium) - Thursday, 07 February 2013, 21:33 GMT
The attached patch seems to solve it, but I fear it is desync prone.
Comment by Remko Bijker (Rubidium) - Thursday, 07 February 2013, 21:47 GMT
Strike the fear... it DOES desync, so not a solution at all.
Comment by Remko Bijker (Rubidium) - Thursday, 07 February 2013, 22:00 GMT
Why does this seem to work in case of normal rail + electrified, electrified + normal and electrified + universal, but not for monorail + universal? I'm flabbergasted.