11x ArcHUD3/Core.lua:695: attempt to call global 'UnitBuff' (a nil value)
[string "@ArcHUD3/Core.lua"]:695: in function TargetAuras' [string "@ArcHUD3/Core.lua"]:643: in function?'
[string "@ArcHUD3/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...UD3/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "@ArcHUD3/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...UD3/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@ArcHUD3/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function Fire' [string "@ArcHUD3/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...ceArcHUD3/Libs/AceEvent-3.0/AceEvent-3.0.lua:119> [string "=[C]"]: in functionCameraOrSelectOrMoveStop'
Locals:
self =
{
defaults =
{
}
customModuleCount = 0
modules =
{
}
defaultModulePrototype =
{
}
isClassicWoW = false
hooks =
{
}
hasHealPrediction = true
name = "ArcHUD"
timers =
Tried to check this out, but couldn't repro on live. Might be beta only, which is down right now. Will try to check it later if it comes back
Notes for self: I think it may just be, use GetUnitBuff instead?
According to that page "UnitBuff" needs to be replaced with "C_UnitAuras.GetBuffDataByIndex"? I'm not sure where, though.
And "UnitDebuff" -> "C_UnitAuras.GetDebuffDataByIndex". I changed those on lines 695 and 728, seems to work.
Yep that's correct. I just reproed on live and made the same swap where I hit it (Stagger) and it cleared it up. I'll go through and update them soon, I'm on vacation atm. Thanks for checking!
11x ArcHUD3/Core.lua:695: attempt to call global 'UnitBuff' (a nil value) [string "@ArcHUD3/Core.lua"]:695: in function
TargetAuras' [string "@ArcHUD3/Core.lua"]:643: in function
?' [string "@ArcHUD3/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...UD3/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>[string "@ArcHUD3/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...UD3/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@ArcHUD3/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function
Fire' [string "@ArcHUD3/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...ceArcHUD3/Libs/AceEvent-3.0/AceEvent-3.0.lua:119> [string "=[C]"]: in function
CameraOrSelectOrMoveStop'Locals: self =
Tried to check this out, but couldn't repro on live. Might be beta only, which is down right now. Will try to check it later if it comes back Notes for self: I think it may just be, use GetUnitBuff instead?
This lua error appear to still occur on retail, after patch 11.0.2 that went live this week.
ArcHUD lua error.txt
https://warcraft.wiki.gg/wiki/Patch_11.0.2/API_changes
According to that page "UnitBuff" needs to be replaced with "C_UnitAuras.GetBuffDataByIndex"? I'm not sure where, though. And "UnitDebuff" -> "C_UnitAuras.GetDebuffDataByIndex". I changed those on lines 695 and 728, seems to work.
Yep that's correct. I just reproed on live and made the same swap where I hit it (Stagger) and it cleared it up. I'll go through and update them soon, I'm on vacation atm. Thanks for checking!