[kovarex] [0.17.66] Adding a rail signal causes waypoint stops to malfunction
Posted: Sun Aug 18, 2019 12:09 am
I'm using waypoint stops pretty extensively on a map. Waypoint stops are train destinations that have no wait condition - the train simply drives past it. As of one of the most recent patches, my trains have randomly been stopping at the waypoint stops and no-pathing.
I did some testing and found the cause. When you place a rail signal on the map (anywhere, does not have to even be a connected rail), and at the same time a train is passing by its waypoint stop, it will malfunction. This only happens if the train has a destination stop with no orders and it is currently directly adjacent to that stop the moment the rail signal is placed. When this happens, the train pases by the destination stop but continues to have it's order set to the waypoint station it had just passed. In my case, there was no way to route back to the way point station so it would stop and no path.
Here is a short 1 minute video that shows how to reproduce this: https://youtu.be/J07TbHzy4Es
I would expect that the moment a train can successfully path to a train stop that it is traveling to without wait conditions it immediately changes its destination to the next train stop that is on its schedule, regardless of how many rail signals I place.
I did some testing and found the cause. When you place a rail signal on the map (anywhere, does not have to even be a connected rail), and at the same time a train is passing by its waypoint stop, it will malfunction. This only happens if the train has a destination stop with no orders and it is currently directly adjacent to that stop the moment the rail signal is placed. When this happens, the train pases by the destination stop but continues to have it's order set to the waypoint station it had just passed. In my case, there was no way to route back to the way point station so it would stop and no path.
Here is a short 1 minute video that shows how to reproduce this: https://youtu.be/J07TbHzy4Es
I would expect that the moment a train can successfully path to a train stop that it is traveling to without wait conditions it immediately changes its destination to the next train stop that is on its schedule, regardless of how many rail signals I place.