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

Bugs that are actually features.
armagin
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Aug 13, 2016 4:59 pm
Contact:

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

Post 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
Last edited by armagin on Wed Nov 27, 2024 4:51 am, edited 3 times in total.
robot256
Filter Inserter
Filter Inserter
Posts: 968
Joined: Sun Mar 17, 2019 1:52 am
Contact:

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

Post 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.
armagin
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Aug 13, 2016 4:59 pm
Contact:

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

Post 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.
Muche
Filter Inserter
Filter Inserter
Posts: 303
Joined: Fri Jun 02, 2017 6:20 pm
Contact:

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

Post 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).
armagin
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Aug 13, 2016 4:59 pm
Contact:

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

Post 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.
robot256
Filter Inserter
Filter Inserter
Posts: 968
Joined: Sun Mar 17, 2019 1:52 am
Contact:

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

Post 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 195 times
11-29-2024, 20-31-22.png
11-29-2024, 20-31-22.png (223.95 KiB) Viewed 197 times
armagin
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Aug 13, 2016 4:59 pm
Contact:

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

Post 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.
robot256
Filter Inserter
Filter Inserter
Posts: 968
Joined: Sun Mar 17, 2019 1:52 am
Contact:

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

Post 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.
Locked

Return to “Not a bug”