[Server Crash] - attempt to index field 'childspawner


ToNiO55

Recommended Posts

Bug Submission:

Category: Server Crash

Issue Title: Crash on Server Dedicated

Issue Description: [string "scripts/prefabs/catcoonden.lua"]:64: attempt to index field 'childspawner' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/catcoonden.lua:64 in (field) onchildkilledfn (Lua) <61-68>
inst = 104891 - catcoonden (valid:true)
child = 159657 - catcoon (valid:true)
scripts/components/childspawner.lua:511 in (method) OnChildKilled (Lua) <505-526>
self =
emergencychildreninside = 0
spawning = false
spawnoffscreen = false
childreninside = 1
spawnvariance = 3
inst = 104891 - catcoonden (valid:true)
timetonextspawn = 0
regenperiod = 120
timetonextregen = 129.72443885995
maxemergencycommit = 0
numemergencychildrenoutside = 0
emergencydetectionradius = 10
emergencychildrenoutside = table: 0x14110060
maxchildren = 1
canspawnfn = function - scripts/prefabs/catcoonden.lua:96
rarechildchance = 0.1
emergencychildrenperplayer = 1
maxemergencychildren = 0
regening = false
spawnperiod = 30
regenvariance = 12
numchildrenoutside = -2
childrenoutside = table: 0x141102d8
onchildkilledfn = function - scripts/prefabs/catcoonden.lua:61
childname = catcoon
child = 159657 - catcoon (valid:true)
scripts/components/childspawner.lua:299 in (local) fn (Lua) <299-299>
scripts/entityscript.lua:930 in (method) PushEvent (Lua) <924-947>
self (valid:true) =
GUID = 159657
inlimbo = false
hairball_friend_interval = 60
worldstatewatching = table: 0x15e89838
numretches = 8
AnimState = AnimState (0x12d408c0)
nap_length = 25
friendGiftPrefabs = table: 0xade68d8
Network = Network (0xe7c8c28)
last_sleep_time = 12535.133987091
pendingtasks = table: 0x19312b58
last_wake_time = 12406.300647039
spawntime = 11835.867283955
nap_interval = 101
Transform = Transform (0x166eed38)
vomit = 167994 - pinecone (valid:false)
actionreplica = table: 0x165b23f8
event_listening = table: 0x17754758
hairball_neutral_interval = 427
brain = --brain--
sleep time: 0.02
Priority - RUNNING (execute 3, eval in 0.15)>0.02
>Parallel - READY ()>0.00
> >OnFire - READY ()>0.00
> >Panic - READY ()>0.00
>Sequence - READY ()>0.00
> >hairball - READY ()>0.00
> >hairballact - READY ()>0.00
>ChaseAndAttack - RUNNING ()>0.02
>whine - READY ()>0.00
>Follow - READY ()>0.00
>Parallel - READY ()>0.00
> >GoingHome - READY ()>0.00
> >go home - READY ()>0.00
>play - READY ()>0.00
>Sequence - READY ()>0.00
> >has leader - READY ()>0.00
> >FaceEntity - READY ()>0.00
>Leash - READY ()>0.00
>RunAway - READY ()>0.00
>Wander - READY ()>0.00

last_play_air_time = 12509.233985741
hairballfollowup = true
last_hairball_time = 12297.80064138
hiss = false
prefab = catcoon
updatecomponents = table: 0xe7b0778
Physics = Physics (0xb147f08)
DynamicShadow = DynamicShadow (0x18df9c48)
persists = true
name = Catcoon
brainfn = table: 0xab68c40
SoundEmitter = SoundEmitter (0x1440ba40)
neutralGiftPrefabs = table: 0xade65b8
actioncomponents = table: 0x1af44370
PickRandomGift = function - scripts/prefabs/catcoon.lua:242
entity = Entity (0x19953388)
sg = sg="catcoon", state="hiss", time=2.03, tags = "busy,"
replica = table: 0x12a38f28
components = table: 0x11f50128
event_listeners = table: 0x17eb2100
event = death
data = table: 0x19d22020
listeners = table: 0x12941ea0
entity = 104891 - catcoonden (valid:true)
fns = table: 0x1b5c2210
i = 1
fn = function - scripts/components/childspawner.lua:299
scripts/components/health.lua:286 in (method) SetVal (Lua) <267-296>
self =
minhealth = 0
absorb = 0
vulnerabletoheatdamage = true
invincible = fal
SCRIPT ERROR! Showing error screen
QueryServerComplete no callback

 

 

Steps to Reproduce:

 

i have crash and it's same error on my 2 servers dedicated

unfortunately this happen often, but I can not say exactly when this seems random

 

(sorry i have lost log.txt because i have reboot my server)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.