Page 1 of 1

[2.0.23] Train menu glitching, caused by interrupts?

Posted: Mon Dec 16, 2024 12:13 pm
by Tailolian
Hello,
This is easier to explain in a video. See here...https://youtu.be/UHu7a9Rfh58

I have been using interrupts on my train schedules, I have the Load & Unload for an item in the schedule as default. Then I use an interrupt that if one of those stations is unavailable it moves to a waiting area. This works perfectly.

The issue is while the train is waiting at the waiting point, every few seconds the interrupt appears to add the waiting station again to the routing. Being at the waiting station instantly clears the conditions and the temporary station vanishes again.
Now I thought these conditions on evaluated upon leaving a station, so I don't understand why it's doing it on what appears to be a tick-based schedule, is this normal?

Now other than causing the train menu to flicker a bit, this isn't a problem...

Until you go to the main train menu, with almost 200 trains on the map there is just a constant flicker as the routings for the trains change with the flicking waiting stations issue. This makes that menu completely unusable.

Is there a way to stop it flickering? or is it just a 'feature' of the interrupts?

Other information:
- This is running on a dedicated server
- A few mods are running, as shown in the video.

Thanks for any help.

Re: [2.0.23] Train menu glitching, caused by interrupts?

Posted: Tue Dec 17, 2024 2:23 am
by mergele
You could add an additional condition for the waiting interrupt "and not at station waiting area", that should fix the flickering at least.

Re: [2.0.23] Train menu glitching, caused by interrupts?

Posted: Tue Dec 17, 2024 5:53 am
by Tailolian
That does indeed stop the flickering, Thank you very much mergele.