[kovarex] [0.17.39] Disable station causes send signal to train sometimes not working after re-enabling
Posted: Wed May 15, 2019 3:34 pm
by irbork
I have found this bug when trying to force train to re-path before entering the stacker.
In this blueprint, that I have created to prevent unintended train pathing into the stacker, from time to time trains do not receive the green signal after the station was disabled before they entered.
empty
It is normal, parallel stacker with 2 additional stations right before the chain signal for choosing the parking spot.
First station is just waypoint, put there so trains will not path through the stacker to the end station as soon as the next station gets disabled.
The next station is connected to parking spot entrance signals. It gets disabled when any of the spots are free (green=0) so the trains can pass through without slowing. It also sends the signal to trains, which can only leave when green>0.
It works great for a while and then suddenly stops.
The train should be free to go if there is any green signal, since either it gets signal to go or the station is not there.
Re: [kovarex] [0.17.39] Disable station causes send signal to train sometimes not working after re-enabling
Posted: Thu May 16, 2019 10:01 am
by kovarex
There is some mistake, as the blueprint string contains some belt circle instead of rail stuff.
Re: [kovarex] [0.17.39] Disable station causes send signal to train sometimes not working after re-enabling
Posted: Thu May 16, 2019 6:26 pm
by irbork
I have lost original blueprint but here is a simplified recreation. It is still happening (with intense traffic through the stacker) even though distances are different.