"Better Hekili Targeting" WeakAura breaks in v10.0.5-1.0.18+ (attempt to perform arithmetic on field 'lastAudit')
Micijah opened this issue ยท 9 comments
Before You Begin
- I confirm that I have downloaded the latest version of the addon.
- I am not playing on a private server.
- I checked for an existing, open ticket for this issue and was not able to find one.
- I edited the title of this bug report (above) so that it describes the issue I am reporting.
Describe the Issue
Logged in and received a constant local error - 384
8300x [string "return function() "]:447: attempt to perform arithmetic on field 'lastAudit' (a nil value)
[string "return function() "]:447: in function `getNumberTargets'
[string "@Hekili/UI.lua"]:1351: in function <Hekili/UI.lua:926>
Locals:
frameTime = 2902.294000
(*temporary) = nil
(*temporary) = 1
(*temporary) = 1
(*temporary) = 0
(*temporary) = 1
(*temporary) = "nameplate40"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "nameplate40"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = defined =[C]:-1
(*temporary) =
LWA =
}
}
(*temporary) = "UnitGUID"
(*temporary) = defined =[C]:-1
(*temporary) = "attempt to perform arithmetic on field 'lastAudit' (a nil value)"
lastCycle = nil
lastCount = 0
validTarget = defined return function() :335
enemyExclusions =
23775 = true
161895 = true
163122 = true
160966 = true
352052 = true
157452 = true
163126 = true
165913 = true
164698 = true
165108 = true
170483 = true
166970 = true
168962 = true
174786 = true
169159 = true
173447 = true
164501 = true
170147 = true
168365 = true
168988 = true
170217 = true
168445 = true
156227 = true
164578 = true
166079 = true
166971 = true
165251 = true
166885 = true
120651 = true
166969 = true
}
auraExclusions =
1 = 310126
2 = 321764
3 = 323149
4 = 323190
5 = 333293
6 = 329808
7 = 329636
8 = 333737
9 = 327812
10 = 355790
11 = 33786
12 = 217832
13 = 710
14 = 118
15 = 51514
}
ns =
FindPlayerAuraByID = defined @Hekili/Utils.lua:516
specTemplate =
}
hasRequiredResources = defined @Hekili/State.lua:7081
IsTimer = defined @Hekili/Libs/SpellFlashCore/libs/BigLibTimer/BigLibTimer.lua:22
forecastResources = defined @Hekili/State.lua:1325
frameProfile =
}
UnregisterUnitEvent = defined @Hekili/Events.lua:221
Localize =
}
setClass = defined @Hekili/Classes.lua:5715
debug =
}
GetTexString = defined @Hekili/Utils.lua:852
GetTimer = defined @Hekili/Libs/SpellFlashCore/libs/BigLibTimer/BigLibTimer.lua:22
queue =
}
SetTimer = defined @Hekili/Libs/SpellFlashCore/libs/BigLibTimer/BigLibTimer.lua:22
addWhitespace = defined @Hekili/Classes.lua:5663
castsAll =
}
addSetting = defined @Hekili/Classes.lua:5648
GroupMembers = defined @Hekili/Utils.lua:263
spendResources = defined @Hekili/State.lua:6659
safeMax = defined @Hekili/Utils.lua:243
updateMinion = defined @Hekili/Targets.lua:602
safeAbs = defined @Hekili/Utils.lua:255
RegisterUnitEvent = defined @Hekili/Events.lua:177
attr =
}
RecycleTable = defined @Hekili/Libs/SpellFlashCore/libs/BigLibTimer/BigLibTimer.lua:22
updateEssences = defined @Hekili/Events.lua:591
AddTexString = defined @Hekili/Utils.lua:840
actorHasDebuff = defined @Hekili/Targets.lua:645
StopEventHandler = defined @Hekili/Events.lua:130
SpaceOut = defined @Hekili/Utils.lua:54
getModifier = defined @Hekili/Targets.lua:685
roundUp = defined @Hekili/Utils.lua:139
ResourceRegenerates = defined @Hekili/Constants.lua:95
FindStringInSpellTooltip = defined @Hekili/Utils.lua:643
wipeDebuffs = defined @Hekili/Targets.lua:638
GetResourceInfo = defined @Hekili/Constants.lua:73
round = defined @Hekili/Utils.lua:132
GetResourceKey = defined @Hekili/Constants.lua:83
GetResourceID = defined @Hekili/Constants.lua:78
Audit = de
How to Reproduce
The issue doesn't require behaviors to start. It just starts as soon as I log in or enable Hekili.
Player Information (Link)
Error Messages (Link)
Additional Information
No response
Contact Information
Micijah#9895
Your Player Information indicates you're using 1.0.18-alpha2, which is not the latest version. Update and let me know if you get this error.
@Hekili apologies, here is the updated info with the same error.
Hekili Player Profile Updated - https://pastebin.com/xMX03G43
Bugsack Error Sub 2 - https://pastebin.com/2j1AJDLD
I gotta say, I genuinely have no idea. There's literally no lastAudit
in my addon any longer at all. I assume you've cleared your BugSack since using alpha2.
Did you try making edits to the Assassination priority? Most of those errors appear in the course of trying to compile the Assassination priority. Try resetting that priority and reloading UI.
Hello,
I am also experiencing a similar bug.
Character Data: https://pastebin.com/u66VwHbh
Bugsack : https://pastebin.com/eNqgLhfQ
If you disable addons and run only Hekili (for testing purposes), do you get the same error?
I think a WeakAura called "Better Hekili Targeting" is causing the issue.
The WeakAura isn't on wago any more, but it was during Shadowlands. I tried it out and forgot about it.
I can confirm that it has lastAudit in its custom code, and disabling it removed the error mentioned in this issue.