Dragpz
Legend
Warforged Tracker
Pretty late into the expac, but been getting pretty bored, so decided to tinker a bit with an addon to keep track of all the warforged gear automatically, and display some helpful statistics. Mildly bugtested so most of the functionality should be working, but would appreciate any error message screenshots. This only works for items from WoD.
Usage Guide:
- /wft list - Gives a list of all items obtained.
- /wft totals - Gives a list of all items by slot type.
- /wft upgrades - Gives a breakdown of all upgraded items obtained, as well as a percentage for upgrades. (*Note: Socketed % is calculated out of socketable items (Head,Neck,Finger,Wrist,Waist) and the specific Tertiaries are calculated out of all Tertiary items.)
Databases are stored per character and will persist through a /reload. To reset the database, you can run "/wft reset" and that should clear the database.
It's a pretty basic text-based addon, mostly to reduce the amount of time it takes for manual data entry and spreadsheeting for keeping track of Warforged/upgraded drops. Not sure if I really want to add new features atm, I'm getting bored of WoW, but I am willing to fix any bugs you guys might find.
Previous versions also hosted on CurseForge: https://www.curseforge.com/wow/addons/warforged-tracker
Version 1.01 Bugfixes
- No longer counts WoD/Apexis rares.
- Fixed an issue with saving non-equippable and non-dungeon gear.
- Updated text commands for addon clarity.
- Optimization fixes.
Version 1.00
- Initial Release
- No longer counts WoD/Apexis rares.
- Fixed an issue with saving non-equippable and non-dungeon gear.
- Updated text commands for addon clarity.
- Optimization fixes.
Version 1.00
- Initial Release
To manually insert item links into the database for testing, you can run the WoWLua Addon (found here).
This code will let you insert whichever item is held in your cursor:
To manually insert your own links, you can replace line 1 with something like this (item link from WoWhead):
itemLink ="\124cff0070dd\124Hitem:109951::::::::20:255::1:3:6710:41:8810:2:9:20:28:2216:::::\124h[Fireblade Collar]\124h\124r"
(credit goes to Farmcount addon for some of the logic for core functionality)
This code will let you insert whichever item is held in your cursor:
Code:
local _,_,itemLink = GetCursorInfo()
amount = 1
name,link,qualityRating,iLevel,a5,a6,a7,a8,a9,a10,a11,itemType,a13,a14,expacLevel = GetItemInfo(itemLink)
print(expacLevel)
if string.find(link,"6710") and (expacLevel==5) and (itemType==2 or itemType==4) then
id = link:match("item:(%d+):")
subString = string.sub(link,string.find(link,"6710"),-30)
id = id..subString
if WFT_lootDatabase[id] == nil then
itemIndex = C_Item.GetItemInventoryTypeByID(link)
WFT_lootDatabase[id] = {}
WFT_lootDatabase[id]["count"] = 0
WFT_lootDatabase[id]["index"] = itemIndex
WFT_lootDatabase[id]["name"] = link
end
WFT_lootDatabase[id]["count"] = WFT_lootDatabase[id]["count"]+amount
if WFT_SHOW_NOTIFICATIONS then
print("WFTracker: "..link.." item acquired!")
end
end
itemLink ="\124cff0070dd\124Hitem:109951::::::::20:255::1:3:6710:41:8810:2:9:20:28:2216:::::\124h[Fireblade Collar]\124h\124r"
(credit goes to Farmcount addon for some of the logic for core functionality)
Attachments
Last edited: