Jump to content

Bugged king (Game Crashes)


nixmagic
  • Pending

[00:00:00]: Version: 376201
[00:00:00]: Current time: Sat Oct 26 11:00:28 2019

.

.

.

[02:32:30]: [string "scripts/brains/mermguardbrain.lua"]:195: attempt to index field 'king' (a nil value)
LUA ERROR stack traceback:
scripts/brains/mermguardbrain.lua:195 in () ? (Lua) <195-195>
=(tail call):-1 in ()  (tail) <-1--1>
scripts/behaviours/leash.lua:12 in (method) Visit (Lua) <10-28>
   self =
      lastresult = READY
      parent = table: 0x3419af78
      homepos = function - scripts/brains/mermguardbrain.lua:195
      returndist = 2
      running = true
      name = Leash
      status = READY
      inst = 176469 - mermguard (valid:true)
      maxdist = 2
scripts/behaviourtree.lua:578 in (method) Visit (Lua) <554-610>
   self =
      lasttime = 8757.867123425
      name = Priority
      parent = table: 0xb54eac0
      status = READY
      period = 0.25
      children = table: 0x98f74d8
      lastresult = READY
   time = 8757.867123425
   do_eval = true
   oldidx = nil
   old_event = nil
   found = false
   idx = 1
   child = table: 0x295db5a8
   should_test_anyway = nil
scripts/behaviourtree.lua:643 in (method) Visit (Lua) <633-664>
   self =
      name = Parallel
      status = READY
      parent = table: 0x1c7eba48
      children = table: 0x2b5619e8
      lastresult = READY
   done = true
   any_done = true
   idx = 2
   child = table: 0x3419af78
scripts/behaviourtree.lua:578 in (method) Visit (Lua) <554-610>
   self =
      idx = 7
      lasttime = 8757.867123425
      name = Priority
      status = RUNNING
      period = 0.25
      children = table: 0x3035b660
      lastresult = RUNNING
   time = 8757.867123425
   do_eval = true
   oldidx = 7
   old_event = nil
   found = false
   idx = 4
   child = table: 0xb54eac0
   should_test_anyway = nil
scripts/behaviourtree.lua:22 in (method) Update (Lua) <20-27>
   self =
      root = table: 0x1c7eba48
      inst = 176469 - mermguard (valid:true)
      forceupdate = false
scripts/brain.lua:212 in (method) OnUpdate (Lua) <205-214>
   self =
      bt = Priority - RUNNING <RUNNING> (execute 7, eval in 0.25)>0.00
   >Parallel - FAILED <READY> ()>0.00
   >   >OnFire - FAILED <READY> ()>0.00
   >   >Panic - READY <READY> ()>0.00
   >Parallel - FAILED <READY> ()>0.00
   >   >AttackMomentarily - SUCCESS <READY> ()>0.00
   >   >ChaseAndAttack - FAILED <READY> ()>0.00
   >Parallel - FAILED <READY> ()>0.00
   >   >Dodge - FAILED <READY> ()>0.00
   >   >RunAway - READY <READY> ()>0.00
   >Parallel - READY <READY> ()>0.00
   >   >ShouldGoToThrone - SUCCESS <READY> ()>0.00
   >   >Priority - READY <READY> ()>0.00
   >   >   >Leash - READY <READY> ()>0.00
   >   >   >Sequence - READY <READY> ()>0.00
   >   >   >   >IsThroneValid - READY <READY> ()>0.00
   >   >   >   >ActionNode - READY <READY> ()>0.00
   >Sequence - READY <READY> ()>0.00
   >   >chop - READY <READY> ()>0.00
   >   >Parallel - READY <READY> ()>0.00
   >   >   >keep chopping - READY <READY> ()>0.00
   >   >   >Sequence - READY <READY> ()>0.00
   >   >   >   >ChattyNode - READY <READY> ()>0.00
   >   >    [**truncated**]
      events = table: 0x19c71a18
      behaviourqueue = table: 0x1c73c948
      stopped = false
      inst = 176469 - mermguard (valid:true)
scripts/brain.lua:135 in (method) Update (Lua) <105-147>
   self =
      hibernaters = table: 0xa932430
      updaters = table: 0xcd9e8e8
      tickwaiters = table: 0xcd9e910
      instances = table: 0xcd9e8c0
   current_tick = 262736
   waiters = table: 0x232f0108
   k = --brain--
sleep time: 0.00
Priority - RUNNING <RUNNING> (execute 7, eval in 0.25)>0.00
   >Parallel - FAILED <READY> ()>0.00
   >   >OnFire - FAILED <READY> ()>0.00
   >   >Panic - READY <READY> ()>0.00
   >Parallel - FAILED <READY> ()>0.00
   >   >AttackMomentarily - SUCCESS <READY> ()>0.00
   >   >ChaseAndAttack - FAILED <READY> ()>0.00
   >Parallel - FAILED <READY> ()>0.00
   >   >Dodge - FAILED <READY> ()>0.00
   >   >RunAway - READY <READY> ()>0.00
   >Parallel - READY <READY> ()>0.00
   >   >ShouldGoToThrone - SUCCESS <READY> ()>0.00
   >   >Priority - READY <READY> ()>0.00
   >   >   >Leash - READY <READY> ()>0.00
   >   >   >Sequence - READY <READY> ()>0.00
   >   >   >   >IsThron
[02:32:30]: [string "scripts/brains/mermguardbrain.lua"]:195: attempt to index field 'king' (a nil value)
LUA ERROR stack traceback:
    scripts/brains/mermguardbrain.lua:195 in () ? (Lua) <195-195>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/behaviours/leash.lua:12 in (method) Visit (Lua) <10-28>
    scripts/behaviourtree.lua:578 in (method) Visit (Lua) <554-610>
    scripts/behaviourtree.lua:643 in (method) Visit (Lua) <633-664>
    scripts/behaviourtree.lua:578 in (method) Visit (Lua) <554-610>
    scripts/behaviourtree.lua:22 in (method) Update (Lua) <20-27>
    scripts/brain.lua:212 in (method) OnUpdate (Lua) <205-214>
    scripts/brain.lua:135 in (method) Update (Lua) <105-147>
    scripts/update.lua:232 in () ? (Lua) <159-238>
    
[02:32:30]: 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?    
[02:32:30]: 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:90 in () ? (Lua) <33-129>   


Steps to Reproduce
Don't know. Crash on my public server.



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...