Don't Starve Together

Don't Starve Together

My Pet
This topic has been locked
Duorhs 8 Nov, 2020 @ 12:19am
Crash after put items into pet's storage
LUA ERROR stack traceback:
scripts/prefabs/bullkelp_beached.lua:19 in (field) onpickupfn (Lua) <15-27>
inst = 125002 - bullkelp_beachedroot (valid:false)
pickupguy = 124942 - wendy (valid:true)
src_pos = nil
kelp = 126525 - kelp (valid:true)
scripts/components/inventoryitem.lua:281 in (method) OnPickup (Lua) <261-282>
self =
isnew = false
nobounce = false
pushlandedevents = true
onpickupfn = function - scripts/prefabs/bullkelp_beached.lua:15
IsHeldBy = function - ../mods/workshop-1909182187/scripts/medal_hook.lua:1055
is_landed = false
inst = 125002 - bullkelp_beachedroot (valid:false)
keepondeath = false
trappable = true
canbepickedupalive = false
_ = table: 21D3BA60
sinks = false
pickupguy = 124942 - wendy (valid:true)
src_pos = nil
scripts/components/inventory.lua:632 in (method) GiveActiveItem (Lua) <628-643>
self =
ignoreoverflow = false
isvisible = true
silentfull = false
inst = 124942 - wendy (valid:true)
equipslots = table: 285B6CA0
Equip = function - ../mods/workshop-1818688368/modmain.lua:72
DropSuiji = function - ../mods/workshop-661253977/modmain.lua:40
oldDropEverythingFn = function - scripts/components/inventory.lua:1157
ignoresound = false
isopen = true
dropondeath = false
EquipMedalWithName = function - ../mods/workshop-1909182187/scripts/medal_hook.lua:1090
EquipHasTag = function - ../mods/workshop-1909182187/scripts/medal_hook.lua:1086
DropEverything = function - ../mods/workshop-661253977/modmain.lua:94
ignorefull = false
GetOverflowContainer = function - ../mods/workshop-1818688368/modmain.lua:86
PlayerSiWang = function - ../mods/workshop-661253977/modmain.lua:78
_ = table: 285B6138
itemslots = table: 285B6BB0
opencontainers = table: 285B6908
inst = 125002 - bullkelp_beachedroot (valid:false)
scripts/components/container.lua:728 in (method) SwapActiveItemWithSlot (Lua) <712-730>
self =
ignoresound = false
onopenfn = function - ../mods/workshop-1898077974/scripts/prefabs/critters.lua:725
slots = table: 21C39D38
inst = 124991 - critter_kitten (valid:true)
GetSpecificMedalSlotForItem = function - ../mods/workshop-1909182187/scripts/medal_hook.lua:992
DropSuiji = function - ../mods/workshop-661253977/modmain.lua:12
_ = table: 21C39B58
onclosefn = function - ../mods/workshop-1898077974/scripts/prefabs/critters.lua:797
slot = 4
inventory = table: 285B60E8
active_item = 117623 - guano(LIMBO) (valid:true)
item = 125002 - bullkelp_beachedroot (valid:false)
scripts/networkclientrpc.lua:555 in () ? (Lua) <542-559>
player = 124942 - wendy (valid:true)
slot = 4
container = table: 21C39EA0
inventory = table: 285B60E8
=[C]:-1 in (method) CallRPC (C) <-1--1>
scripts/networkclientrpc.lua:1035 in (global) HandleRPCQueue (Lua) <1026-1071>
i = 1
fn = function - scripts/networkclientrpc.lua:542
sender = 124942 - wendy (valid:true)
data = table: 21C8EFD8
tick = false
scripts/update.lua:46 in () ? (Lua) <33-134>
dt = 0.016667300835252

[00:07:52]: [string "scripts/prefabs/bullkelp_beached.lua"]:19: attempt to index local 'src_pos' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/bullkelp_beached.lua:19 in (field) onpickupfn (Lua) <15-27>
scripts/components/inventoryitem.lua:281 in (method) OnPickup (Lua) <261-282>
scripts/components/inventory.lua:632 in (method) GiveActiveItem (Lua) <628-643>
scripts/components/container.lua:728 in (method) SwapActiveItemWithSlot (Lua) <712-730>
scripts/networkclientrpc.lua:555 in () ? (Lua) <542-559>
=[C]:-1 in (method) CallRPC (C) <-1--1>
scripts/networkclientrpc.lua:1035 in (global) HandleRPCQueue (Lua) <1026-1071>
scripts/update.lua:46 in () ? (Lua) <33-134>

[00:07:52]: 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:07:52]: stack traceback:
scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
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>

Can you figure out by this log if this is related to your mod only or other mods that caused this bug?
If need, I can disable other mods to do a check on this.
< >
Showing 1-4 of 4 comments
Duorhs 8 Nov, 2020 @ 12:24am 
The Workshop IDs shown in the log , one is extra equip slot, one is Functional Medal that add a medal slot , and one is death don't drop anything.
Kyoshiro  [developer] 8 Nov, 2020 @ 2:38am 
Hello @Duorhs, I tried testing but had no problem using My Pet, I put the items in container but had no problem. I also often use the Don't Drop Everything, Extra equip slot and have no problems with it. Please turn off other mods and try again. Best regards.
Last edited by Kyoshiro; 8 Nov, 2020 @ 2:39am
Duorhs 8 Nov, 2020 @ 4:25am 
@Kyōshirō Thanks for replying.I create a new world with the same mods list as the old game, put some wood log into pet's storage, but no crash happened.Then I went back to the old world ,re-did what i did before, open the storage UI ,put some meat into my cat ,nothing happened .And when I click my cat with guano ,my cat or my character said something like "i cant".The storage UI opened and show the guano but the world disconnected.It seems like one of my mods makes guano or poo interactive with pets so caused the crash.I run almost 30 mods on my dedicated server and every mods are need so far .So if there is no one meeting this bug and I'm in a rare situation maybe I should just told my friends not to use the storage yet to "fix" this .Thanks btw,this is a really good mod!
Last edited by Duorhs; 8 Nov, 2020 @ 3:54pm
Kyoshiro  [developer] 10 Nov, 2020 @ 1:34pm 
@Duorhs I think there was a conflict however it's too general so I'm not sure. The report doesn't specify which mod caused the error, so it's hard to help you. It is general.

I am also trying out Functional Medal, since I noticed that there are 4 mods related to the container, but I enabled these 4 mods (My Pet, Extra Equip Slots (Updated), 能力勋章 Functional Medal, Don't Drop Everything) but without any errors occurring.

I'm sorry and I'm really sorry, I haven't been able to help you for the time being. I will continue to research on this with my team further to help you.
Last edited by Kyoshiro; 10 Nov, 2020 @ 1:39pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50