Don't Starve Together

Don't Starve Together

Large Containers
demonyte 16 Jun, 2021 @ 10:12am
Crash
Happens when i open some of large chests
[00:18:28]: [string "scripts/components/container_replica.lua"]:66: attempt to index field 'inventoryitem' (a nil value)
LUA ERROR stack traceback:
scripts/components/container_replica.lua:66 in (upvalue) SetOpener (Lua) <62-72>
self =
usespecificslotsforitems = false
type = chest
_onitemget = function - scripts/components/container_replica.lua:26
acceptsstacks = true
openers = table: 82B9C8D0
_numslots = 25
classified = 116780 - container_classified (valid:true)
_onitemlose = function - scripts/components/container_replica.lua:34
_isopen = false
issidewidget = false
_cannotbeopened = net_bool (82AECED0)
widget = table: 0B6A7BF0
inst = 116779 - largechest (valid:true)
opener = 125352 - wickerbottom (valid:true)
k = 24
v = 116822 - armor_rock(LIMBO) (valid:false)
scripts/components/container_replica.lua:182 in (method) AddOpener (Lua) <178-193>
self =
usespecificslotsforitems = false
type = chest
_onitemget = function - scripts/components/container_replica.lua:26
acceptsstacks = true
openers = table: 82B9C8D0
_numslots = 25
classified = 116780 - container_classified (valid:true)
_onitemlose = function - scripts/components/container_replica.lua:34
_isopen = false
issidewidget = false
_cannotbeopened = net_bool (82AECED0)
widget = table: 0B6A7BF0
inst = 116779 - largechest (valid:true)
opener = 125352 - wickerbottom (valid:true)
opencount = 1
scripts/components/container.lua:374 in (method) Open (Lua) <357-401>
self =
opencount = 1
ignoresound = false
onopenfn = function - ../mods/workshop-943773166/scripts/prefabs/largechest.lua:13
GiveItem = function - ../mods/workshop-1796262426/modmain.lua:846
inst = 116779 - largechest (valid:true)
slots = table: 82BA0930
GiveItem_old_invburn = function - scripts/components/container.lua:211
ConsumeItemsByFn = function - ../mods/workshop-1418878027/scripts/gf_init_components.lua:125
openlist = table: 82BA06D8
OnUpdate = function - ../mods/workshop-1658297375/modmain.lua:334
_ = table: 82BA0660
onclosefn = function - ../mods/workshop-943773166/scripts/prefabs/largechest.lua:20
doer = 125352 - wickerbottom (valid:true)
inventory = table: 19302398
scripts/actions.lua:638 in (field) fn (Lua) <609-643>
act = Close 116779 - largechest (valid:true)
targ = 116779 - largechest (valid:true)
owner = nil
scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
self (valid:true) =
action = table: 0FCFEC78
doer = 125352 - wickerbottom (valid:true)
onfail = table: 475CAE90
doerownsobject = false
rotation = 0
onsuccess = table: 475CAF30
options = table: 475CAC10
target = 116779 - largechest (valid:true)
scripts/entityscript.lua:1325 in (method) PerformBufferedAction (Lua) <1312-1335>
self (valid:true) =
checkamber = net_shortint (0B141CC0)
checkevil = net_shortint (0B141B38)
rope_bridge_deploy_string_colour_boards = table: 1733FAE8
currentfullhunger = net_shortint (146E2408)
player_classified = 125353 - player_classified (valid:true)
currentkoaelefant = net_shortint (146E20C0)
checkoldage = net_shortint (146E2210)
currentrespawnamount = net_shortint (146E2E50)
currentbirchnut = net_shortint (146E2478)
checkbirdclop = net_shortint (0B131C28)
currentruncount = net_shortint (146E3010)
currentmasterchef = net_shortint (146E4548)
currentboats = net_shortint (146E2DE0)
checksick = net_shortint (0B141AC8)
currentpickamount = net_shortint (146E2EC0)
checkgoodman = net_shortint (0B1312C0)
checkpacifist = net_shortint (146E2C90)
SetGhostMode = function - scripts/prefabs/player_common.lua:682
ShowActions = function - scripts/prefabs/player_common.lua:1108
OnWakeUp = function - scripts/prefabs/player_common.lua:978
Transform = Transform (18E37250)
checksuperstar = n
[00:18:29]: [string "scripts/components/container_replica.lua"]:66: attempt to index field 'inventoryitem' (a nil value)
LUA ERROR stack traceback:
scripts/components/container_replica.lua:66 in (upvalue) SetOpener (Lua) <62-72>
scripts/components/container_replica.lua:182 in (method) AddOpener (Lua) <178-193>
scripts/components/container.lua:374 in (method) Open (Lua) <357-401>
scripts/actions.lua:638 in (field) fn (Lua) <609-643>
scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
scripts/entityscript.lua:1325 in (method) PerformBufferedAction (Lua) <1312-1335>
scripts/stategraphs/SGwilson.lua:5182 in (field) fn (Lua) <5176-5184>
scripts/stategraph.lua:572 in (method) UpdateState (Lua) <540-584>
scripts/stategraph.lua:611 in (method) Update (Lua) <603-631>
scripts/stategraph.lua:128 in (method) Update (Lua) <109-153>
scripts/update.lua:233 in () ? (Lua) <164-243>

[00:18:29]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen?
[00:18:29]: stack traceback:
scripts/widgets/widget.lua:604 in (method) SetFocusFromChild (Lua) <601-626>
scripts/widgets/widget.lua:623 in (method) SetFocusFromChild (Lua) <601-626>
scripts/widgets/widget.lua:623 in (method) SetFocusFromChild (Lua) <601-626>
scripts/widgets/widget.lua:648 in (method) SetFocus (Lua) <628-657>
scripts/widgets/menu.lua:83 in (method) SetFocus (Lua) <74-85>
scripts/widgets/scripterrorwidget.lua:109 in (method) OnUpdate (Lua) <102-119>
scripts/update.lua:95 in () ? (Lua) <33-134>