raethkcj / RatingBuster

An item comparison tool for WoW Classic.
GNU General Public License v2.0
58 stars 14 forks source link

[Bug]: Two *AuraInfo lua errors in 1.7.0 on Warlock #133

Closed rainecheck closed 1 year ago

rainecheck commented 1 year ago

Describe the bug

Selecting/unselecting new AlwaysBuffed options doesn't change the presence/absence of errors. Does occur on: Gnome Warlock (both Aff + Demo) Does not occur on: NE DK (Blood, Unholy), Gnome War (Prot, Arms)

Error 1, on login and talent swaps:

9x Interface\AddOns\StatLogic\StatLogic-78899.lua:1147: attempt to get length of field 'rank' (a number value)
[string "@Interface\AddOns\StatLogic\StatLogic-78899.lua"]:1147: in function `SetupAuraInfo'
[string "@Interface\AddOns\RatingBuster\RatingBuster-1.7.0.nil.lua"]:1555: in function `InitializeDatabase'
[string "@Interface\AddOns\RatingBuster\RatingBuster-1.7.0.nil.lua"]:1467: in function <Interface\AddOns\RatingBuster\RatingBuster.lua:1463>

Locals:
self = <table> {
 GetRAPFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1901
 GetReductionFromArmor = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1490
 GetSum = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2393
 argCheck = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:77
 GetDodgeChanceBeforeDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3836
 GetRAPPerAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1862
 GetStatMod = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1456
 TalentCacheExists = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1366
 tip = StatLogicTooltip {
 }
 GetFinalArmor = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2845
 GetClassIdOrName = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:372
 GetAvoidanceGainAfterDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3998
 InvalidateEvent = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1293
 GetRatingIdOrName = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:484
 GetStatNameFromID = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:376
 GetAvoidanceAfterDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3955
 StatModInfo = <table> {
 }
 GetParryChanceBeforeDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3881
 GetEffectFromDefense = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1517
 RemoveEnchant = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2164
 GetBlockValuePerStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1704
 StatModTable = <table> {
 }
 GetNormalManaRegenFromSpi = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:167
 GetAPFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1824
 GetSpellCritFromInt = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2085
 GetDiff = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:3098
 GetAPPerAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1782
 GetGemID = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2297
 GetHealthRegenFromSpi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2144
 GetEffectFromRating = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1579
 StatTable = <table> {
 }
 AreColorsEqual = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2838
 PatternTest = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:3214
 Bench = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:3194
 GetAPFromStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1661
 GenericStatMap = <table> {
 }
 BuildGemmedTooltip = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2207
 RemoveGem = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2168
 GetDodgePerAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1970
 tipMiner = StatLogicMinerTooltip {
 }
 GetAPPerStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1625
 GetMissedChanceBeforeDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3805
 GetCritFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2036
 GetOrderedTalentInfo = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1361
 GetDodgeFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2000
 RatingExists = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1530
 GetBaseDodge = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1938
 SetupAuraInfo = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1140
 GetBlockValueFromStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1743
 GetDiffID = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2965
}
always_buffed = <table> {
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 WARLOCK = <table> {
 }
 Gnome = <table> {
 }
 ALL = <

Error 2, every time I hover over any item or item tooltip, equippable or not.

71x Interface\AddOns\StatLogic\StatLogic-78899.lua:1237: attempt to index field 'AuraInfo' (a nil value)
[string "@Interface\AddOns\StatLogic\StatLogic-78899.lua"]:1237: in function `validate'
[string "@Interface\AddOns\StatLogic\StatLogic-78899.lua"]:1348: in function <Interface\AddOns\StatLogic\StatLogic.lua:1329>
[string "@Interface\AddOns\StatLogic\StatLogic-78899.lua"]:1417: in function <Interface\AddOns\StatLogic\StatLogic.lua:1416>
[string "@Interface\AddOns\StatLogic\StatLogic-78899.lua"]:1468: in function <Interface\AddOns\StatLogic\StatLogic.lua:1456>
[string "=(tail call)"]: ?
[string "@Interface\AddOns\RatingBuster\RatingBuster-1.7.0.nil.lua"]:1674: in function `handler'
[string "@Interface\AddOns\RatingBuster\libs\TipHooker-1.0\TipHooker-1.0-67029.lua"]:156: in function <...ns\RatingBuster\libs\TipHooker-1.0\TipHooker-1.0.lua:150>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `SetAction'
[string "@Interface\FrameXML\ActionButton.lua"]:802: in function `ActionButton_SetTooltip'
[string "*:OnEnter"]:5: in function <[string "*:OnEnter"]:1>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Interface\FrameXML\SecureHandlers.lua"]:266: in function <Interface\FrameXML\SecureHandlers.lua:263>
[string "=[C]"]: ?
[string "@Interface\FrameXML\SecureHandlers.lua"]:322: in function <Interface\FrameXML\SecureHandlers.lua:306>
[string "=(tail call)"]: ?

Locals:
case = <table> {
 value = 0.100000
 group = 3
 buff = 20217
}
(*temporary) = nil
(*temporary) = "Blessing of Kings"
(*temporary) = 20217
(*temporary) = "attempt to index field 'AuraInfo' (a nil value)"
StatLogic = <table> {
 GetRAPFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1901
 GetReductionFromArmor = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1490
 GetSum = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2393
 argCheck = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:77
 GetDodgeChanceBeforeDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3836
 GetRAPPerAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1862
 GetStatMod = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1456
 TalentCacheExists = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1366
 tip = StatLogicTooltip {
 }
 GetFinalArmor = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2845
 GetClassIdOrName = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:372
 GetAvoidanceGainAfterDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3998
 InvalidateEvent = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1293
 GetRatingIdOrName = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:484
 GetStatNameFromID = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:376
 GetAvoidanceAfterDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3955
 StatModInfo = <table> {
 }
 GetParryChanceBeforeDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3881
 GetEffectFromDefense = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1517
 RemoveEnchant = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2164
 GetBlockValuePerStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1704
 StatModTable = <table> {
 }
 GetNormalManaRegenFromSpi = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:167
 GetAPFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1824
 GetSpellCritFromInt = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2085
 GetDiff = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:3098
 GetAPPerAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1782
 GetGemID = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2297
 GetHealthRegenFromSpi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2144
 GetEffectFromRating = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1579
 StatTable = <table> {
 }
 AreColorsEqual = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2838
 PatternTest = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:3214
 Bench = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:3194
 GetAPFromStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1661
 GenericStatMap = <table> {
 }
 BuildGemmedTooltip = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2207
 RemoveGem = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2168
 GetDodgePerAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1970
 tipMiner = StatLogicMinerTooltip {
 }
 GetAPPerStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1625
 GetMissedChanceBeforeDR = <function> defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3805
 GetCritFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2036
 GetOrderedTalentInfo = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1361
 GetDodgeFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2000
 RatingExists = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1530
 GetBaseDodge = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1938
 SetupAuraInfo = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1140
 GetBlockValueFromStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1743
 GetDiffID = <function> d

Addon Source

Wago Addons

Version

1.7.0

Locale

English

Talent Specialization

Affliction Warlock, Demonology Warlock

Race

Gnome, Night Elf

raethkcj commented 1 year ago

Thanks for the report! Fixed in 1.7.1, along with a tooltip issue for Life Tap.