Even Distribution


Modifies CTRL + Click Drag to evenly distribute the items over multiple buildings. Also adds Inventory Cleanup hotkey (SHIFT+C) which evenly distributes unneeded items from inventory into nearby machines.

Utilities
2 years ago
0.15 - 1.1
336K

b [1.0.10] Non recoverable error in on_player_fast_transferred from trash into furnace

1 year, 1 month ago
(updated 1 year, 1 month ago)

NOTE: Not from trash, just from normal inventory. I can't edit the title sadly.

Using the newest game version. That is 1.1.79

The mod Even Distribution (1.0.10) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event even-distribution::on_player_fast_transferred (ID 132)
attempt to index a nil value
stack traceback:

    [C]: in function 'draw_sprite'
    __even-distribution__/scripts/visuals.lua:47: in function 'mark'
    __even-distribution__/scripts/drag.lua:237: in function 'onStackTransferred'
    __even-distribution__/scripts/drag.lua:208: in function 'func'
    __even-distribution__/framework.lua:99: in function <__even-distribution__/framework.lua:98>
1 year, 1 month ago

I can reproduce this from this save. Just walk to the furnace stacks on the right, and then try to spread the copper ore in your inventory to the furnaces.

(Actually, I can't attach a file here. If you can't reproduce and need this file I'll try to find some other way to upload it.

1 year, 1 month ago

It is possible that this is solved by 1.1.80: https://forums.factorio.com/105761

1 year, 1 month ago

Yes. 1.1.80 fixed it for me.

New response