Page 1 of 1

[2.0.71] Game froze after adding items to building using EvenDistributionLite mod

Posted: Fri Oct 17, 2025 6:38 pm
by ro011110ot
What did you do?
Add Items (walls to the black science building) with crtl + drag over the buldings (using EvenDistributionLite Mod)

What happened?
The Game freeze and didnt resporn only Sigterm is possible

What did you expect to happen instead?

That only the Mod crashs and give an Error Repot

Adding the logs and the save game

Re: [2.0.71] Game froze after adding items to building using EvenDistributionLite mod

Posted: Sat Oct 18, 2025 7:07 pm
by Techjar
Sounds like an infinite loop in a lua script, which would likely be a bug in the mod and not Factorio itself.

Re: [2.0.71] Game froze after adding items to building using EvenDistributionLite mod

Posted: Sun Oct 19, 2025 12:07 pm
by Rseding91
Thanks for the report. It looks like the mod even distribution light has faulty logic in its transfer() function and sits in an infinite loop. You'll have to reach out to the mod author to have them fix it.

Re: [2.0.71] Game froze after adding items to building using EvenDistributionLite mod

Posted: Thu Oct 23, 2025 3:41 pm
by raiguard
The problem in my mod had to do with item health. For some reason, LuaInventory::can_insert is not taking item health into account and so is returning true even though the items cannot actually be inserted. I added a failsafe to work around this, but the API should also be fixed to account for all item properties.