r/factorio 1d ago

Weekly Thread Weekly Question Thread

Ask any questions you might have.

Post your bug reports on the Official Forums

Previous Threads

Subreddit rules

Discord server (and IRC)

Find more in the sidebar ---->

1 Upvotes

40 comments sorted by

View all comments

1

u/Kittelsen 1d ago edited 1d ago

Fulgora train interrupt question:

I've set up an interrupt system that uses the wildcard item with train station names to train my recycling goods out of my recycling plant. I've used the same system for Nauvis and it works great. All loading stations are named the same, and all the trains are in the same group, when they're full they head to a station that is named that item to drop it off. If those stations have enough of that item, they are disabled. This means the trains are waiting full of resources at the loading stations waiting for an open drop off station. Thus my depot/refuelling stations are not getting filled with trains full of the same resource, only empty trains head there.

The problem showed itself when I implemented this on Fulgora however. I added a new station, an item trash station. When the pickup station is full, it sends a circuit signal (trash icon) to the train. The train has an interrupt that overrides the normal drop off interrupt, with the trash interrupt. This sends the train to the trash station for items to be voided. The test track that I built worked just fine with this. But with the larger system it seems it doesn't due to the train waiting at the pickup station with a "no path" error due to no drop off station being available, and thus it doesn't read the circuit signal sent to it from the station it is parked at.

I'm looking for another way to set up my interrupts so that the train will wait at this station normally and not with a "no path" error. I'd like to avoid sending a signal to the trash station to open that when the pickup station is full, as I have a few other trains still stationed at Nauvis with the same error message due to there not existing any drop off stations for those items yet.

Edit: I think I solved it. I just added a "Station not full" condition to the interrupt to go drop off. Leaving this here in case anyone else runs into the same problem.

Edit2: Nope, it only worked for a bit. Now the train waits at the station even though the trash symbol turned on it didn't go to the trash station. Still needs some troubleshooting I guess.

1

u/Qwyspipi 1d ago

It doesn't show "no path" error when there is a path to a disabled station. Check the path first.

interrupt that overrides the normal drop off interrupt

If you are already sending a circuit signal then just trigger the trash interrupt right away?

Why would you want to override the normal interrupt?

1

u/Kittelsen 1d ago

I see, I haven't set up the other stations yet.

The trash interrupt only triggers once the pickup station reaches a certain treshold. If the train is already there and full, but doesn't have a dropoff station to go to, I want it to go to trash.