Page 1 of 1

[1.1.60] No path message on cargo wagon instead of locomotive

Posted: Thu Jun 16, 2022 11:04 am
by ickputzdirwech
I was messing around with trains today and I discovered the following weird behaviours:

1. When a train is pushed, the "no path" message appears on the first cargo waggon and not the locomotive.

2. The F4 show-train-no-path-details message returns an invalid train in this case.

3. When I try to rotate the locomotive (which is not possible) the train still tries to re-path.

Re: [1.1.60] No path message on cargo wagon instead of locomotive

Posted: Thu Jun 16, 2022 11:46 am
by boskid
1 is debatable if its correct or wrong. As of right now it is implemented to draw over front rolling stock, not over first front mover. There are some weird corner cases if you change Train into automatic when a train has no locomotives (possible by changing LuaTrain::manual_mode into false on a train obtained from an alone cargo wagon). I am not considering this to be strictly a bug.

2 indeed is a bug which is now fixed for 1.1.61. There will be no changelog record for this as it is a debug stuff, not expected to be used by players in most cases.

3 is acceptable simplification and i do not care about this case.