The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: neroden on January 09, 2011, 08:32:47 AM

Title: Replacer still not getting all vehicles in line.
Post by: neroden on January 09, 2011, 08:32:47 AM
I think it may be the same old problem where it can't tell that a consist in reverse after the loco is identical to a forward consist after the loco.
Title: Re: Replacer still not getting all vehicles in line.
Post by: jamespetts on January 09, 2011, 08:31:57 PM
Hmm - I thought that we fixed that some time ago?
Title: Re: Replacer still not getting all vehicles in line.
Post by: neroden on January 11, 2011, 05:32:13 AM
Quote from: jamespetts on January 09, 2011, 08:31:57 PM
Hmm - I thought that we fixed that some time ago?

I thought so too.  But I think we fixed the case of trains which reverse fully, but not the case of trains where the engine runs round.  Sigh.... that's much more complicated to code for.  Patching now.

EDIT: I can't do this immediately.  We need to handle Garratts, tenders, and brake vans.  I think we actually want to declare two convois the same if they have the same *set* of vehicles, regardless of their order, which would require a canonicalizing sorting routine.