Page 1 of 1

[0.17.4] Train leaves stop before any condition is met, repaths to same station

Posted: Sat Mar 02, 2019 9:29 pm
by adblockplus
Train arrives at a stop with the following wait conditions:
  • Empty cargo inventory
  • OR 30s inactivity
  • OR 30s time passed
It then leaves in a couple of seconds, with almost empty but not entirely empty inventory and tries to go to a stop with the same name. The stop is disabled when the train arrives (simple read train -> disable station circuit) and is re-enabled when the train leaves. There are many stops by that name, a whole lot of enabling and disabling of stops and signals through circuitry is involved, not sure how relevant that is (though I tried to reproduce this behavior on a smaller scale and failed). The save was started with 0.16 and the 0.17 science conversion mod. I use a 5-6 other, mostly QoL mods, but none of them should mess with trains.

Video of the behavior (shot in 0.17.3, but the same happens in 0.17.4): For a second there, the train tries to go the stop it just left, which doesn't seem right in any case.

Save file: http://157.230.120.107/factorio/lazy17_17.zip (~45 MB). The copper and iron trains in southern chunk suffer from this.

Re: [0.17.4] Train leaves stop before any condition is met, repaths to same station

Posted: Sat Mar 02, 2019 10:13 pm
by Loewchen

Re: [0.17.4] Train leaves stop before any condition is met, repaths to same station

Posted: Sun Mar 03, 2019 2:34 pm
by adblockplus
Thanks for the cross-ref! Definitely the same issue, the guys in the other thread have distilled much better repro though.