raethkcj / RatingBuster

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

[Bug]: Numerous errors #104

Closed Quizzus closed 2 years ago

Quizzus commented 2 years ago

Describe the bug

At some point Rating Buster stopped working for me giving these logs (and also massive lag):

Message: Interface\AddOns\StatLogic\StatLogic.lua:1260: Attempt to register unknown event "GLYPH_ADDED" Time: Sun Sep 25 11:08:23 2022 Count: 1 Stack: Interface\AddOns\StatLogic\StatLogic.lua:1260: Attempt to register unknown event "GLYPH_ADDED" [string "=[C]"]: in function `?' [string "@Interface\AddOns\StatLogic\StatLogic.lua"]:1260: in main chunk

Locals: (temporary) = { 0 = } (temporary) = "GLYPH_ADDED"


Message: Interface\AddOns\RatingBuster\RatingBuster.lua:1346: attempt to call method 'GetOrderedTalentInfo' (a nil value) Time: Sun Sep 25 11:08:24 2022 Count: 1 Stack: Interface\AddOns\RatingBuster\RatingBuster.lua:1346: attempt to call method 'GetOrderedTalentInfo' (a nil value) [string "@Interface\AddOns\RatingBuster\RatingBuster.lua"]:1346: in function <Interface\AddOns\RatingBuster\RatingBuster.lua:1330>

Locals: (for generator) = defined =[C]:-1 (for state) =

{ MOD_INT =
{ } ADD_DODGE =
{ } ADD_MANA_REG_MOD_NORMAL_MANA_REG =
{ } MOD_ARMOR =
{ } MOD_STA =
{ } MOD_STR =
{ } } (for control) = "ADD_MANA_REG_MOD_NORMAL_MANA_REG" statMod = "ADD_MANA_REG_MOD_NORMAL_MANA_REG" cases =
{ 1 =
{ } } add = "MANA_REG" mod = "NORMAL_MANAREG" sources = "" firstSource = true (for generator) = defined =[C]:-1 (for state) =
{ 1 =
{ } } (for control) = 1 = 1 case =
{ tab = 3 num = 6 rank =
{ } } source = "" (temporary) = nil (temporary) =
{ tip = StatLogicTooltip { } tipMiner = StatLogicMinerTooltip { } GetNormalManaRegenFromSpi = defined @Interface\AddOns\StatLogic\Vanilla_Logic.lua:45 GetClassIdOrName = defined @Interface\AddOns\StatLogic\StatLogic.lua:389 GenericStatMap =
{ } argCheck = defined @Interface\AddOns\StatLogic\StatLogic.lua:77 GetRatingIdOrName = defined @Interface\AddOns\StatLogic\StatLogic.lua:501 StatTable =
{ } StatModTable =
{ } StatModInfo =
{ } GetStatNameFromID = defined @Interface\AddOns\StatLogic\StatLogic.lua:393 } (temporary) = 3 (temporary) = 6 (*temporary) = "attempt to call method 'GetOrderedTalentInfo' (a nil value)" pairs = defined =[C]:-1 StatLogic =
{ tip = StatLogicTooltip { } tipMiner = StatLogicMinerTooltip { } GetNormalManaRegenFromSpi = defined @Interface\AddOns\StatLogic\Vanilla_Logic.lua:45 GetClassIdOrName = defined @Interface\AddOns\StatLogic\StatLogic.lua:389 GenericStatMap =
{ } argCheck = defined @Interface\AddOns\StatLogic\StatLogic.lua:77 GetRatingIdOrName = defined @Interface\AddOns\StatLogic\StatLogic.lua:501 StatTable =
{ } StatModTable =
{ } StatModInfo =
{ } GetStatNameFromID = defined @Interface\AddOns\StatLogic\StatLogic.lua:393 } class = "DRUID" ipairs = defined =[C]:-1 addStatModOption = defined @Interface\AddOns\RatingBuster\RatingBuster.lua:1307 defaults =
{ global =
{ } profile =
{ } } profileDB = nil options =
{ args =
{ } type = "group" set = defined @Interface\AddOns\RatingBuster\RatingBuster.lua:98 get = defined @Interface\AddOns\RatingBuster\RatingBuster.lua:91 } f = { 0 = }

Addon Source

WowUp

Version

1.5.12

Locale

Russian

Talent Specialization

Feral Druid

Race

Tauren

raethkcj commented 2 years ago

Sorry about that, with the Wrath launch I haven't been testing on Classic Era / Season of Mastery. Should be fixed now, thanks for reporting!

Quizzus commented 2 years ago

Thanx for such a quick fix, it works now, but still some mistakes are present:

Message: Interface\AddOns\StatLogic\Vanilla_Logic.lua:57: attempt to perform arithmetic on field '?' (a nil value) Time: Sun Sep 25 17:45:45 2022 Count: 1 Stack: Interface\AddOns\StatLogic\Vanilla_Logic.lua:57: attempt to perform arithmetic on field '?' (a nil value) [string "@Interface\AddOns\StatLogic\Vanilla_Logic.lua"]:57: in function `GetNormalManaRegenFromSpi' [string "@Interface\AddOns\RatingBuster\RatingBuster.lua"]:2125: in function <Interface\AddOns\RatingBuster\RatingBuster.lua:1764>

