Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lua error from lines 66 & 162 of ActionBarValues.lua #59

Open
Hasselshoff opened this issue Feb 24, 2024 · 0 comments
Open

Lua error from lines 66 & 162 of ActionBarValues.lua #59

Hasselshoff opened this issue Feb 24, 2024 · 0 comments

Comments

@Hasselshoff
Copy link

I don't recall seeing this error before, so not sure why I am only just now noticing it, so I cannot say for certain that it is new, but regardless I am now experiencing a recurring Lua error. I accumulated 80k errors in <5 minutes, and I have now had to disable SpellCalc until I can get it sorted. I searched the other issues, and it seems this error is related to different parts of the code from the ActionBarValues.lua script than other issues posted; my error is related to lines 66 & 162, which do not appear in other open issues.

Here's the error according to BugSack:

81252x ...ceSpellCalc/UI/actionbar/ActionBarValues.lua:66: attempt to compare number with nil
[string "@SpellCalc/UI/actionbar/ActionBarValues.lua"]:66: in function <...ceSpellCalc/UI/actionbar/ActionBarValues.lua:60>
[string "@SpellCalc/UI/actionbar/ActionBarValues.lua"]:162: in function <...ceSpellCalc/UI/actionbar/ActionBarValues.lua:112>

Locals:
calcedSpell = <table> {
 gcd = 1.296750
 critChance = 11.564519
 durationNoHaste = 600000
 duration = 600
 critMult = 1.500000
 updated = 2
 resistance = 0
 hitChanceBonus = 1.906069
 effectiveCost = 495.013879
 baseCost = 594
 castingData = <table> {
 }
 resistanceFromLevel = 0
 effects = <table> {
 }
 resistancePen = 0
 effCastTime = 1.296750
 costType = 0
 hitChanceBase = 96
 school = 4
 buffs = <table> {
 }
 hitChance = 97.906069
 avgResist = 0
}
critChance = 11.564519
valueKey = "allTicks"
calcedEffect = <table> {
 attackPower = 2008
 effectivePower = 0
 modBonus = 1
 perResource = 0.144383
 max = 73
 flatMod = 0
 avgAfterMitigation = 71.471431
 perSec = 55.115813
 min = 73
 doneToOom = 2358.557212
 avg = 73
 modBase = 1
 avgCombined = 73
 spellPower = 2250
 effectFlags = 4
 effectiveApCoef = 0
}
(*temporary) = nil
(*temporary) = 4
(*temporary) = 4
(*temporary) = "attempt to compare number with nil"
ADDON_EFFECT_FLAGS = <table> {
 TRIGGERED_SPELL = 256
 DMG_SHIELD = 4
 STACKABLE_AURA = 512
 CHANNEL = 16
 MANA_RESTORE = 1024
 DURATION = 1
 AUTO_ATTACK = 64
 ABSORB = 8
 DUMMY_AURA = 128
 TRIGGER_SPELL_AURA = 32
 HEAL = 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant