[2.0.23] Interrupt was changed but still sends trains to old stop.
Posted: Tue Dec 03, 2024 7:57 am
Step 1: created a 15 stops and 5 trains network. One of the station is called "Starter1_Refuel[*]Coal" (with the coal icon at the end of the name) .
Step 2: All trains are assigned the same interrupt to refuel called "Refuel" with Condition "Fuel(any)<40" and Target: "Starter1_Refuel[*]Coal".
--> all works as intended and trains do refuel when needed.
Step 3: during a base overhaul, the refuel stop moved to a new location, somewhere else in the same network. It is copied and pasted as a blueprint then manually built, thus the newly created stop bears the name "Starter1_Refuel[*]Coal". The old stop is deconstructed. The interrupt is kept as is.
Step 4: I change the name of the stop to "Starter1_Refuel[*]FuelPump", and edit the interrupt to reflect that change.
Step 5: Some moments later, a train displays "No path to Starter1_Refuel[*]Coal". The name of the stop is the old name, despite the interrupt having been renamed. Just in case there might be a pathfinding issue, I check the train signals etc and can indeed make it get to the stop by placing "Starter1_Refuel[*]FuelPump" in its Schedule. So the train is able to get there regularly, but doesn't go there when the interrupt is triggered.
Expected behaviour: the interrupt should reflect the new name of the stop, instead it keeps seeing the new stop as its old name.
Attempted workaround: deconstructing and rebuilding the train stop, and naming it "Starter1_Refuel[*]FuelPump" again. Deleted and re-created the interrupt from scratch. --> still, the interrupt sends the train to "Starter1_Refuel[*]Coal" instead of "Starter1_Refuel[*]FuelPump".
Successful workaround: removing icons from the name of the stop and of the station: refueling stop renamed "Starter1_Fuel" and interrupt deleted and recreated as "Fuel". Now it all works as intended!!
Hoping this is useful, thank you for the great work!
G
Step 2: All trains are assigned the same interrupt to refuel called "Refuel" with Condition "Fuel(any)<40" and Target: "Starter1_Refuel[*]Coal".
--> all works as intended and trains do refuel when needed.
Step 3: during a base overhaul, the refuel stop moved to a new location, somewhere else in the same network. It is copied and pasted as a blueprint then manually built, thus the newly created stop bears the name "Starter1_Refuel[*]Coal". The old stop is deconstructed. The interrupt is kept as is.
Step 4: I change the name of the stop to "Starter1_Refuel[*]FuelPump", and edit the interrupt to reflect that change.
Step 5: Some moments later, a train displays "No path to Starter1_Refuel[*]Coal". The name of the stop is the old name, despite the interrupt having been renamed. Just in case there might be a pathfinding issue, I check the train signals etc and can indeed make it get to the stop by placing "Starter1_Refuel[*]FuelPump" in its Schedule. So the train is able to get there regularly, but doesn't go there when the interrupt is triggered.



Hoping this is useful, thank you for the great work!
G