Whitetooth's Avatar
Files 3
Downloads 565,047
Favorites 4,378
View Bug Report
Tankpoints + T6 War Tanking Helm
Bug #: 4497
File: TankPoints
Date: 05-03-08 09:59 PM
By: Aragon
Status: Unconfirmed
Whenever I wear the T6 tanking helm with the 18 stam, 5% stun resist meta and a 5 agi, 7 stam gem, and the 16 def, 17 dodge enchant, Tank points throws an error. Using other gear equipped in the helm slot or dequipping the t6 helm will allow tank points to work.

[2008/05/03 23:57:49-2-x2]: TankPoints-2.7.0 (r58686)\TankPoints.lua:1710: Deformat-2.0: Bad argument #2 to <...erface\AddOns\Deformat\Deformat-2.0\Deformat-2.0.lua:202> (string expected, got nil)
Ace2\AceLibrary\AceLibrary.lua:122: in function <Interface\AddOns\Ace2\AceLibrary\AceLibrary.lua:75>
(tail call): ?:
Deformat-2.0-25921 (Deformat):203: in function <...erface\AddOns\Deformat\Deformat-2.0\Deformat-2.0.lua:202>
TankPoints-2.7.0 (r58686)\TankPoints.lua:1710: in function `GetBlockValue'
TankPoints-2.7.0 (r58686)\TankPoints.lua:2133: in function `GetSourceData'
TankPoints-2.7.0 (r58686)\TankPoints.lua:648: in function `UpdateDataTable'
TankPoints-2.7.0 (r58686)\TankPointsTooltips.lua:226: in function `handler'
TipHooker-1.0-67029 (TipHookerLib):193: in function <...\AddOns\TipHookerLib\TipHooker-1.0\TipHooker-1.0.lua:187>
<in C code>: in function `SetInventoryItem'
Interface\FrameXML\PaperDollFrame.lua:1213: in function `UpdateTooltip':
Interface\FrameXML\GameTooltip.lua:159: in function `GameTooltip_OnUpdate':
<string>:"*:OnUpdate":1: in function <[string "*:OnUpdate"]:1>


RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Aragon - 05-03-08 10:03 PM
If I comment out the lines near tankpoints.lua:1700 This error will not happen.
for j = i + setTotal + 2, Gratuity:NumLines() do
-- Check if set bonus is enabled
line = Deformat(Gratuity:GetLine(j), ITEM_SET_BONUS)
if line then
-- scan for block value
for _, pattern in ipairs(L["ItemScan"][TP_BLOCKVALUE]) do
local _, _, num = strfind(line, pattern[1])
blockValueFromItems = blockValueFromItems + (num or 0)