Don't Starve Together

Don't Starve Together

[API] Gem Core
Using Deconstruction Staff to disassemble items can sometimes cause the server to crash
[00:47:13]: [string "scripts/prefabs/staff.lua"]:551: bad argument #2 to 'SetPosition' (number expected, got nil)
LUA ERROR stack traceback:
=[C]:-1 in (method) SetPosition (C) <-1--1>
scripts/prefabs/staff.lua:551 in (local) SpawnLootPrefab (Lua) <526-556>
inst = 128469 - medal_livingroot_chest (valid:false)
lootprefab = gemprefab_livinglog_643
loot = 174238 - livinglog (valid:true)
x = nil
y = nil
z = nil
../mods/workshop-1378549454/gemscripts/gemdictionary/loot.lua:154 in (global) ipairs (Lua) <119-159>
t = table: 00000000B9CBFD20
arg = nil
DESTSOUNDSMAP = table: 000000008C91A230
SpawnLootPrefab = function - scripts/prefabs/staff.lua:526
target = 128469 - medal_livingroot_chest (valid:false)
recipe = table: 00000000B9CBF2D0
ingredient_percent = 1
caster = 150376 - wickerbottom (valid:true)
stacklevel = 2
ingredientsdata = table: 000000009E77EC10
k = 1
v = table: 00000000BA08EEA0
amt = 6
spawnfn = function - ../mods/workshop-1378549454/gemscripts/gemdictionary/loot.lua:21
playedsoundloot = table: 000000007E5F32B0
_ = 1
loot = gemprefab_livinglog_643
scripts/prefabs/staff.lua:576 in (field) spell (Lua) <558-653>
staff = 123561 - greenstaff(LIMBO) (valid:true)
target = 126835 - medal_livingroot_chest (valid:true)
recipe = table: 00000000B9CBF2D0
ingredient_percent = 1
caster = 150376 - wickerbottom (valid:true)
scripts/components/spellcaster.lua:153 in (method) CastSpell (Lua) <151-159>
self =
canuseondead = false
inst = 123561 - greenstaff(LIMBO) (valid:true)
_ = table: 00000000CE70DDB0
target = 126835 - medal_livingroot_chest (valid:true)
pos = nil
doer = 150376 - wickerbottom (valid:true)
scripts/actions.lua:2571 in (field) fn (Lua) <2566-2574>
act = 施放法术 126835 - medal_livingroot_chest With Inv: 123561 - greenstaff(LIMBO) (valid:true)
staff = 123561 - greenstaff(LIMBO) (valid:true)
act_pos = nil
scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
self (valid:true) =
action = table: 0000000082441BB0
doer = 150376 - wickerbottom (valid:true)
onfail = table: 00000000A7182E60
doerownsobject = true
rotation = 0
options = table: 00000000A7182AA0
distance = 20
autoequipped = true
onsuccess = table: 00000000A7182FF0
invobject = 123561 - greenstaff(LIMBO) (valid:true)
target = 126835 - medal_livingroot_chest (valid:true)
scripts/entityscript.lua:1506 in (upvalue) _PerformBufferedAction (Lua) <♥♥♥♥-1521>
self (valid:true) =
_PostActivateHandshakeState_Client = 0
GetMoistureRateScale = function - scripts/prefabs/player_common.lua:254
SetCameraDistance = function - scripts/prefabs/player_common.lua:1478
CanSeePointOnMiniMap = function - scripts/prefabs/player_common_extensions.lua:813
skeleton_prefab = skeleton_player
EnableBoatCamera = function - scripts/prefabs/player_common.lua:893
MakeGenericCommander = function - scripts/prefabs/player_common_extensions.lua:824
IsOverheating = function - scripts/prefabs/player_common.lua:224
IsActing = function - scripts/prefabs/player_common_extensions.lua:865
Light = Light (0000000053CCC500)
ShowHUD = function - scripts/prefabs/player_common.lua:1450
ResetMinimapOffset = function - scripts/prefabs/player_common.lua:1462
medal_build_list = net_string (0000000055D34BA0)
ApplyScale = function - scripts/prefabs/player_common.lua:1557
IA_OnNewSpawn = function - scripts/prefabs/player_common.lua:1381
ShowActions = function - scripts/prefabs/player_common.lua:1444
OnWakeUp = function - scripts/prefabs/player_common.lua:1308
Transform = Transform (0000000053CCBFC0)
actionreplica = table: 000000009FDA0E60
event_listening = table: 000000009FDA2120
actioncomponents = table: 000000009FDA0DC0
medal_fixtag = table: 0000000055D32F80
SwapAllCharacteristics = function - scripts/prefabs/player_common.lua:2044
temporary_no_moisture = true
updatecomponen
< >
Showing 1-1 of 1 comments
Zarklord  [developer] 3 Mar @ 12:45pm 
this should be fixed, I have no idea how it could even occur, but nonetheless, it won't crash anymore
< >
Showing 1-1 of 1 comments
Per page: 1530 50