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

Bugs that are actually features.
ro011110ot
Burner Inserter
Burner Inserter
Posts: 7
Joined: Thu Oct 13, 2016 5:38 pm
Contact:

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

Post 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
Attachments
Space_Age_DS_2025_10.zip
(9.46 MiB) Downloaded 24 times
factorio-IV.log
(12.09 KiB) Downloaded 19 times
factorio-III.log
(12.42 KiB) Downloaded 16 times
factorio-II.log
(12.94 KiB) Downloaded 19 times
factorio-I.log
(37.06 KiB) Downloaded 27 times
Techjar
Inserter
Inserter
Posts: 34
Joined: Tue Jan 13, 2015 11:33 pm
Contact:

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

Post by Techjar »

Sounds like an infinite loop in a lua script, which would likely be a bug in the mod and not Factorio itself.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16282
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post 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.
If you want to get ahold of me I'm almost always on Discord.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 774
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

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

Post 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.
Don't forget, you're here forever.
Post Reply

Return to “Not a bug”