Jump to content

[BETA] Wagstaff bug when move close to Dragonfly


Gleenus
  • Fixed

Hi everyone

I was testing the beta and my server always crashes when the Wagstaff NPC get close to the Dragonfly
The error is kinda intuitive

[00:01:25]: [string "scripts/prefabs/dragonfly.lua"]:195: attempt to index local 'pos' (a nil value)
LUA ERROR stack traceback:
    scripts/prefabs/dragonfly.lua:195 in (upvalue) UpdatePlayerTargets (Lua) <187-209>
    scripts/prefabs/dragonfly.lua:313 in (field) targetfn (Lua) <312-333>
    scripts/components/combat.lua:206 in (method) TryRetarget (Lua) <199-222>
    scripts/components/combat.lua:196 in (field) fn (Lua) <195-197>
    scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
    scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
    scripts/update.lua:185 in () ? (Lua) <164-243>


Server log attached

server_log.txt


Steps to Reproduce

Start the Moon Storm
Let Wagstaff get close to the Dragonfly




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