Jump to content

Server crashes when Willow leaves the server while Big Bernie is active


EriolH
  • Fixed

When a willow player disconnects on a server while Big Bernie is active, it crashes the server.

Log Excerpts:
[01:06:25]: [string "scripts/util.lua"]:557: attempt to index local 'v1' (a number value)
LUA ERROR stack traceback:
scripts/util.lua:557 in () ? (Lua) <543-561>
   v1 = 120.0325088501
   v2 = -246.3362121582
   v3 = nil
   v4 = nil
=(tail call):-1 in ()  (tail) <-1--1>
scripts/brains/berniebigbrain.lua:69 in () ? (Lua) <56-121>
   self =
      behaviourqueue = table: 4E0C74E0
      stopped = false
      _onremove = function - scripts/brains/berniebigbrain.lua:186
      _leader = 168697 - willow (valid:false)
      bt = Priority - READY <FAILED> ()>0.00
   >Sequence - READY <READY> ()>0.00
   >   >No Leader - READY <READY> ()>0.00
   >   >ActionNode - READY <READY> ()>0.00
   >Parallel - READY <READY> ()>0.00
   >   >Combat - READY <READY> ()>0.00
   >   >ChaseAndAttack - READY <READY> ()>0.00
   >Not - READY <READY> ()>0.00
   >   >ActionNode - READY <READY> ()>0.00
   >Parallel - READY <READY> ()>0.00
   >   >Walk Follow - READY <READY> ()>0.00
   >   >Follow - READY <READY> ()>0.00
   >Parallel - READY <READY> ()>0.00
   >   >Run Follow - READY <READY> ()>0.00
   >   >Follow - READY <READY> ()>0.00
   >Sequence - READY <READY> ()>0.00
   >   >Continue Walk Follow - READY <READY> ()>0.00
   >   >Follow - READY <READY> ()>0.00
   >FaceEntity - READY <FAILED> ()>0.00
   >Wander - READY <READY> ()>0.00


Steps to Reproduce

1. Have 2 players in a server and one is a Willow

2. Willow should have 2 of Willow's Bearly Sane skills Mastered (idk if this is the case but we have this skill mastered when it happened)

3. Get your sanity below threshold to spawn Big Bernie

4. Have the Willow disconnect from the server and the server will crash




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