Race condition affecting orders when upgrading trains
Posted: 28 Aug 2019 12:03
I have this setup for depots:
The purpose of it is to send trains to the waypoint instead of sending them directly to depots, so they choose whichever depot they can actually enter when they get there instead of having 97% trains picking the depot on the left and 3% the other one while they're still 300 tiles away. This part works well.
Then I'm trying to upgrade the trains, so I change orders as follows, and I issue the replace command:
This sort of works too, the trains go to the depots and are upgraded etc., but when the line gets crowded some (not all) of the trains that exit the depots seem to forget they went past the waypoint and still want to go there.
Any idea?
The purpose of it is to send trains to the waypoint instead of sending them directly to depots, so they choose whichever depot they can actually enter when they get there instead of having 97% trains picking the depot on the left and 3% the other one while they're still 300 tiles away. This part works well.
Then I'm trying to upgrade the trains, so I change orders as follows, and I issue the replace command:
This sort of works too, the trains go to the depots and are upgraded etc., but when the line gets crowded some (not all) of the trains that exit the depots seem to forget they went past the waypoint and still want to go there.
Any idea?