[2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken
[2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken
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.
Re: [2.1.8] LuaLogisticSection .filters LogisticFilter.request_from seems to be broken
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.
Re: [2.1.8] LuaLogisticSection .filters LogisticFilter.request_from seems to be broken
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".
Re: [2.1.8] LuaLogisticSection .filters LogisticFilter.request_from seems to be broken
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.
Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken
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.
Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken
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.
Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken
the single player debug world and here is the log.
- Attachments
-
- factorio-current.log
- (1.72 MiB) Downloaded 20 times
Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken
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.
Re: [2.1.8] LogisticSection LogisticFilter request_from GUI indicator seems to be broken
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.

