[2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken

Bugs which we just recently fixed in our development version and will reach you in the next release.
Icicubes
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sun Jul 10, 2022 8:38 pm
Contact:

[2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken

Post by Icicubes »

I was working on updating my mod for 2.1 in the attachment and I do not know what is going on. I think it should work. Game state and API disagree on the LogisticFilter.request_from at an index, causing unpredictable emergent behavior of my mod. LogisticFilter.import_from works as expected. LogisticFilter.request_from does not. Even if I set request_from to "planet" as fallback. It is still broken. For example it can have a state that if you spam e to confirm it swaps between "any" and "planet" (the claimed default).
Attachments
auto-sort-logistic-sections-by-planet_1.0.3.zip
(24.77 KiB) Downloaded 17 times
Last edited by Icicubes on Mon Jun 29, 2026 8:29 pm, edited 1 time in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17134
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.8] LuaLogisticSection .filters LogisticFilter.request_from seems to be broken

Post by Rseding91 »

Can you please give an example of what's going wrong? Your description doesn't explain enough to point me at anything. A video would work best.
If you want to get ahold of me I'm almost always on Discord.
Icicubes
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sun Jul 10, 2022 8:38 pm
Contact:

Re: [2.1.8] LuaLogisticSection .filters LogisticFilter.request_from seems to be broken

Post by Icicubes »

https://youtu.be/KKGGwmMn9U4 it seems to be something related to multiple filters being required to reproduce it. In the video I set 2 requests and then the second request to "all". my mod reorders them. but the second request is now "planet" again instead of "all".
Rseding91
Factorio Staff
Factorio Staff
Posts: 17134
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.8] LuaLogisticSection .filters LogisticFilter.request_from seems to be broken

Post by Rseding91 »

I am not able to reproduce what's shown in your video. When I perform those steps the fish ends up the first row, and the rockets the 2nd row - and both have the correct import from shown. Do you have any other mods active?
If you want to get ahold of me I'm almost always on Discord.
Icicubes
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sun Jul 10, 2022 8:38 pm
Contact:

Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken

Post by Icicubes »

no I tested it with minimal mods now and it is still exactly like in my video to me. so I guess my machine is the problem, if everything is fine on your machine. Like it really should not be hard to reproduce for you. the display GUI point seems to be wrong for me actually. odd. through swapping and printing slot 1 and 2 I can confirm the API being correct. So the yellow GUI button indicating which option (planet, platform or all) is active is lying to me. sorry that I did not consider that being the Bug here.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17134
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken

Post by Rseding91 »

Are you playing single player or multiplayer? If multiplayer, are you the host or joining a game? Could you post your log file?
If you want to get ahold of me I'm almost always on Discord.
Icicubes
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sun Jul 10, 2022 8:38 pm
Contact:

Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken

Post by Icicubes »

the single player debug world and here is the log.
Attachments
factorio-current.log
(1.72 MiB) Downloaded 20 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 17134
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken

Post by Rseding91 »

I'm not sure what to do next with this. I can't reproduce any issues and looking at the code it doesn't give any hints about what might be going wrong.
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17134
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken

Post by Rseding91 »

I wasn't able to reproduce this exact issue but with someone else's help I was able to reproduce a different form of this and fixed that for the next release. You'll have to see if it also addresses the exact scenario you're seeing.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved for the next release”