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
13 days ago
0.13 - 2.0
115K
Storage

b server error on tool use

4 years ago
(updated 4 years ago)

Hello,

I somehow crashed the server when trying to make/merge a 1(w)x6(h) chest. I was able to make a 6x1 chest without issue right before I tried a 1x6. Log file from the headless server is below as well as a link to the mod settings screenshot. I mainly just want to able to create a 1 or 2 row/column chests by 'N'.

I also have your complementary mod installed: https://mods.factorio.com/mod/WideChestsAllTypes

https://imgur.com/a/BRTqaYm

[May 8, 2020 10:50 AM] 139.301 Script @RaiLuaLib/lualib/event.lua:306: Tried to re-register conditional event [enable_gui_on_next_ltn_update] for player 1, skipping!
[May 8, 2020 10:51 AM] 176.923 Error MainLoop.cpp:1202: Exception at tick 2327300: The mod Merging Chests (3.0.6) caused a non-recoverable error.
[May 8, 2020 10:51 AM] Please report this error to the mod author.
[May 8, 2020 10:51 AM]
[May 8, 2020 10:51 AM] Error while running event WideChests::on_player_selected_area (ID 49)
[May 8, 2020 10:51 AM] Unknown entity name: high-wooden-chest-6
[May 8, 2020 10:51 AM] stack traceback:
[May 8, 2020 10:51 AM] WideChests/control.lua:259: in function 'CreateMergedChest'
[May 8, 2020 10:51 AM] WideChests/control.lua:289: in function <WideChests/control.lua:279>
[May 8, 2020 10:51 AM] stack traceback:
[May 8, 2020 10:51 AM] [C]: in function 'create_entity'
[May 8, 2020 10:51 AM] WideChests/control.lua:259: in function 'CreateMergedChest'
[May 8, 2020 10:51 AM] WideChests/control.lua:289: in function <WideChests/control.lua:279>
[May 8, 2020 10:51 AM] 176.923 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod Merging Chests (3.0.6) caused a non-recoverable error.
[May 8, 2020 10:51 AM] Please report this error to the mod author.
[May 8, 2020 10:51 AM]
[May 8, 2020 10:51 AM] Error while running event WideChests::on_player_selected_area (ID 49)
[May 8, 2020 10:51 AM] Unknown entity name: high-wooden-chest-6
[May 8, 2020 10:51 AM] stack traceback:
[May 8, 2020 10:51 AM] WideChests/control.lua:259: in function 'CreateMergedChest'
[May 8, 2020 10:51 AM] WideChests/control.lua:289: in function <WideChests/control.lua:279>
[May 8, 2020 10:51 AM] stack traceback:
[May 8, 2020 10:51 AM] [C]: in function 'create_entity'
[May 8, 2020 10:51 AM] WideChests/control.lua:259: in function 'CreateMergedChest'
[May 8, 2020 10:51 AM] WideChests/control.lua:289: in function <WideChests/control.lua:279>"
[May 8, 2020 10:51 AM] 176.923 Info ServerMultiplayerManager.cpp:771: updateTick(2327300) changing state from(InGame) to(Failed)
[May 8, 2020 10:51 AM] 176.924 Quitting: multiplayer error.
[May 8, 2020 10:51 AM] 177.143 Info ServerMultiplayerManager.cpp:136: Quitting multiplayer connection.

4 years ago

I don't know how headless servers work. It seems like server doesn't have the wooden merged chests. Is the WideChestsAllTypes mod also enabled on the server?

4 years ago
(updated 4 years ago)

yes, I have just verfied and that is correct. Server and clients need to synchronize mods and settings before hand or else they can't play together.

any more ideas? like I said in my original post, the creation of a horizontal merged chest worked just fine right before I tried a vertical one. Are the mod settings incorrect for what I tried to do?

update: I just saved the game locally from the server. In single player I tried the vertical chest with wood, iron, and steel this time and got a game end error again (works fine on horizontal, but vertical merging crashes the game): https://imgur.com/a/Kctqxtf

4 years ago

Oh, I have a bug in the mod (fixed in 3.0.7) and you have problem with a mod setting. Like this it will only allow chests up to 2 high ("Maximum chest height" mod setting).

4 years ago

works perfect.

thank you!

New response