anzz1 / TacoTip

Better player tooltips - class colors, talents/specialization, GearScore & more - for Classic / TBC / WoTLK
8 stars 19 forks source link

LibClassInspector: attempt to perform arithmetic on field '?' (a nil value) #38

Closed stijnherreman closed 1 year ago

stijnherreman commented 1 year ago

Just installed version 0.3.9 and now this error appears:

Message: ...Tip/Libs/LibClassicInspector/LibClassicInspector.lua:3104: attempt to perform arithmetic on field '?' (a nil value)
Time: Sun Feb 26 19:46:12 2023
Count: 4
Stack: ...Tip/Libs/LibClassicInspector/LibClassicInspector.lua:3104: attempt to perform arithmetic on field '?' (a nil value)
[string "@Interface/AddOns/TacoTip/Libs/LibClassicInspector/LibClassicInspector.lua"]:3104: in function <...Tip/Libs/LibClassicInspector/LibClassicInspector.lua:3088>
[string "@Interface/AddOns/TacoTip/Libs/LibClassicInspector/LibClassicInspector.lua"]:3162: in function <...Tip/Libs/LibClassicInspector/LibClassicInspector.lua:3158>

Locals: s = "02-2000000000000000000000000003350031103050233152310312100500203120023000020000000511132505031500003510212050312000053030000000000012000000000000000000000000000J04"
(for index) = 1
(for limit) = 2
(for step) = 1
x = 1
(for index) = 4
(for limit) = 6
(for step) = 1
i = 4
z = 55115
(*temporary) = "02-2000000000000000000000000003350031103050233152310312100500203120023000020000000511132505031500003510212050312000053030000000000012000000000000000000000000000J04"
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = 55115
(*temporary) = 237640
(*temporary) = 1
(*temporary) = 55115
(*temporary) = 237640
(*temporary) = 9
(*temporary) = 3
(*temporary) = 0
(*temporary) = 3
(*temporary) = "attempt to perform arithmetic on field '?' (a nil value)"
isWotlk = true
glyph_r_tbl = <table> {
 63219 = 23
 63223 = 26
 63225 = 28
 57937 = 1
 54923 = 2
 54925 = 4
 54927 = 6
 54929 = 8
 54931 = 10
 54935 = 12
 54937 = 14
 54939 = 16
 54943 = 18
 57979 = 6
 63218 = 22
 63220 = 24
 63222 = 25
 63224 = 27
 54922 = 1
 54924 = 3
 54926 = 5
 54928 = 7
 54930 = 9
 54934 = 11
 54936 = 13
 54938 = 15
 54940 = 17
 57958 = 5
 57955 = 4
 57954 = 3
 57947 = 2
 56414 = 19
 56416 = 20
 56420 = 21
 405004 = 29
}
SendAddonMessage = <function> defined =[C]:-1
C_PREFIX = "LCIV1"
anzz1 commented 1 year ago

Apparently after the botched Feb 7 hotfix, Glyph of Righteous Defense has two spell ids 54929 (right) and 55115 (wrong) now. That is just wonderful. Anyway added a special case for this glyph in 0.4.0, hope its fixed now for good.

image

stijnherreman commented 1 year ago

Thanks for the quick fix! I can confirm it's working.