Page 1 of 1

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

Posted: Tue Dec 03, 2024 7:57 am
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

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

Posted: Tue Dec 03, 2024 6:41 pm
by Loewchen
Post the save you can reproduce the issue with please and add the version of the game to the title, see 3638.

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

Posted: Tue Dec 03, 2024 9:26 pm
by giorgiorio
Oops, I apologise. Thank you for the instructions link.

I updated the title and here are the Save file and the log.

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

Posted: Wed Jan 22, 2025 11:50 am
by Klonan
I can't immediately parse what is going on, the save game provided doesn't immediately showcase the issue, and I am unsure the order of events to reproduce the issue

Changing the interrupt destination doesn't update all trains which already have that interrupt active

I will move to pending, if you can reproduce the issue with a small save game and specific steps I would be very appreciative

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

Posted: Fri Jan 24, 2025 9:00 am
by giorgiorio
Hi Klonan,
Thank you for your reply.
All right, I will try to do so.