Page 1 of 1

[2.0.21] Train Cargo Wagon at Station With Pump will cause condition "empty cargo wagon" to fai.

Posted: Wed Nov 27, 2024 3:53 am
by armagin
What I did: I have created a station that accepts fluid wagons for filling, and also unloads rocket fuel when the outpost is low in fuel. The calling of the rocket fuel train is controlled by an interrupt that is triggered over the radar network. The train is supposed to leave the station when the cargo is empty OR after 5s of inactivity.

What happened: The train will never leave the station under these circumstances, it appears to be stuck in some sort of loop causing the lights on the train to flicker rapidly, and the condition within the locomotive remote view to also flicker several times per second. Removing the pumps or disabling them appears to remove this bug.

My expectation: The train when cargo is empty would leave the station.

This happens consistently but not always when the train visits the station.

https://imgur.com/O5SvNoZ

Re: [2.0.21] Train Cargo Wagon at Station With Pump will cause condition "empty cargo wagon" to fai.

Posted: Wed Nov 27, 2024 4:37 am
by robot256
Can you attach the screenshot with the forum interface? The image in your post is broken.

This also sounds like it will be easier to understand if you can share the save file.

Re: [2.0.21] Train Cargo Wagon at Station With Pump will cause condition "empty cargo wagon" to fai.

Posted: Wed Nov 27, 2024 4:53 am
by armagin
What's the best way to share a savegame? It doesn't seem to want to let me share an attachement on the forum.

Re: [2.0.21] Train Cargo Wagon at Station With Pump will cause condition "empty cargo wagon" to fai.

Posted: Wed Nov 27, 2024 4:54 am
by Loewchen
See 3638

Re: [2.0.21] Train Cargo Wagon at Station With Pump will cause condition "empty cargo wagon" to fai.

Posted: Wed Nov 27, 2024 1:37 pm
by Muche
Similarly to 119916 Train condition on fueling doesn't pass / 120833 train handling interrupt is stuck in station, flashing train status, flickering/flashing happens because the train is trying to leave the station and immediately the interrupt triggers again, ordering the train to go to the station it's at, repeating the cycle.

The whole interrupt configuration will be needed to determine what's wrong with it (or a save file, as mentioned above).

Re: [2.0.21] Train Cargo Wagon at Station With Pump will cause condition "empty cargo wagon" to fai.

Posted: Fri Nov 29, 2024 5:00 am
by armagin
> Similarly to 119916 Train condition on fueling doesn't pass / 120833 train handling interrupt is stuck in station, flashing train status, flickering/flashing happens because the train is trying to leave the station and immediately the interrupt triggers again, ordering the train to go to the station it's at, repeating the cycle.

I don't think this is the issue.

I've attached a link to my savegame here: https://drive.google.com/file/d/1_qjhfB ... sp=sharing

I'll also mention, I'm playing on Linux. Honestly, it seems a bit like the pumps are trying to fill the cargo wagon for some odd reason. In any case, the station in question is on Aquillo.

Re: [2.0.21] Train Cargo Wagon at Station With Pump will cause condition "empty cargo wagon" to fai.

Posted: Sat Nov 30, 2024 1:31 am
by robot256
Thank you for attaching the save. The "stuck" train is doing exactly what you told it to, so this is not a bug and has nothing to do with the pump.

The "Lithium brine = 1" signal is being sent to both the radar network and directly to the Lithium brine supply stop where the train is stuck. When the rocket fuel supply train finishes its interrupt (with the Empty cargo condition true), it departs Lithium brine supply and checks its interrupts. Since the Lithium brine signal is present, it re-adds the same interrupt stop to its schedule.

If you want this to work correctly, you need to either remove the Lithium brine signal from the unloading stop, or add conditions to the interrupt so it only fires when the train actually has rocket fuel cargo or is at the rocket fuel supply station.
11-29-2024, 20-32-01.png
11-29-2024, 20-32-01.png (1.3 MiB) Viewed 196 times
11-29-2024, 20-31-22.png
11-29-2024, 20-31-22.png (223.95 KiB) Viewed 198 times

Re: [2.0.21] Train Cargo Wagon at Station With Pump will cause condition "empty cargo wagon" to fai.

Posted: Thu Dec 05, 2024 4:42 pm
by armagin
Ah shoot. Thanks so much. Sorry to waste your time on this one. You guys have such a polished game, that I thought it was a bit odd (I've been playing since release and every "bug" so far has been user error, including this lol), but I couldn't figure out for the life of me why this was happening.

Re: [2.0.21] Train Cargo Wagon at Station With Pump will cause condition "empty cargo wagon" to fai.

Posted: Thu Dec 05, 2024 7:36 pm
by robot256
armagin wrote: Thu Dec 05, 2024 4:42 pm Ah shoot. Thanks so much. Sorry to waste your time on this one. You guys have such a polished game, that I thought it was a bit odd (I've been playing since release and every "bug" so far has been user error, including this lol), but I couldn't figure out for the life of me why this was happening.
You're welcome! Lots of people have the same kind of question and they get scattered between help and bug threads.