Inventory Mover


Quickly move items between inventory entities, chests, trains, etc. Cutting your own inventory out of the process.

Utilities
22 days ago
1.1 - 2.0
4.25K

b Error occurs when using command

11 months ago

Hello. The MOD you developed is very useful and always helps me.

By the way, when I try to use Ctrl+Shift+LMB or RMB on chests or cars, I get the following error:

Inventory Mover (0.1.3)のMODが回復不能なエラーを発生させました。
MOD作成者にこのエラーを報告してください。
(Ctrl+Shift+RMB)
Error while running event inventory-mover::select-transfer-source (ID 225)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__inventory-mover
/control.lua:64: in function 'checkGlobal'
inventory-mover/control.lua:48: in function <inventory-mover/control.lua:42>

(Ctrl+Shift+LMB)
Inventory Mover (0.1.3)のMODが回復不能なエラーを発生させました。
MOD作成者にこのエラーを報告してください。

Error while running event inventory-mover::transfer-to-destination (ID 193)
inventory-mover/control.lua:184: bad argument #2 of 3 to 'index' (string expected, got number)
stack traceback:
[C]: in function '__index'
__inventory-mover
/control.lua:184: in function <inventory-mover/control.lua:178>

I've been using this save data every day, but this is the first time I've encountered errors like these.
This MOD command may not have been used for about a week.
I updated MODs to the latest version the day before yesterday.
When I put this MOD into vanilla data, it worked fine.

Could you please investigate the cause of these errors?
I'll attach the save data in question.
https://drive.google.com/file/d/19LzRa-m38PpEYRX35o7uhIaFquFYYZU0/view?usp=sharing

(Google Translation)

11 months ago

I was worried this would happen. This is caused because you had an invalid LuaEntity as your "source" when you upgraded to 0.1.3

A workaround might be, to downgrade to 0.1.2, select a valid source entity (RMB), save, then upgrade to 0.1.3

Or, I'll be pushing a fix later today.

11 months ago

Ended up having some free time, fixed in 0.1.4 !

素敵な工場!

11 months ago

Thanks for the quick fix. It's a great MOD!

New response