Filter Helper


Adds context aware quick select for filter inserters.

Utilities
2 months ago
1.1 - 2.0
17.4K

b [Fixed] Crash with Spidertron Patrols

4 months ago

When Maraxsis' submarine unloads its cargo by an inserter connected to the platform, click the inserter will causing the game to crash.
After my troubleshooting, it was determined that the type of the inventory was not "LuaInventory", but "INVAILD LuaInventory".

Then I try to fix this (only add inventory.valid check):

control.lua
local function add_inventory_items(table, inventory)
if inventory and inventory.valid then
for _, item in pairs(inventory.get_contents()) do
fh_util.add_item_to_table(table, item)
end
end
end

Right now it works. It just stops the crash, and it would be great if you could read the inventory correctly. Thank you.

4 months ago

A stack trace would be helpful

4 months ago

I already fixed an issue like this in the past, so it's weird it's here again

4 months ago

I also got this crash today when clicking on a storage chest while an inserter was emptying a submarine on Maraxsis

here is the error message
https://i.imgur.com/OyY39z3.png

4 months ago

Should be fixed now!

4 months ago

Great!

New response