Sign in to follow this  

Hermit brain


cezarica
  • Fixed

[11:15:45]: [string "scripts/brains/hermitcrabbrain.lua"]:272: attempt to index global 'ThePlayer' (a nil value)
LUA ERROR stack traceback:
scripts/brains/hermitcrabbrain.lua:272 in (field) getfn (Lua) <250-277>
   inst = 104231 - hermitcrab (valid:true)
   target = 152021 - winona (valid:true)
   shouldface = 152021 - winona (valid:true)
scripts/behaviours/faceentity.lua:18 in (method) Visit (Lua) <16-56>
   self =
      starttime = 0
      lastresult = READY
      parent = table: 0x28967c10
      getfn = function - scripts/brains/hermitcrabbrain.lua:250
      name = FaceEntity
      status = READY
      keepfn = function - scripts/brains/hermitcrabbrain.lua:279
      inst = 104231 - hermitcrab (valid:true)
scripts/behaviourtree.lua:298 in (method) Visit (Lua) <288-308>
   self =
      idx = 2
      name = Sequence
      status = READY
      parent = table: 0x28968d70
      children = table: 0x28967b90
      lastresult = READY
   done = false
   child = table: 0xc3ec0c0
scripts/behaviourtree.lua:578 in (method) Visit (Lua) <554-610>
   self =
      lasttime = 7226.3003768809
      name = Priority
      parent = table: 0x26726d30
      status = READY
      period = 1
      children = table: 0xc3eb760
      lastresult = READY
   time = 7226.3003768809
   do_eval = true
   oldidx = nil
   old_event = nil
   found = false
   idx = 4
   child = table: 0x28967c10
   should_test_anyway = nil
scripts/behaviourtree.lua:643 in (method) Visit (Lua) <633-664>
   self =
      name = Parallel
      status = READY
      parent = table: 0x26726e50
      children = table: 0x28968e90
      lastresult = READY
   done = true
   any_done = true
   idx = 2
   child = table: 0x28968d70
scripts/behaviourtree.lua:578 in (method) Visit (Lua) <554-610>
   self =
      lasttime = 7226.3003768809
      name = Priority
      parent = table: 0x267270e0
      status = READY
      period = 1
      children = table: 0xc3eb710
      lastresult = READY
   time = 7226.3003768809
   do_eval = true
   oldidx = nil
   old_event = nil
   found = false
   idx = 1
   child = table: 0x26726d30
   should_test_anyway = nil
scripts/behaviourtree.lua:643 in (method) Visit (Lua) <633-664>
   self =
      name = Parallel
      status = READY
      parent = table: 0x1fedb2d0
      children = table: 0x26727060
      lastresult = READY
   done = true
   any_done = true
   idx = 2
   child = table: 0x26726e50
scripts/behaviourtree.lua:578 in (method) Visit (Lua) <554-610>
   self =
      lasttime = 7226.3003768809
      name = Priority
      status = READY
      period = 0.5
      children = table: 0x26727f90
      lastresult = READY
   time = 7226.3003768809
   do_eval = true
   oldidx = nil
   old_event = nil
   found = false
   idx = 9
   child = table: 0x267270e0
   should_test_anyway = nil
scripts/behaviourtree.lua:22 in (method) Update (Lua) <20-27>
   self =
      root = table: 0x1fedb2d0
      inst = 104231 - hermitcrab (valid:true)
      forceupdate = false
scripts/brain.lua:212 in (method) OnUpdate (Lua) <205-214>
   self =
      bt = Priority - READY <READY> ()>0.00
   >Parallel - FAILED <READY> ()>0.00
   >   >PanicHaunted - FAILED <READY> ()>0.00
   >   >ChattyNode - READY <READY> ()>0.00
   >   >   >Panic - READY <READY> ()>0.00
   >RunAway - FAILED <READY> ()>0.00
   >Sequence - FAILED <READY> ()>0.00
   >   >umbrella - FAILED <READY> ()>0.00
   >   >umbrella - READY <READY> ()>0.00
   >Sequence - FAILED <READY> ()>0.00
   >   >stop umbrella - FAILED <READY> ()>0.00
   >   >stop umbrella - READY <READY> ()>0.00
   >Sequence - FAILED <READY> ()>0.00
   >   >coat - FAILED <READY> ()>0.00
   >   >coat - READY <READY> ()>0.00
   >Sequence - FAILED <READY> ()>0.00
   >   >stop coat - FAILED <READY> ()>0.00
   >   >stop umbrella - READY <READY> ()>0.00
   >toss item - FAILED <READY> ()>0.00
   >finish talking - FAILED <READY> ()>0.00
   >Parallel - READY <READY> ()>0.00
   >   >IsDay - SUCCESS <READY> ()>0.00
   >   >Priority - READY <READY> ()>0.00
   >   >   >Parallel - READY <READY> ()>0.00
   >   >   >   >unfriendly - SUCCESS <READY> () [**truncated**]
      
[11:15:45]: [string "scripts/brains/hermitcrabbrain.lua"]:272: attempt to index global 'ThePlayer' (a nil value)
LUA ERROR stack traceback:
    scripts/brains/hermitcrabbrain.lua:272 in (field) getfn (Lua) <250-277>
    scripts/behaviours/faceentity.lua:18 in (method) Visit (Lua) <16-56>
    scripts/behaviourtree.lua:298 in (method) Visit (Lua) <288-308>
    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: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>
    
[11:15:45]: 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?    
[11:15:45]: 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

A friend was "repairing hermit's house at stage 1" when Master shard crashed.

  • Like 1
Sign in to follow this  


User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

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