MarcioHuser / EfficiencyCheckerMod-SML3

GNU General Public License v3.0
5 stars 5 forks source link

Double-headed train calculates wrong cargos #29

Open SummerPain opened 2 hours ago

SummerPain commented 2 hours ago

The bug:

calculates wrong numbers, searching in wrong conveyor(probably fluids too, i did not check) chain.

Reproduction:

so you probably can imagine how to reproduce it, if i say, that double-headed trains by their nature approach first station by one locomotive in front, and the other one by the other locomotive in front. So the head of the train switches, it sometimes goes backwards and parks this way. Try having different numbers of input and output on stations - it will show up,

I wish the fix could be immediate, but i rather build some crazy and not-so-good turns after the stations and make the trains single-headed, since i can't wait. But in the future i'd like to see it working properly anyway. Thanks.

MarcioHuser commented 2 hours ago

Double headed trains will never be accounted correctly. I just gave up trying to make sense of the double direction a train can take, too complex

SummerPain commented 2 hours ago

Aight, at least i told