Jump to content

Possible Stagehand/Endtable Crash SU Dedi-servers [New Reign]

  • Fixed

Please see server_log attached, end of it contains a lot of code that might lead to solution of this bug

Steps to Reproduce
Not available yet, will see if people on server can reproduce and report to me about it
  • Like 2

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.

If you really want, in the file: data/scripts/behaviours/findclosest.lua

Change line 62 from "If not valid_target then" to be:

If not valid_target or self.targ  == nil then


It should do the trick (haven't tested it though) until I fix it proper. When you update next, make sure to verify the "verify integrity of game cache" or tool cache if you are running a dedicated server.

  • Like 1

Share this comment

Link to comment
Share on other sites

I got the same error

[12:12:39]: [string "scripts/brains/stagehandbrain.lua"]:13: attempt to index local 'target' (a nil value)
LUA ERROR stack traceback:
scripts/brains/stagehandbrain.lua:13 in (field) safe_dist (Lua) <12-18>
   inst = 114096 - stagehand (valid:true)
   target = nil

and will try this quick fix tomorrow.

Share this comment

Link to comment
Share on other sites

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