[2.0.15] Interrupt interrupting itself
Posted: Mon Nov 18, 2024 12:59 pm
Hello, i'm sorry if this has been posted before, also it might be a deliberate design choice rather than a bug, but still it caught my eye..
If you observe the video clip attached, i have a fueling interrupt which contains 2 stations A and B for refueling 2 locomotives of the same train. Train is supposed to go to A first, refuel, then go to B to refuel again, and complete the interrupt. However since the interrupt condition is not yet fully met at train stop A (because the other locomotive is still in need of fuel), after 2 seconds of idling, the interrupt triggers again which makes the train go to A again (which it's still on) and loops indefinitely, getting stuck there. Only way to resolve it is to remove the checkmark "interrupt other interrupts" so it doesn't get interrupted by itself. However this would prevent the fueling interrupt from triggering in case i added another logistical interrupt which has nothing to do with refueling idea. I think the interrupt should not interrupt itself before it's fully completed (ie all the stations in the interrupt are visited), in other words, the checkmark setting "interrupt other interrupts" should exclude the interrupt itself.
This problem will seem to arise no matter what if the following conditions are met:
- Interrupt has checkmark checked (it might be an important interrupt that should be able to interrupt others)
- Interrupt has more than 1 station in it
- The condition that fired the interrupt is not fully resolved in the first station the train visits
Thank you for your time, and as always, keep up the good work WUBE! ^^
If you observe the video clip attached, i have a fueling interrupt which contains 2 stations A and B for refueling 2 locomotives of the same train. Train is supposed to go to A first, refuel, then go to B to refuel again, and complete the interrupt. However since the interrupt condition is not yet fully met at train stop A (because the other locomotive is still in need of fuel), after 2 seconds of idling, the interrupt triggers again which makes the train go to A again (which it's still on) and loops indefinitely, getting stuck there. Only way to resolve it is to remove the checkmark "interrupt other interrupts" so it doesn't get interrupted by itself. However this would prevent the fueling interrupt from triggering in case i added another logistical interrupt which has nothing to do with refueling idea. I think the interrupt should not interrupt itself before it's fully completed (ie all the stations in the interrupt are visited), in other words, the checkmark setting "interrupt other interrupts" should exclude the interrupt itself.
This problem will seem to arise no matter what if the following conditions are met:
- Interrupt has checkmark checked (it might be an important interrupt that should be able to interrupt others)
- Interrupt has more than 1 station in it
- The condition that fired the interrupt is not fully resolved in the first station the train visits
Thank you for your time, and as always, keep up the good work WUBE! ^^