From a94a068efda4abacb0cda1a001f4b8d40ce08445 Mon Sep 17 00:00:00 2001 From: ackis Date: Wed, 2 Sep 2009 18:25:48 +0000 Subject: [PATCH] Add some debug text for Pompy to help me out wtih figuring out why BoP isn't being scanned. --- ARLDatamine.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 84a3471..1d2e0a8 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -1393,20 +1393,23 @@ do local text_r = _G["ARLDatamineTTTextRight" .. i]:GetText() local text - if text_r then + if (text_r) then text = text_l .. " " .. text_r else text = text_l end local text = strlower(text) - +self:Print(text) -- Check for recipe/item binding -- The recipe binding is within the first few lines of the tooltip always if strmatch(text, "binds when picked up") then +self:Print("BoP Match") if (i < 3) then +self:Print("BoP Recipe") scan_data.boprecipe = true else +self:Print("BoP Item") scan_data.bopitem = true end end -- 1.7.9.5