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.

Smirks

RoG: Catcoon death crash (repeatable)

Recommended Posts

Smirks    1

No mods.

Steps to reproduce:

1. Befriend catcoon

2. Go underground

3. Come above ground

4. Catcoon killed / dies

Error: crash

Crash output:

scripts/prefabs/catcoonden.lua:125: attempt to index field 'childspawner' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/catcoonden.lua:125 in (field) onchildkilledfn (Lua) <122-129>
   inst = 104295 - catcoonden (valid:true)
   child = 107549 - catcoon (valid:true)
scripts/components/childspawner.lua:380 in (method) OnChildKilled (Lua) <374-387>
   self =
      spawning = false
      spawnoffscreen = false
      childreninside = 
      spawnvariance = 3
      inst = 104295 - catcoonden (valid:true)
      timetonextspawn = 
      regenperiod = 120
      maxchildren = 1
      canspawnfn = function - @scripts/prefabs/catcoonden.lua:115
      rarechildchance = 0.1
      timetonextregen = 119.24173779564
      regening = false
      spawnperiod = 30
      regenvariance = 12
      numchildrenoutside = 1
      childrenoutside = table: 0x17ee5aa0
      onchildkilledfn = function - @scripts/prefabs/catcoonden.lua:122
      childname = catcoon
   child = 107549 - catcoon (valid:true)
scripts/components/childspawner.lua:257 in (local) fn (Lua) <257-257>
scripts/entityscript.lua:736 in (method) PushEvent (Lua) <730-753>
   self (valid:true) =
      GUID = 107549
      inlimbo = false
      brain = --brain--
sleep time: 0.00
Priority - RUNNING <RUNNING> (execute 7, eval in 0.02)>0.00
   >Parallel - READY <READY> ()>0.00
   >   >OnFire - READY <READY> ()>0.00
   >   >Panic - READY <READY> ()>0.00
   >Sequence - READY <READY> ()>0.00
   >   >hairball - READY <READY> ()>0.00
   >   >hairballact - READY <READY> ()>0.00
   >ChaseAndAttack - READY <READY> ()>0.00
   >whine - READY <READY> ()>0.00
   >Follow - READY <READY> ()>0.00
   >Parallel - READY <READY> ()>0.00
   >   >GoingHome - READY <READY> ()>0.00
   >   >go home - READY <READY> ()>0.00
   >play - RUNNING <RUNNING> ()>0.00
   >Sequence - READY <READY> ()>0.00
   >   >has leader - READY <READY> ()>0.00
   >   >FaceEntity - READY <READY> ()>0.00
   >Leash - READY <READY> ()>0.00
   >RunAway - READY <READY> ()>0.00
   >Wander - READY <READY> ()>0.00

      hiss = false
      numretches = 2
      AnimState = AnimState (0x1b1b44d0)
      nap_length = 37
      friendGiftPrefabs = table: 0x156c6da8
      last_sleep_time = 2232.4667830989
      pendingtasks = table: 0x19c395b0
      sg = sg="catcoon", state="walk", time=0.80, tags = "moving,canrotate,"
      spawntime = 
      nap_interval = 106
      Transform = Transform (0x19c34d70)
      vomit = 176495 - wetgoop (valid:false)
      event_listening = table: 0x19c39670
      hairball_neutral_interval = 366
      last_play_air_time = 1350.0667370781
      last_hairball_time = 2227.4667828381
      prefab = catcoon
      updatecomponents = table: 0x1497bb30
      hairballfollowup = true
      PickRandomGift = function - @scripts/prefabs/catcoon.lua:240
      DynamicShadow = DynamicShadow (0x114ecf30)
      Physics = Physics (0x19c365a8)
      hairball_friend_interval = 30
      brainfn = table: 0xfe1e5a0
      SoundEmitter = SoundEmitter (0x114ecef8)
      neutralGiftPrefabs = table: 0x156c64b8
      event_listeners = table: 0x19c395d8
      entity = Entity (0x19c352c8)
      name = Catcoon
      persists = true
      age = 
      components = table: 0x114eced0
      last_wake_time = 1273.5667330883
   event = death
   data = table: 0x197ac130
   listeners = table: 0x19c3a0c8
   entity = 104295 - catcoonden (valid:true)
   fns = table: 0x1d4f1050
   i = 1
   fn = function - @scripts/components/childspawner.lua:257
scripts/components/health.lua:274 in (method) SetVal (Lua) <254-284>
   self =
      minhealth = 
      absorb = 
      vulnerabletoheatdamage = true
      canheal = true
      maxhealth = 150
      fire_damage_scale = 1
      vulnerabletopoisondamage = true
      invincible = false
      canmurder = true
      penalty = 
      inst = 107549 - catcoon (valid:true)
      poison_damage_scale = 1
      takingfiredamage = false
      takingfiredamagetime = 
      currenthealth = 
      nofadeout = false
   val = 
   cause = hound
   old_percent = 0.13333333333333
   new_percent = 
scripts/components/health.l
CURL ERROR: <url> malformed
scripts/mainfunctions.lua(852,1) LUA ERROR stack traceback:
        scripts/mainfunctions.lua(852,1)	
scripts/mainfunctions.lua(853,1) scripts/prefabs/catcoonden.lua:125: attempt to index field 'childspawner' (a nil value)
LUA ERROR stack traceback:
    scripts/prefabs/catcoonden.lua:125 in (field) onchildkilledfn (Lua) <122-129>
    scripts/components/childspawner.lua:380 in (method) OnChildKilled (Lua) <374-387>
    scripts/components/childspawner.lua:257 in (local) fn (Lua) <257-257>
    scripts/entityscript.lua:736 in (method) PushEvent (Lua) <730-753>
    scripts/components/health.lua:274 in (method) SetVal (Lua) <254-284>
    scripts/components/health.lua:302 in (method) DoDelta (Lua) <286-317>
    scripts/components/combat.lua:453 in (method) GetAttacked (Lua) <386-524>
    scripts/components/combat.lua:869 in (method) DoAttack (Lua) <832-896>
    scripts/stategraphs/SGhound.lua:56 in (field) fn (Lua) <56-56>
    scripts/stategraph.lua:485 in (method) UpdateState (Lua) <453-497>
    scripts/stategraph.lua:524 in (method) Update (Lua) <516-544>
    scripts/stategraph.lua:120 in (method) Update (Lua) <104-143>
    scripts/update.lua:135 in () ? (Lua) <79-148>
	
scripts/frontend.lua(723,1) SCRIPT ERROR! Showing error screen	
QueryServerComplete no callback
Force aborting...

 

Share this post


Link to post
Share on other sites
HelenAngel    0

I am getting the same crash but with a slightly different repro.

1. Catcoons go into my base

2. Catcoons start hissing at Hollow Stump in my base

3. I figure this is because the difference between neutral/friendly catcoons so I start giving them all feathers

4. First ones to get the feathers start fighting

5. Game crashes with the same error above

I've seen catcoons get killed by other means (bees, etc.) but it didn't crash my game or give the 'childspawner' error. I'm on "vanilla" as well.

Share this post


Link to post
Share on other sites
JanH    6,493

Hey folks, thank you for the report. We were able to reproduce this on our end and have a fix for it that we will include when we have a patch for the game. 

Share this post


Link to post
Share on other sites