• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

ItemLevelDKP

 
Project Updated:
Files Updated: Sat, Nov 8 2008
Supports Game Version: 3.0.3
Category: Unit Frames
Tags:

, , , , and [Edit Tags]

Project Manager: Raut
Additional Authors: No additional authors
Current Version: r35
License: All Rights Reserved
Development Site: WowAce.com
Avg Daily DL (last 30 days): 10
Downloads Total: 22,679
Favorites: 46
Comments: 35
  • About 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) / 1.6
     Epic      = (itemLevel - 1.3) / 1.3
     Legendary = itemLevel

ilvl 100 gives:

     Blue      = 61
     Epic      = 75
     Legendary = 100

This 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.30

This is multiplied with the base cost from item level and quality. A epic, ilvl 100 2h sword will be:

     DKP = (itemLevel - 1.3) / 1.3 * 1.5
     DKP = 112.5

Pricing 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?


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 can contact me at

A lot of the thinking behind this addon is stolen from

 http://www.wowwiki.com/Formulas:Item_Values

Thanks 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.  :-)"
  • Downloads (6)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  ItemLevelDKP r35 Release 3.0.3 13,137 11/8/2008
  ItemLevelDKP v3.0 Release 3.0.2 1,326 10/18/2008
  ItemLevelDKP-r37249.1048 Beta 2.1.3 584 9/14/2007
  ItemLevelDKP-r37249.1047 Beta 2.1.3 56 9/11/2007
  ItemLevelDKP-r37249.1046 Beta 2.1.3 62 9/2/2007
  • Screenshots (3)
  •  
  • Comments

Add Comment

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • craeli said

    Is it somehow possible to write a macro to paste the itemcost into a chat frame?

    Reply Report Permalink
  • Dracheo said

    I get this error message when i clink on a new item link. Happens very often.

    Interface\AddOns\ItemLevelDKP\core.lua:105: attempt to compare number with nil
    Count: 1

    Call Stack:
    [C]: ?
    Interface\AddOns\ItemLevelDKP\core.lua:105: in function `ilvlDKP'
    Interface\AddOns\ItemLevelDKP\core.lua:84: in function
    [C]: ?
    [C]: ?
    [C]: in function `SetHyperlink'
    Interface\FrameXML\ItemRef.lua:96: in function
    ...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3603: in function <...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3547>
    [C]: in function `orgfunc'
    Interface\AddOns\Prat-3.0\services\links.lua:108: in function
    (tail call): ?
    (tail call): ?
    Interface\FrameXML\ChatFrame.lua:2588: in function
    [C]: ?
    [C]: in function `ChatFrame_OnHyperlinkShow'
    [string "*:OnHyperlinkClick"]:1: in function <[string "*:OnHyperlinkClick"]:1>
    [C]: ?

    Reply Report Permalink
  • hunding said

    Same issue as I commented on below - itemRarity is being used before it is checked to be valid.

    Reply Report Permalink
  • hunding said

    I'm having comparison with nil errors on core.lua:105 when viewing some items like rare quality enchants and some other items.
    Adding the check "if not itemRarity then return -1000,0 end" before that line seems to of fixed it. A better way might be to integrate the check into the (itemRarity > 2 and itemRarity < 6) check.

    Patch is

    diff -ud ItemLevelDKP r35/core.lua ItemLevelDKP/core.lua
    --- ItemLevelDKP r35/core.lua 2008-12-01 00:18:27.000000000 -0800
    +++ ItemLevelDKP/core.lua 2009-02-21 13:52:39.000000000 -0800
    @@ -102,6 +102,7 @@
    if ItemLevelDKP_List[name] then
    return -1,ItemLevelDKP_List[name]
    else
    + if not itemRarity then return -1000,0 end
    if (not (itemRarity > 2 and itemRarity < 6)) then
    return -1000,0
    end
    Common subdirectories: ItemLevelDKP r35/libs and ItemLevelDKP/libs

    Reply Report Permalink
  • Raut said

    Ouch. You got the error from an enchant? I'll look into it as soon as I can. Without net at home because of moving and my Wintendo disk blew up so it may take some time. Thanks for the patch.

    Reply Report Permalink
  • vonlani said

    the problem is just the itemType, the other strings you use to identify the different armor types, like INVTYPE_HEAD fpr example, are taken from the blizzard library. unfortunately there is nothing similar for the super item types. maybe you could just compare it to all the INVTYPE_XYZ strings instead. you would have to do it twice then but i don't think this woud make a big difference in performance. of course i agree that this would be no perfect solution but i couldn't find a method to do it different when you just use the blizzard api.

    Reply Report Permalink
  • Raut said

    I haven't kept up with my school German so you'll have to mail me the locale. Does the German client have German names for all the strings or just the item super types?

    Reply Report Permalink
  • macmurphy said

    substitute following line in core.lua for the german client:

    original:
    if (not ((itemType == "weapon" or itemType == "armor") and

    for the german client:
    if (not ((itemType == "Waffe" or itemType == "R\195\188stung") and

    greetings, mac

    Reply Report Permalink
  • Raut said

    All clients should be fixed now. The item super-type was just to not have to go through the entire calculation process, but that's no big deal. Report back any problems.

    Reply Report Permalink
  • macmurphy said

    I also use the german client. My fix is similar to the comment of Vonlani exept with "Rüstung"... it only works when I translated it with "R\195\188stung"

    Reply Report Permalink
  • vonlani said

    ok i fixed it myself, in ocre.lua line 106 you are comparing the recieved itemType to "Weapon" and "Armor". for the german client these strings should be "Waffe" and "Rüstung". maybe you should consider localising these strings and the ones displayed in the tooltip, i.e. "Price" would become "Preis" in german for example.

    Reply Report Permalink
  • vonlani said

    seems to me like of is only working with the english client and not with the german one. Can anybody confirm this?

    Reply Report Permalink
  • Raut said

    New version. Bumped to WoW 3.0.2 and made thrown weapons have the same DKP calculation as wands.

    Seems the comment thing is broken on Curse.com, but works on http://www.wowace.com/projects/item-level-dkp/

    FYI in case you want to comment.

    Reply Report Permalink
  • Corbism said

    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)

    Reply Report Permalink
  • QuizTIC said

    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.

    Reply Report Permalink
  • Khallah said

    Fantastic. I've been looking for a replacement for HoB, and this appears to be it.

    Thank you for developing this - it looks great :)

    Reply Report Permalink
  • Ethias said

    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!

    Reply Report Permalink
  • Raut said

    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.

    Reply Report Permalink
  • Corbism said

    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.

    Reply Report Permalink
  • sonath said

    Would it be possible to update the TOC so WoW doesn't mark the addon as outdated? Thanks.

    Reply Report Permalink
  • Addon Packs Containing ItemLevelDKP

Most Downloads / Day

ItemLevelDKP has not been added to any Addon Packs yet.

  • Similar Addons
  •  

Average downloads per day

  1. 11,397 HealBot Continued Unit Frames, Buffs & Debuffs...
  2. 2,530 X-Perl UnitFrames Raid Frames, and Unit Frames
  3. 1,800 Grid Unit Frames
  4. 1,699 GridStatusRaidDebuff Unit Frames
  5. 1,389 VuhDo Buffs & Debuffs, Druid, Healer...