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
30 days ago
0.15 - 2.0
405K

b Crash of server

3 years ago

An error occurred when using even distribution on Factorio 1.1.21 playing K2 and Space exploration.

This was the error
526160.912 Error MainLoop.cpp:1285: Exception at tick 42117205: The mod Even Distribution (1.0.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event even-distribution::on_tick (ID 0)
even-distribution/scripts/helpers/LuaPlayer.lua:68: attempt to index local 'cursor_stack' (a nil value)
stack traceback:
even-distribution/scripts/helpers/LuaPlayer.lua:68: in function <even-distribution/scripts/helpers/LuaPlayer.lua:64>
(...tail calls...)
even-distribution/scripts/drag.lua:39: in function 'distributeItems'
even-distribution/scripts/drag.lua:19: in function 'func'
even-distribution/framework.lua:99: in function <even-distribution/framework.lua:98>
526160.912 Error ServerMultiplayerManager.cpp:91: MultiplayerManager failed: "The mod Even Distribution (1.0.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event even-distribution::on_tick (ID 0)
even-distribution/scripts/helpers/LuaPlayer.lua:68: attempt to index local 'cursor_stack' (a nil value)
stack traceback:
even-distribution/scripts/helpers/LuaPlayer.lua:68: in function <even-distribution/scripts/helpers/LuaPlayer.lua:64>
(...tail calls...)
even-distribution/scripts/drag.lua:39: in function 'distributeItems'
even-distribution/scripts/drag.lua:19: in function 'func'
even-distribution/framework.lua:99: in function <even-distribution/framework.lua:98>"
526160.912 Info ServerMultiplayerManager.cpp:780: updateTick(42117205) changing state from(InGame) to(Failed)

If you need more info tell me where to find it please :)

3 years ago

Should be fixed in the next version

3 years ago

Ty very much :D
Great work :)

New response