News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

Replacer still not getting all vehicles in line.

Started by neroden, January 09, 2011, 08:32:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neroden

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.

jamespetts

Hmm - I thought that we fixed that some time ago?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

neroden

#2
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.