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 months ago
0.15 - 2.0
412K

b Invalid Entity bug

2 years ago

1209.860 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "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 130)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__even-distribution
/scripts/helpers.lua:21: in function 'index'
__even-distribution
/scripts/drag.lua:224: in function 'onStackTransferred'
even-distribution/scripts/drag.lua:208: in function 'func'
even-distribution/framework.lua:99: in function <even-distribution/framework.lua:98>"

If an entity is replaced while you are planning to insert stuff into said entity, which does happen with mods such as Factory Levels, then this mod crashes.

New response