raethkcj / RatingBuster

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

[Bug]: #108

Closed I3igAl closed 2 years ago

I3igAl commented 2 years ago

Describe the bug

Dont know what is causing it but on my second account StatLogic is throwing massive errors when i mouseover anything equippable. mainly flooding me when mousing quest rewards to find the most valuable vendor gold.

1513x StatLogic\Wrath_Logic.lua:3742: attempt to perform arithmetic on field '?' (a nil value) [string "@StatLogic\Wrath_Logic.lua"]:3742: in function GetAvoidanceAfterDR' [string "@StatLogic\Wrath_Logic.lua"]:3778: in functionGetAvoidanceGainAfterDR' [string "@RatingBuster\RatingBuster-1.5.8.nil.lua"]:2923: in function MELEE_HIT_AVOID' [string "@RatingBuster\RatingBuster-1.5.8.nil.lua"]:2947: in functionfunc' [string "@RatingBuster\RatingBuster-1.5.8.nil.lua"]:3379: in function StatSummary' [string "@RatingBuster\RatingBuster-1.5.8.nil.lua"]:1683: in functionhandler' [string "@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 "@TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua"]:107: in function <...Master\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:105> string "=[C]": in function SetInventoryItem' [string "@Interface_Wrath\FrameXML\PaperDollFrame.lua"]:1621: in functionoldPaperDollItemSlotButton_OnEnter' [string "@ItemRack\ItemRack-3.69.nil.lua"]:1724: in function `PaperDollItemSlotButton_OnEnter'

Locals: self =

{ GetRAPFromAgi = defined @StatLogic\StatLogic.lua:1832 GetReductionFromArmor = defined @StatLogic\StatLogic.lua:1421 GetSum = defined @StatLogic\StatLogic.lua:2324 argCheck = defined @StatLogic\StatLogic.lua:77 GetDodgeChanceBeforeDR = defined @StatLogic\Wrath_Logic.lua:3603 GetRAPPerAgi = defined @StatLogic\StatLogic.lua:1793 GetStatMod = defined @StatLogic\StatLogic.lua:1387 tip = StatLogicTooltip { } GetFinalArmor = defined @StatLogic\StatLogic.lua:2766 GetClassIdOrName = defined @StatLogic\StatLogic.lua:389 GetRatingIdOrName = defined @StatLogic\StatLogic.lua:501 GetStatNameFromID = defined @StatLogic\StatLogic.lua:393 StatModInfo =
{ } GetAvoidanceGainAfterDR = defined @StatLogic\Wrath_Logic.lua:3761 GetAvoidanceAfterDR = defined @StatLogic\Wrath_Logic.lua:3722 RemoveEnchant = defined @StatLogic\StatLogic.lua:2095 GetBlockValuePerStr = defined @StatLogic\StatLogic.lua:1635 GetParryChanceBeforeDR = defined @StatLogic\Wrath_Logic.lua:3648 BuildGemmedTooltip = defined @StatLogic\StatLogic.lua:2138 GetAPFromAgi = defined @StatLogic\StatLogic.lua:1755 GetSpellCritFromInt = defined @StatLogic\StatLogic.lua:2016 GetDiff = defined @StatLogic\StatLogic.lua:3011 GetAPPerAgi = defined @StatLogic\StatLogic.lua:1713 StatModTable =
{ } GetHealthRegenFromSpi = defined @StatLogic\StatLogic.lua:2075 GetEffectFromRating = defined @StatLogic\StatLogic.lua:1510 StatTable =
{ } GetNormalManaRegenFromSpi = defined @StatLogic\Wrath_Logic.lua:167 GetBlockValueFromStr = defined @StatLogic\StatLogic.lua:1674 PatternTest = defined @StatLogic\StatLogic.lua:3127 Bench = defined @StatLogic\StatLogic.lua:3107 GenericStatMap =
{ } GetGemID = defined @StatLogic\StatLogic.lua:2228 GetAPPerStr = defined @StatLogic\StatLogic.lua:1556 GetDodgePerAgi = defined @StatLogic\StatLogic.lua:1901 tipMiner = StatLogicMinerTooltip { } GetEffectFromDefense = defined @StatLogic\StatLogic.lua:1448 GetMissedChanceBeforeDR = defined @StatLogic\Wrath_Logic.lua:3572 RemoveGem = defined @StatLogic\StatLogic.lua:2099 GetOrderedTalentInfo = defined @StatLogic\StatLogic.lua:1343 GetAPFromStr = defined @StatLogic\StatLogic.lua:1592 RatingExists = defined @StatLogic\StatLogic.lua:1461 GetDodgeFromAgi = defined @StatLogic\StatLogic.lua:1931 GetCritFromAgi = defined @StatLogic\StatLogic.lua:1967 GetBaseDodge = defined @StatLogic\StatLogic.lua:1869 GetDiffID = defined @StatLogic\StatLogic.lua:2878 } avoidanceType = "MELEE_HIT_AVOID" avoidanceBeforeDR = 0 class = 11 C =
{ 1 = 16 2 = 16 3 = 16 4 = 16 5 = 16 6 = 16 7 = 16 8 = 16 9 = 16 10 = 16 } (temporary) = nil (temporary) = "DRUID" (temporary) = 11 (temporary) = "nil" (temporary) = "string" (temporary) = "number" (*temporary) = "attempt to perform arithmetic on field '?' (a nil value)" StatLogic =
{ GetRAPFromAgi = defined @StatLogic\StatLogic.lua:1832 GetReductionFromA

Addon Source

GitHub Releases

Version

1.5.8

Locale

English

Talent Specialization

Feral Druid

Race

Night Elf

raethkcj commented 2 years ago

Hi, version 1.5.14 is the latest version, and I believe this was fixed already. Make sure to update, thanks!