LibStatLogic-1.2

24 - Attempt to compare number with nil LUA error

What steps will reproduce the problem?
1. Was spam mousing over items in my bags for the slwarnings
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? r106

Do you have an error log of what happened?

3x LibStatLogic-1.2\LibStatLogic-1.2-102.lua:7960 attempt to compare number with nil
LibStatLogic-1.2\LibStatLogic-1.2-102.lua:7960 in function "HasTitanGrip"
LibStatLogic-1.2\LibStatLogic-1.2-102.lua:8129 in function "GetDiff"
RatingBuster\RatingBuster-1.6.7.lua:4333 in function "StatSummary"
RatingBuster\RatingBuster-1.6.7.lua:2727 in function "handler"
libs\LibTipHooker-1.1\LibTipHooker-1.1-16.lua:179 in function <libs\LibTipHooker-1.1\LibTipHooker-1.1.lua:174
<in C code>
FrameXML\GameTooltip.lua:314 in function "GameTooltip_ShowCompareItem"
tekKompare\tekKompare-4.0.0.9.lua:4 in function <tekKompare\tekKompare.lua:3
<in C code>
Informant-5.14.5335 (KowariOnCrutches)\Libs\LibExtraTip\LibExtraTip.lua:335 in function <Informant\Libs\LibExtraTip\LibExtraTip.lua:329
<in C code>
<in C code>
<in C code>
Informant-5.14.5335 (KowariOnCrutches)\Libs\LibExtraTip\LibExtraTip.lua:290 in function "SetBagItem"
FrameXML\ContainerFrame.lua:815 in function "ContainerFrameItemButton_OnEnter"
Bagnon-5.0.2\components\item.lua:258 in function <Bagnon\components\item.lua:240

Locals:
self = <table> {
 GetParryChanceBeforeDR = <func> @..\..\LibStatLogic-1.2.lua:4993
 SetTip = <func> @..\..\LibStatLogic-1.2.lua:176
 ItemSetFrame = StatLogicItemSetFrame {}
 SpellSchools = <table> {}
 StatModTable = <table> {}
 RemoveGem = <func> @..\..\LibStatLogic-1.2.lua:6892
 GetGemID = <func> @..\..\LibStatLogic-1.2.lua:7145
 GetSum = <func> @..\..\LibStatLogic-1.2.lua:7353
 GetStanceIcon = <func> @..\..\LibStatLogic-1.2.lua:1011
 GetDodgeChanceBeforeDR = <func> @..\..\LibStatLogic-1.2.lua:4949
 GetAvoidanceAfterDR = <func> @..\..\LibStatLogic-1.2.lua:5067
 BuildGemmedTooltip = <func> @..\..\LibStatLogic-1.2.lua:7058
 GetStatMod = <func> @..\..\LibStatLogic-1.2.lua:4638
 wowBuildNo = 16016
 PlayerHasAura = <func> @..\..\LibStatLogic-1.2.lua:1019
 tip = LibStatLogic-1.2Tooltip {}
 MasterySpells = <table> {}
 PlayerHasItemSet = <func> @..\..\LibStatLogic-1.2.lua:1090
 RemoveEnchantGem = <func> @..\..\LibStatLogic-1.2.lua:6991
 ModEnchantGem = <func> @..\..\LibStatLogic-1.2.lua:7017
 GetFinalArmor = <func> @..\..\LibStatLogic-1.2.lua:7848
 GetClassIdOrName = <func> @..\..\LibStatLogic-1.2.lua:790
 RemoveEnchant = <func> @..\..\LibStatLogic-1.2.lua:6871
 GetRAPPerAgi = <func> @..\..\LibStatLogic-1.2.lua:6035
 GetNormalManaRegenFromSpi = <func> @..\..\LibStatLogic-1.2.lua:6739
 GetSpellCritFromInt = <func> @..\..\LibStatLogic-1.2.lua:6601
 GetStatNameFromID = <func> @..\..\LibStatLogic-1.2.lua:401
 GetHealthFromSta = <func> @..\..\LibStatLogic-1.2.lua:6456
 StatModInfo = <table> {}
 SlotHasEnchant = <func> @..\..\LibStatLogic-1.2.lua:4509
 GetCritFromAgi = <func> @..\..\LibStatLogic-1.2.lua:6420
 GetAvoidanceGainAfterDR = <func> @..\..\LibStatLogic-1.2.lua:5132
 GetDodgeFromAgi = <func> @..\..\LibStatLogic-1.2.lua:6287
 GetReductionFromArmor = <func> @..\..\LibStatLogic-1.2.lua:5190
 Minor = "$Revision: 102 $"
 PlayerHasGlyph = <func> @..\..\LibStatLogic-1.2.lua:1048
 Major = "LibStatLogic-1.2"
 GetDiff = <func> @..\..\LibStatLogic-1.2.lua:8100
 ArmorSpecFrame = StatLogicItemSetFrame {}
 GetRAPFromAgi = <func> @..\..\LibStatLogic-1.2.lua:6066
 GetHealthRegenFromSpi = <func> @..\..\LibStatLogic-1.2.lua:6838
 GetEffectFromRating = <func> @..\..\LibStatLogic-1.2.lua:5746
 StatTable = <table> {}
 GetAPFromAgi = <functio

Please provide any additional information below.

User When Change
Ralin Aug 31, 2012 at 04:42 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of JackTripper JackTripper Aug 31, 2012 at 11:54 UTC - 0 likes

    i checked in changes where i've basically ripped out all talents.

    Some things were changed from being talents to passive specialization buffs, or maybe spells.

    Hopefully most still work, despite no longer being known talents.


    And i logged into the game and i got no errors: so ship it!

    Last edited Aug 31, 2012 by JackTripper
  • Avatar of JackTripper JackTripper Aug 31, 2012 at 11:20 UTC - 0 likes

    Looks like i never even thought that LibStatLogic might still be looking at talents.

    With the removal of talents in Mists (or more correctly, with the removal of talents that have any valuable impact on any attribute or stat of a player), i need to rip out all mentions of talents:

    GetTalentInfo(...)
    

    In this case the code is checking to see if warrior has TitanGrip talents (page 2, talent number 20).

    If it turns out that TitanGrip still exists, but a native part of a warrior specialization, then i'll have to change the code to look for a spell. But for now i'll assume Titan Grip does not exist. (i can't imagine it does very much)

  • Avatar of Ralin Ralin Aug 31, 2012 at 04:43 UTC - 0 likes

    To add info, apparently if it happens enough, it causes me to disconnect from the server.

  • 3 comments

Facts

Reported
Aug 31, 2012
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees