What did you do?
I made a train schedule with interrupts to trigger when: 1) Train not as a specific station 2) destination full or no path 3) empty cargo, then go to specific (other) station. There are no other interrupts currently triggered or has its conditions satisfied to be triggered.
What happened?
Interrupt did not get triggered
What did you expect to happen instead? It might be obvious to you, but do it anyway!
Interrupt gets triggered.
Does it happen always, once, or sometimes?
It started happening in 2.1.7 (initial release) and has been since. It seems to only affect this interrupt, others seem unaffected.
I have attached my log and save file. I placed a pin on Nauvis (the only one) with the title "Train interrupt not working!!".
You can find mutliple examples of trains which should have the interrupt trigger but dont.
The interrupt and settings are shown in this screenshot:
The current train stop name can be seen here (this satisfies the third interrupt condition):
That all destination stations are full and train content or lack there of can be seen here: (this satisfies the frist two conditions)
And for good measure, here is a screenshot of a station the train interrupt should make the train head to which can accept 4 more trains (0/4).
Greetings!
[2.1.9] Train interrupt not triggering
-
jobvdl1997
- Manual Inserter

- Posts: 4
- Joined: Mon May 01, 2017 8:13 am
- Contact:
[2.1.9] Train interrupt not triggering
- Attachments
-
- SPAGE AGE LETS A GO.zip
- (142.85 MiB) Downloaded 25 times
-
- factorio-current.log
- (9.54 KiB) Downloaded 16 times
Re: [2.1.9] Train interrupt not triggering
Thanks for the report however this is working correctly. Your interrupt is faulty in that it's checking <cargo must be empty> but also <not at stop with cargo-wildcard> - since the cargo wildcard can't match against any cargo in the train it fails the condition completely.
If you want to get ahold of me I'm almost always on Discord.
-
jobvdl1997
- Manual Inserter

- Posts: 4
- Joined: Mon May 01, 2017 8:13 am
- Contact:
Re: [2.1.9] Train interrupt not triggering
That is interesting to hear, because the interrupt works fine on Vulcanus. Same playthrough, on Vulcanus it worked fine for a few hundred hours. It stoped working when I tried to apply the same tick on Nauvis. But it still works on Vulcanus. I have attached a new save, where I have saturated my train network to require trains to use the sleeping bays. I added trains which are currently set to manual and if you switch it to automatic it will start to head to one of the sleeping stations. If it does not happen on the first train, please try the others, for me it works, but you know, "it works on my machine"...
You can find the manual trains at the pin labeled "Trains to start testing interrupt"
Attached are screenshots of this in action should it not work properly on your end.
Item train before switching to automatic: Item train after switching to automatic: Liquid train before switching to automatic: Liquid train after switching to automatic: Here is a screenshot of the interrupt that should be triggering (its the same as described in the frist post but its good to show): Both the trains and stations were a copy past from Vulcanus to Nauvis so the trains are even in the same train group. Maybe this could explain what I am seeing?
Thank you for taking another look.
Greetings!
You can find the manual trains at the pin labeled "Trains to start testing interrupt"
Attached are screenshots of this in action should it not work properly on your end.
Item train before switching to automatic: Item train after switching to automatic: Liquid train before switching to automatic: Liquid train after switching to automatic: Here is a screenshot of the interrupt that should be triggering (its the same as described in the frist post but its good to show): Both the trains and stations were a copy past from Vulcanus to Nauvis so the trains are even in the same train group. Maybe this could explain what I am seeing?
Thank you for taking another look.
Greetings!
- Attachments
-
- Debug Train interrupt.zip
- (142.88 MiB) Downloaded 43 times
Re: [2.1.9] Train interrupt not triggering
Your Vulcanus example works because the train is not at *any* stop so regardless of the wildcard outcome it is always true.
If you want to get ahold of me I'm almost always on Discord.
-
jobvdl1997
- Manual Inserter

- Posts: 4
- Joined: Mon May 01, 2017 8:13 am
- Contact:
Re: [2.1.9] Train interrupt not triggering
Huh, seems you're right! Guess I must have added the "not at specific station" condition later and never noticed the intrrupt stopped working. I swear it worked at some point. Thank you for the quick reply and explanation. Removed the condition and now it works again!
-
jobvdl1997
- Manual Inserter

- Posts: 4
- Joined: Mon May 01, 2017 8:13 am
- Contact:
Re: [2.1.9] Train interrupt not triggering
The reason why I set up the interrupt with the train not at "station" with the station set to [requester chest][item wildcard] is because that is how I named my pick up stations. (this can be seen in the example of Vulcanus. In hind sight with this new info maybe not the base name.) The normal schedule is simply go to [requester chest][item wildcard] station. the train will also be empty (no cargo) and there the [item wildcard] is matched verbatim with out substituting the wildcard for an item. That is why I expected the interrupt to work as well.
