Page 1 of 1

[Dominik] [15.34] Train station skipped if one activated and one deactivated same tick

Posted: Tue Sep 12, 2017 11:30 am
by gheift
Hi,

if I have following situation:
  • three stations 1*A, 2*B
  • a train which just drives from A to B, back and forth
  • the two B stations are connected to the same circuit network
  • the condition is mutual exclusive, e.g "red = 0" and "red ≠ 0"
  • if the signal red changes from 0 to 1, one station is disabled and the second one is enabled in the same tick
  • the train does not as expected route itself to the other B station but instead goes back to A
I played a little bit and created a minimal test case. Looks like it depends somehow on the build order or how the stations are renamed.

The top line works as expected.
The second line has the behavior described above.
The third line skips the second station which should be available on rerouting.
The fourth line works as expected again.

Kind regards,
Gerhard

Re: [Dominik] [15.34] Train station skipped if one activated and one deactivated same tick

Posted: Tue Oct 03, 2017 10:57 am
by Dominik
Hi, thank you for pointing this out, this behavior is incorrect. And thanks for the great save file reproducing it :) We have fixed it by processing the train repathings only by the final state after all station states are updated.

Re: [Dominik] [15.34] Train station skipped if one activated and one deactivated same tick

Posted: Sun Oct 15, 2017 4:28 am
by Paul17041993
Does this also fix the condition with a single station being enabled and the train being sent a 'go' signal, but the train skipping it anyway (and hanging as a result as it has no path)? or should I make a separate report?

Re: [Dominik] [15.34] Train station skipped if one activated and one deactivated same tick

Posted: Mon Oct 16, 2017 11:36 am
by Dominik
I suppose it should, but if you send me a save, I can test it to make sure.