Don't Starve Together

Don't Starve Together

EditedAnims
fyc12365 Feb 9, 2022 @ 1:12am
模组崩溃
来狗的时候就崩溃,下面是最后的日志
[00:07:56]: [string "scripts/prefabs/hound.lua"]:373: attempt to index field 'health' (a nil value)
LUA ERROR stack traceback:
scripts/entityscript.lua:1120 in (method) PushEvent (Lua) <1107-1134>
self (valid:true) =
modactioncomponents = table: 0CB3B930
inlimbo = false
brain = --brain--
sleep time: 0.02
Priority - RUNNING <RUNNING> (execute 1, eval in 0.02)>0.02
>Parallel - RUNNING <RUNNING> ()>0.02
> >NotJumpingBehaviour - READY <SUCCESS> ()>0.00
> >Priority - RUNNING <RUNNING> (execute 6, eval in 0.02)>0.02
> > >Parallel - FAILED <FAILED> ()>0.00
> > > >PanicHaunted - FAILED <FAILED> ()>0.00
> > > >Panic - READY <READY> ()>0.00
> > >Parallel - FAILED <FAILED> ()>0.00
> > > >OnFire - FAILED <FAILED> ()>0.00
> > > >Panic - READY <READY> ()>0.00
> > >Parallel - FAILED <FAILED> ()>0.00
> > > >NoLeader - FAILED <FAILED> ()>0.00
> > > >AttackWall - READY <READY> ()>0.00
> > >Parallel - FAILED <FAILED> ()>0.00
> > > >Is Pet - FAILED <FAILED> ()>0.00
> > > >ChaseAndAttack - READY <READY> ()>0.00
> > >Parallel - FAILED <FAILED> ()>0.00
> > > >No Pet Has Home - FAILED <FAILED> ()>0.00
> > > >ChaseAndAttack - READY <READY> ()>0.00
> > >Parallel - R [**truncated**]
sounds = table: 16370330
AnimState = table: 0CB388E8
Network = Network (273FEE40)
pendingtasks = table: 0CB3EA18
sg = sg="hound", state="run_start", time=0.03, tags = "moving,running,canrotate,"
spawntime = 362.53335224092
userdatas = table: 0CB381E0
EoldPushAnimation = function - ../mods/workshop-2384660166/userdatahook.lua:109
Transform = Transform (273FEDE0)
actionreplica = table: 0CB38AF0
event_listening = table: 0CB383E8
actioncomponents = table: 0CB37CB8
lower_components_shadow = table: 0CB37A60
yutu_sanityaura = 126763 - (valid:true)
userdatahooks = table: 0CB37D08
entity = Entity (2599BCA0)
name = 蓝色猎犬
EoldIsCurrentAnimation = function - ../mods/workshop-2384660166/userdatahook.lua:109
updatecomponents = table: 0CB3CAB0
prefab = icehound
EoldSetBank = function - ../mods/workshop-2384660166/userdatahook.lua:109
OnLoad = function - scripts/prefabs/hound.lua:286
Physics = Physics (273FF280)
EoldPlayAnimation = function - ../mods/workshop-2384660166/userdatahook.lua:152
brainfn = table: 1636E828
SoundEmitter = SoundEmitter (273FEF40)
OnSave = function - scripts/prefabs/hound.lua:281
GUID = 126762
OnEntitySleep = function - scripts/prefabs/hound.lua:261
worldstatewatching = table: 148D1100
DynamicShadow = DynamicShadow (273FF0E0)
replica = table: 0CB37B50
persists = true
components = table: 0CB37998
event_listeners = table: 0CB37E48
event = stopfollowing
data = table: 5CF9BFB0
listeners = table: 148D1650
tocall = table: 5CF9C0F0
i = 1
fn = function - scripts/prefabs/hound.lua:369
scripts/components/leader.lua:94 in (method) RemoveFollower (Lua) <81-98>
self =
_onfollowerremoved = function - scripts/components/leader.lua:25
inst = 124158 - skyhound_warg (valid:true)
followers = table: 0E985F88
numfollowers = 3
_onfollowerdied = function - scripts/components/leader.lua:24
follower = 126762 - icehound (valid:true)
invalid = nil
scripts/components/follower.lua:235 in (method) SetLeader (Lua) <228-268>
self =
OnLeaderRemoved = function - scripts/components/follower.lua:26
inst = 126762 - icehound (valid:true)
cached_new_player_spawned_fn = function - scripts/components/follower.lua:31
cached_player_join_fn = function - scripts/components/follower.lua:30
_ = table: 0CB3CBC8
canaccepttarget = true
new_leader = nil
prev_leader = 124158 - skyhound_warg (valid:true)
changed_leader = true
leader_cmp = table: 0E986320
scripts/components/follower.lua:3 in (local) fn (Lua) <1-5>
inst = 126762