[kovarex] [2.0.11] Train interrupts are not processed for trains without regular stops

Ext3h
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Mon May 19, 2014 12:40 pm
Contact:

[kovarex] [2.0.11] Train interrupts are not processed for trains without regular stops

Post by Ext3h »

Actual behavior:
When trying to define train operations with interrupts ONLY, interrupt evaluation never starts. Instead the train remains wherever it is, and shows as "idle".

Expected behavior:
Interrupt stops are enqueued even if the job list contains no stops.

Assumption:

It appears that interrupts are currently only evaluated while:
  • Once after toggling from Manual to Automatic
  • Continuously while waiting at a permanent stop.
  • Once when completing the wait condition of a temporary stop
  • Continuously while waiting at a temporary stop, if the interrupt is set to "interrupt other interrupts"
  • Continuously while the next stop is explicitly unreachable
Interrupts are missing evaluation when:
  • Continuously while the train is idle / has no stop
  • Once when the interrupt list changes
  • Once when the scheduled temporary stop is manually unscheduled
  • Once when the currently active permanent stop is removed
Last edited by Ext3h on Sat Oct 26, 2024 12:12 pm, edited 6 times in total.
Ext3h
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Mon May 19, 2014 12:40 pm
Contact:

Re: [2.0.11] Train interrupts are not processed for trains without regular stops

Post by Ext3h »

It actually does appear to be working when you toggle the setting from "Manual" to "Automatic", interrupts are evaluated once, and this once time it does insert into the empty list.

However, it does not resume to re-evaluate interrupts if the list of stops ends up (even temporarily) empty while already in "Automatic" mode.

It does not work either when adding a new interrupt to a train that has currently no stop, the interrupt is not evaluated initially.
DeadMG
Long Handed Inserter
Long Handed Inserter
Posts: 88
Joined: Thu Oct 22, 2020 7:56 am
Contact:

Re: [2.0.11] Train interrupts are not processed for trains without regular stops

Post by DeadMG »

Just encountered this bug myself as well.
Post Reply

Return to “Assigned”