[2.0.23] Interrupt was changed but still sends trains to old stop.

Post your bugs and problems so we can fix them.
giorgiorio
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Dec 03, 2024 7:27 am
Contact:

[2.0.23] Interrupt was changed but still sends trains to old stop.

Post by giorgiorio »

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.

:danger: Expected behaviour: the interrupt should reflect the new name of the stop, instead it keeps seeing the new stop as its old name.

:warning: 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".

:D 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
Attachments
Screenshot 2024-12-03 at 08.46.47.jpg
Screenshot 2024-12-03 at 08.46.47.jpg (316.84 KiB) Viewed 94 times
Last edited by giorgiorio on Tue Dec 03, 2024 9:17 pm, edited 1 time in total.
Loewchen
Global Moderator
Global Moderator
Posts: 9339
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Interrupt was changed but still sends trains to old stop.

Post by Loewchen »

Post the save you can reproduce the issue with please and add the version of the game to the title, see 3638.
giorgiorio
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Dec 03, 2024 7:27 am
Contact:

Re: [2.0.23] Interrupt was changed but still sends trains to old stop.

Post by giorgiorio »

Oops, I apologise. Thank you for the instructions link.

I updated the title and here are the Save file and the log.
Attachments
factorio-previous.log
(24.22 KiB) Downloaded 3 times
241128_Barbischio_Balancing.zip
(10.4 MiB) Downloaded 4 times
Post Reply

Return to “Bug Reports”