ItemLevelDKP
ABOUT
ItemLevelDKP is an addon for calculating DKP based on the item's item level, quality and slot. The result is a price tuned to an item's worth based on what Blizz gives the item of stats. The calculation is based around the fact that the quality of an item will decide some of the price:
Blue = (itemLevel - 1.84) / 6.4 Epic = (itemLevel - 1.3) / 5.2 Legendary = itemLevelilvl 359 gives:
Blue = 55.8 Epic = 68.8 Legendary = 359This is the factor which you base your cost on. Secondly you have a slot mod which is a factor that deal with items getting less item budget based on slot.
head = 1 neck = 0.54 shoulder = 0.74 chest = 1 waist = 0.74 legs = 1 feet = 0.74 wrist = 0.54 hand = 0.74 finger = 0.54 trinket = 0.68 cloak = 0.54 weapon = 1 shield = 0.65 2h weapon = 1.5 MH weapon = 1 OH weapon = 1 off hand = 0.52 bow/xbow/gun = 1.5 wand = 0.50 relic = 0.30This is multiplied with the base cost from item level and quality. A epic, ilvl 359 2h sword will be:
DKP = (itemLevel - 1.3) / 5.2 * 1.5 DKP = 103.2Pricing is limited to armor and weapons, but stuff like tabards and thrown weapons are not included.
TODOS AND BUGS
- Make a config panel to edit some factors and numbers.
- Support lists of item priority?
- Work out a formula for Legendary Items (Just using item level isn't going to work anymore)
CONTRIBUTE
Send me patches on either of the channels listed below. I cannot guarantee all modifications implemented into the addon, but I will do my best to expand ItemLevelDKP.
CREDITS
Written by Raut of Exodus, DraenorEU. You may be able to contact him at
- http://www.exodus-guild.eu/
- http://draenor.eu
- Horde on DraenorEU
- http://equilibrium-eu.enjin.com/
- Ally on Laughing Skull EU
http://www.wowwiki.com/Formulas:Item_ValuesThanks to Lorgoth of Exodus, DraenorEU for input and advice. Also thanks to draenoreu.com and my old guild, the-cabal.net, for healthy discussions. Based on Lazare of LightbringerUS work, PriceTag. He claims to have gotten code from the following people:
"Most of the credit goes to Vita's DKP Tooltip mod and to Ratings Buster. The blame is mine alone. :-)"
Issue running this mod with WoW content patch 2.2.0.
When hovering over any item icon in your bags or bank, the following error will appear and you will not be able to see the item tooltip:
Interface\FrameXML\ContainerFrame.lua:602: attemt to index local 'self' (a nil value)
What would be a reasonable DKP number to give per hour while using this pricing? We only give DKP per hour and no extra DKP for boss kills.
Fantastic. I've been looking for a replacement for HoB, and this appears to be it.
Thank you for developing this - it looks great :)
Is there any chance you could create an itemized list of DKP values for raiding instances somehow?
Also, is there any chance of allowing the formula to be editable by individuals? (So that if we wanted to lower the cost of ranged weapons or somesuch...)
Great mod overall!
Corbism: I actually made this to replace HoB. I will continue to update it as long as people keep using it.
Sonath: I'll look into it. Haven't gotten that myself, but I'll check.
Just found your mod. I've been looking for a replacement to the no longer maintained HOB_DKP (http://wow-en.curse-gaming.com/downloads/details/1854/) and this appears to be it.
Hope you continue to maintain this. Nice work.
Would it be possible to update the TOC so WoW doesn't mark the addon as outdated? Thanks.
Thanks, anthraxxanadu. Will commit and upload a new version tonight. Got stuck fixing my UI yesterday. -_-
Here is the solution to the issue:
Open core.lua and go to line 61. Replace SetMerchantCompareItem with SetHyperlinkCompareItem. This fixes the mod.
Blizzard removed the Set*CompareItem methods and replaced them all with SetHyperlinkCompareItem methods.
Thanks, I updated all my ace 2 stuff from there site and it still doesn't seem to work, if that helps at all. Seems like everything that put actual print on an Item box was giving me that error before I updated the ace stuff and now just this is.
I'll look into it when the 2.1 craze settles. Most likely some outdated Ace lib(AceAddon-2.0) or renaming of a core function(SetMerchantCompareItem).
example. I have a dkp addon that sends the item to a dkp price generator and then it returns the dkp value. So could I parse the item level from the item linked, then send it to a function in your addon which would return the dkp value integer?
see hob_dkp ctra hook for what I mean.
thanks
chris
I have gotten a few mails with people wondering if I'm going to continue developing ItemLevelDKP. From my old guild's site it says the guild disbanded and I quit. For a while I did, but I'm playing again. My new guild doesn't use ItemLevelDKP, but I like having it around so I'll see to it that it continues to work in new versions of wow.
If you'd like to see new features implemented, feel free to post them here or send me a mail, but I cannot guarantee that they will be implemented. You are also free to send me patches, but document your work, describe the patch and don't expect everything to be committed if it breaks general use.
It doesn't care about sockets. Blizzard have calculated any sockets into the item budget of an item so prices should be correct regardless of sockets/gems.
hey Raut, thx for the great work. I just wanted to ask if your system calculates the item sockets ? if not any suggestions for me to use ?
Open "priceList.lua" and insert your static price. Typically using the same math as the addon does. I don't want to write special rules for quest items like tier stuff, so this is my approach to the problem.
is it also posible to add those items that are needed for the new tiers?
I'm considering making the formulas configurable in it's own lua so people easily can edit this. A lot of people want this feature.
Comment your requests here and I'll consider implementing it.
I love the idea of this addon! I was wondering though, how difficult would it be to change the dkp formula used? We use a formula similar to this:
ItemLevel^2 * Quality (legendary, epic) * Slot Factor * Scaling Factor
The Quality and Slot factors we use are the same as you have setup already, and I'm pretty sure I know where to put in the Scaling Factor (a chosen value to bring the dkp values into the range we prefer). I'm just not sure (very new to lua) how to make the change so it square's the Item Level in the dkp formula. Would I change the Epic = (itemLevel -1.3)/1.3 to be Epic = (itemLevel * itemLevel)*1.2 ? (1.2 is the epic quality factor we use)