Merging Chests

by Atria

Enables merging of multiple chests into one entity. Supports merging of arbitrary number of chests (configurable in mod settings). Version 5.0.0 introduced potentially breaking changes for old saves. If your have chests larger than 42 don't update to 5.0.0.

Content
a month ago
0.13 - 1.1
98.8K
Storage

b [5.0.2-5.0.3] Trying to merging chests 10*500 and 500*10

2 months ago
(updated 2 months ago)

Gorizontal merging:

724.515 Script @WideChests/init.lua:160: Merging chests mod settings for "wooden-chest": {chest_name = "wooden-chest", circuit_connector_position = "center-center", inventory_size_limit = 10000, inventory_size_multiplier = 1, max_area = 65000, max_height = 20000, max_width = 20000, mergeable_chest = "chest-warehouse-trashdump", size_whitelist = {long text parameters}
724.817 Script @WideChests/init.lua:160: Merging chests mod settings for "WideChests_wooden-chest-trashdump-500x10": {chest_name = "WideChests_wooden-chest-trashdump-500x10", circuit_connector_position = "center-center", inventory_size_limit = 10000, inventory_size_multiplier = 1, max_area = 65000, max_height = 20000, max_width = 20000, size_whitelist = {long text parameters}
724.955 Error MainLoop.cpp:1391: Exception at tick 25854477: Мод Merging Chests (5.0.3) Π²Ρ‹Π·Π²Π°Π» Π½Π΅ΡƒΡΡ‚Ρ€Π°Π½ΠΈΠΌΡƒΡŽ ΠΎΡˆΠΈΠ±ΠΊΡƒ.
ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, сообщитС ΠΎΠ± этой ошибкС Π°Π²Ρ‚ΠΎΡ€Ρƒ ΠΌΠΎΠ΄Π°.

Error while running event WideChests::on_player_selected_area (ID 51)
Given bar value (80001) is too big, the data type allows values from 1 to 65536
stack traceback:
[C]: in function 'set_bar'
WideChests/control_init.lua:82: in function 'move_inventory_bar'
WideChests/scripts/event_handlers/merge_chest.lua:185: in function <WideChests/scripts/event_handlers/merge_chest.lua:174>

Vertical merging:

3578.307 Script @WideChests/init.lua:160: Merging chests mod settings for "wooden-chest": {chest_name = "wooden-chest", circuit_connector_position = "center-center", inventory_size_limit = 10000, inventory_size_multiplier = 1, max_area = 65000, max_height = 20000, max_width = 20000, mergeable_chest = "chest-warehouse-trashdump", size_whitelist = {long text parameters}
3578.607 Script @WideChests/init.lua:160: Merging chests mod settings for "WideChests_wooden-chest-trashdump-10x500": {chest_name = "WideChests_wooden-chest-trashdump-10x500", circuit_connector_position = "center-center", inventory_size_limit = 10000, inventory_size_multiplier = 1, max_area = 65000, max_height = 20000, max_width = 20000, size_whitelist = {long text parameters}
3578.744 Error MainLoop.cpp:1391: Exception at tick 25860413: Мод Merging Chests (5.0.3) Π²Ρ‹Π·Π²Π°Π» Π½Π΅ΡƒΡΡ‚Ρ€Π°Π½ΠΈΠΌΡƒΡŽ ΠΎΡˆΠΈΠ±ΠΊΡƒ.
ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, сообщитС ΠΎΠ± этой ошибкС Π°Π²Ρ‚ΠΎΡ€Ρƒ ΠΌΠΎΠ΄Π°.

Error while running event WideChests::on_player_selected_area (ID 51)
Given bar value (80001) is too big, the data type allows values from 1 to 65536
stack traceback:
[C]: in function 'set_bar'
WideChests/control_init.lua:82: in function 'move_inventory_bar'
WideChests/scripts/event_handlers/merge_chest.lua:185: in function <WideChests/scripts/event_handlers/merge_chest.lua:174>

For information:

I have many chests configured from 1x2 and 2x1 to 1x20000 and 20000x1, from 2x2 to 250x250 (square). In fact standing 1x5000, 1x4000, 4000x1 and a bunch of small ones in the range of 1x2-500 and 2-500x1, as well as square 2x2, 3x3, 5x5, etc. I added 10x500 and 500x10 its doed error.

{long text parameters} - the text does not fit into the message window

a month ago

Fixed in 5.1.0

New response