Jump to content

Server crash: WARBOT minion attempting to wake up during Scion fight


mr. brj
  • Fixed

I defeated WARBOT and was figthing the Scion. However I noticed that one of the minions decided to wake up during the second phase of the fight and then the server crashed. Here is the part from the server log where the crash happened:

Spoiler

[string "scripts/behaviours/leash.lua"]:46: attempt to compare nil with number
LUA ERROR stack traceback:
scripts/behaviours/leash.lua:46 in (method) IsInsideLeash (Lua) <45-47>
   self =
      lastresult = READY
      id = 461
      homepos = function - scripts/brains/wagdrone_rollingbrain.lua:262
      nextupdatetick = 0
      returndist = 0.6
      running = true
      name = Leash
      status = READY
      parent = table: 0x421fb8e0
      inst = 110482 - wagdrone_rolling (valid:true)
      maxdist = 1
scripts/behaviours/leash.lua:15 in (method) Visit (Lua) <10-29>
   self =
      lastresult = READY
      id = 461
      homepos = function - scripts/brains/wagdrone_rollingbrain.lua:262
      nextupdatetick = 0
      returndist = 0.6
      running = true
      name = Leash
      status = READY
      parent = table: 0x421fb8e0
      inst = 110482 - wagdrone_rolling (valid:true)
      maxdist = 1
scripts/behaviourtree.lua:417 in (method) Visit (Lua) <415-423>
   self =
      parent = table: 0x31f60060
      name = FailIfSuccess
      id = 462
      status = READY
      nextupdatetick = 0
      children = table: 0x41fcdf60
      lastresult = READY
   child = table: 0x36f651b0
scripts/behaviourtree.lua:606 in (method) Visit (Lua) <582-638>
   self =
      lasttime = 385.83335345611
      lastresult = READY
      id = 466
      nextupdatetick = 0
      name = Priority
      status = READY
      parent = table: 0x3eac9e50
      children = table: 0x3ddebc40
      period = 0.25
   time = 385.83335345611
   do_eval = true
   oldidx = nil
   old_event = nil
   found = false
   idx = 2
   child = table: 0x421fb8e0
   should_test_anyway = nil
scripts/behaviourtree.lua:671 in (method) Visit (Lua) <661-690>
   self =
      parent = table: 0x37544ac0
      name = Parallel
      id = 468
      status = READY
      nextupdatetick = 0
      children = table: 0x42008b20
      lastresult = READY
   done = true
   any_done = true
   idx = 2
   child = table: 0x31f60060
scripts/behaviourtree.lua:606 in (method) Visit (Lua) <582-638>
   self =
      period = 0.25
      lasttime = 385.83335345611
      name = Priority
      id = 469
      status = READY
      nextupdatetick = 0
      children = table: 0x415b6e70
      lastresult = READY
   time = 385.83335345611
   do_eval = true
   oldidx = nil
   old_event = nil
   found = false
   idx = 1
   child = table: 0x3eac9e50
   should_test_anyway = nil
scripts/behaviourtree.lua:22 in (method) Update (Lua) <20-27>
   self =
      inst = 110482 - wagdrone_rolling (valid:true)
      root = table: 0x37544ac0
scripts/brain.lua:227 in (method) OnUpdate (Lua) <220-229>
   self =
      behaviourqueue = table: 0x3e9a4b70
      recoilspeedmult = 1
      stopped = false
      bt = Priority - READY <READY> ()>0.00
   >Parallel - READY <READY> ()>0.00
   >   ><busy state guard - SUCCESS <READY> ()>0.00
   >   >Priority - READY <READY> ()>0.00
   >   >   >Parallel - FAILED <READY> ()>0.00
   >   >   >   >Wait for Pickup - FAILED <READY> ()>0.00
   >   >   >   >StandStill - READY <READY> ()>0.00
   >   >   >FailIfSuccess - READY <READY> ()>0.00
   >   >   >   >Leash - READY <READY> ()>0.00
   >   >   >FailIfSuccess - READY <READY> ()>0.00
   >   >   >   >Target Cancelled - READY <READY> ()>0.00
   >   >   >StandStill - READY <READY> ()>0.00

      paused = false
      _onrecoil = function - scripts/brains/wagdrone_rollingbrain.lua:271
      dest = (309.32, 0.00, 642.52)
      inst = 110482 - wagdrone_rolling (valid:true)
      recoildest = (0.00, 0.00, 0.00)
      events = table: 0x36407d10
scripts/brain.lua:146 in (method) Update (Lua) <106-157>
   self =
      _safe_updaters = table: 0x7881980
      tickwaiters = table: 0x78819d0
      hibernaters = table: 0x7881a20
      updaters = table: 0x7881930
      instances = table: 0x78818e0
   current_tick = 11575
   waiters = nil
   count = 2
   i = 2
   k = --brain--
sleep time: 0.00
Priority - READY <READY> ()>0.00
   >Parallel - READY <READY> ()>0.00
   >   ><busy state guard - SUCCESS <READY> ()>0.00
   >   >Priority - READY <READY> ()>0.00
   >   >
[00:07:17]: [string "scripts/behaviours/leash.lua"]:46: attempt to compare nil with number
LUA ERROR stack traceback:
    scripts/behaviours/leash.lua:46 in (method) IsInsideLeash (Lua) <45-47>
    scripts/behaviours/leash.lua:15 in (method) Visit (Lua) <10-29>
    scripts/behaviourtree.lua:417 in (method) Visit (Lua) <415-423>
    scripts/behaviourtree.lua:606 in (method) Visit (Lua) <582-638>
    scripts/behaviourtree.lua:671 in (method) Visit (Lua) <661-690>
    scripts/behaviourtree.lua:606 in (method) Visit (Lua) <582-638>
    scripts/behaviourtree.lua:22 in (method) Update (Lua) <20-27>
    scripts/brain.lua:227 in (method) OnUpdate (Lua) <220-229>
    scripts/brain.lua:146 in (method) Update (Lua) <106-157>
    scripts/update.lua:292 in () ? (Lua) <224-298>
    

 


Steps to Reproduce

1) Defeat WARBOT

2) Fight Scion

3) A WARBOT minion decides to wake up?

4) ???




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.


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...