[string "@Interface\AddOns\RatingBuster\RatingBuster.lua"]:1727: in function ProcessLine' [string "@Interface\AddOns\RatingBuster\RatingBuster.lua"]:1605: in functionhandler' [string "@Interface\AddOns\RatingBuster\libs\TipHooker-1.0\TipHooker-1.0.lua"]:156: in function <...ns\RatingBuster\libs\TipHooker-1.0\TipHooker-1.0.lua:150>

string "=[C]": in function SetInventoryItem' [string "@Interface_Vanilla\FrameXML\PaperDollFrame.lua"]:818: in functionPaperDollItemSlotButton_OnEnter'

Locals: self =

{ GetRAPFromAgi = defined @Interface\AddOns\StatLogic\StatLogic.lua:1823 GetReductionFromArmor = defined @Interface\AddOns\StatLogic\StatLogic.lua:1412 GetSum = defined @Interface\AddOns\StatLogic\StatLogic.lua:2315 argCheck = defined @Interface\AddOns\StatLogic\StatLogic.lua:77 GetRAPPerAgi = defined @Interface\AddOns\StatLogic\StatLogic.lua:1784 GetStatMod = defined @Interface\AddOns\StatLogic\StatLogic.lua:1378 tip = StatLogicTooltip { } GetFinalArmor = defined @Interface\AddOns\StatLogic\StatLogic.lua:2757 GetClassIdOrName = defined @Interface\AddOns\StatLogic\StatLogic.lua:389 GetRatingIdOrName = defined @Interface\AddOns\StatLogic\StatLogic.lua:501 GetStatNameFromID = defined @Interface\AddOns\StatLogic\StatLogic.lua:393 StatModInfo =
{ } RemoveEnchant = defined @Interface\AddOns\StatLogic\StatLogic.lua:2086 GetBlockValuePerStr = defined @Interface\AddOns\StatLogic\StatLogic.lua:1626 GetAPFromAgi = defined @Interface\AddOns\StatLogic\StatLogic.lua:1746 GetSpellCritFromInt = defined @Interface\AddOns\StatLogic\StatLogic.lua:2007 GetDiff = defined @Interface\AddOns\StatLogic\StatLogic.lua:3002 GetAPPerAgi = defined @Interface\AddOns\StatLogic\StatLogic.lua:1704 StatModTable =
{ } GetHealthRegenFromSpi = defined @Interface\AddOns\StatLogic\StatLogic.lua:2066 GetEffectFromRating = defined @Interface\AddOns\StatLogic\StatLogic.lua:1501 StatTable =
{ } GetNormalManaRegenFromSpi = defined @Interface\AddOns\StatLogic\Vanilla_Logic.lua:45 GetBlockValueFromStr = defined @Interface\AddOns\StatLogic\StatLogic.lua:1665 PatternTest = defined @Interface\AddOns\StatLogic\StatLogic.lua:3118 Bench = defined @Interface\AddOns\StatLogic\StatLogic.lua:3098 GenericStatMap =
{ } GetGemID = defined @Interface\AddOns\StatLogic\StatLogic.lua:2219 GetAPPerStr = defined @Interface\AddOns\StatLogic\StatLogic.lua:1547 GetDodgePerAgi = defined @Interface\AddOns\StatLogic\StatLogic.lua:1892 tipMiner = StatLogicMinerTooltip { } GetEffectFromDefense = defined @Interface\AddOns\StatLogic\StatLogic.lua:1439 BuildGemmedTooltip = defined @Interface\AddOns\StatLogic\StatLogic.lua:2129 RemoveGem = defined @Interface\AddOns\StatLogic\StatLogic.lua:2090 GetOrderedTalentInfo = defined @Interface\AddOns\StatLogic\StatLogic.lua:1334 GetAPFromStr = defined @Interface\AddOns\StatLogic\StatLogic.lua:1583 RatingExists = defined @Interface\AddOns\StatLogic\StatLogic.lua:1452 GetDodgeFromAgi = defined @Interface

raethkcj commented 2 years ago

Oof, fixed again.

Quizzus commented 2 years ago

Works perfectly, thank you so much!