Mercurial > wow > wowdb-profiler
changeset 368:2e122726c7dd 6.0.2-5
Commented out tooltip scanning for OPENABLE and pet journal scanning since one is preventing data and the other is unused and causing bloat.
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Sun, 19 Oct 2014 16:46:31 -0400 |
parents | 1dc56d8e1260 |
children | 85c576334f86 |
files | Main.lua |
diffstat | 1 files changed, 13 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Main.lua Sun Oct 19 07:34:16 2014 -0400 +++ b/Main.lua Sun Oct 19 16:46:31 2014 -0400 @@ -116,7 +116,7 @@ MERCHANT_SHOW = "UpdateMerchantItems", MERCHANT_UPDATE = "UpdateMerchantItems", PET_BAR_UPDATE = true, - PET_JOURNAL_LIST_UPDATE = true, + --PET_JOURNAL_LIST_UPDATE = true, PLAYER_REGEN_DISABLED = true, PLAYER_REGEN_ENABLED = true, PLAYER_TARGET_CHANGED = true, @@ -561,7 +561,14 @@ if not is_lootable then return end - DatamineTT:ClearLines() + + table.wipe(current_action) + current_loot = nil + current_action.target_type = AF.ITEM + current_action.identifier = item_id + current_action.loot_label = "contains" + + --[[DatamineTT:ClearLines() DatamineTT:SetBagItem(bag_index, slot_index) for line_index = 1, DatamineTT:NumLines() do @@ -582,7 +589,7 @@ return end end - Debug("HandleItemUse: Item with ID %d and link %s did not have a tooltip that contained the string %s.", item_id, item_link, _G.ITEM_OPENABLE) + Debug("HandleItemUse: Item with ID %d and link %s did not have a tooltip that contained the string %s.", item_id, item_link, _G.ITEM_OPENABLE)]]-- end @@ -2276,8 +2283,8 @@ end -function WDP:PET_JOURNAL_LIST_UPDATE(event_name) - -- This function produces data currently unused by wowdb.com and it makes debugging errors in the .lua output nearly impossible due to the massive bloat. +-- This function produces data currently unused by wowdb.com, and it causes unneeded bloat in the raw lua DB. +--[[function WDP:PET_JOURNAL_LIST_UPDATE(event_name) if DEBUGGING then return end @@ -2305,7 +2312,7 @@ end end end -end +end]]-- function WDP:PLAYER_REGEN_DISABLED(event_name)