1. #1

    Looking for a mod that shows itemId's

    I am using Ratingsbuster and I want to insert the data for my default Gemming choices but I am unable to find the itemId's of the gems on wowhead so I was wondering if anyone knows of a mod that displays them on the item tooltip or even a webpage that shows the itemIds for the mop Gems.

  2. #2
    Field Marshal
    Join Date
    Mar 2008
    Location
    MD
    Posts
    98
    I don't think you looked well enough or paid attention to the url while navigating wowhead.

    ie: Searching for 'Primordial Ruby' and clicking on the item brings up the url -> http://www.wowhead.com/item=76131

    If you know how to compile an addon you can use the following code:

    Code:
    hooksecurefunc(GameTooltip, "SetUnitBuff", function(self,...)
    
       local id = select(11,UnitBuff(...))
       local cid = select(8,UnitBuff(...))
    
       cid = cid==nil and "unknown" or cid=="player" and "You" or cid=="pet" and "Pet" or UnitName(cid)
    
       if id then
          self:AddLine("|cffdf7401ID: "..id.."|r (|cfffefefe"..cid.."|r)")
          self:Show()
       end
    end)
    
    hooksecurefunc(GameTooltip, "SetUnitDebuff", function(self,...)
    
       local id = select(11,UnitDebuff(...))
       if id then
          self:AddDoubleLine("|cffdf7401ID: "..id.."|r")
          self:Show()
       end
    end)
    
    hooksecurefunc(GameTooltip, "SetUnitAura", function(self,...)
    
       local id = select(11,UnitAura(...))
       local cid = select(8,UnitBuff(...))
    
       cid = cid==nil and "unknown" or cid=="player" and "You" or cid=="pet" and "Pet" or UnitName(cid)
    
       if id then
          self:AddLine("|cffdf7401ID: "..id.."|r (|cfffefefe"..cid.."|r)")
          self:Show()
       end
    end)
    
    hooksecurefunc("SetItemRef", function(link, text, button, chatFrame)
    
       if string.find(link,"^spell:") then
          local id = string.sub(link,7)
          ItemRefTooltip:AddLine("|cffdf7401ID: "..id.."|r")
          ItemRefTooltip:Show()
       end
    end)
    
    GameTooltip:HookScript("OnTooltipSetSpell", function(self)
    
       local id = select(3,self:GetSpell())
       if id then
          self:AddDoubleLine("|cffdf7401ID: "..id.."|r")
          self:Show()
       end
    end)
    This will give you the id for everything including auras. On auras it will also tell you who applied said aura.


    edit In case you do not know how to compile an addon I whipped 1 up for you. removed file :P
    Last edited by Cirax; 2012-11-11 at 06:39 AM.
    oUF_DHUD - Download - Old School Twin Dragon HUD!
    cTools - Download - Datatext | Chat Filter | Tank/Heal CD Announcer | BuffReminder | ++ More

  3. #3
    If I'm not mistaken you can see ItemID's on wowhead.
    Just look up an item on wowhead, then look at the address bar. There it will say "http://www.wowhead.com/item=*number*"
    That "number" is the ItemID I believe.


    Edit: Ah damnit! You beat me to it Cirax!
    Last edited by TellyTop; 2012-11-10 at 09:42 PM. Reason: Too slow...

  4. #4
    Quote Originally Posted by skrump View Post
    I am using Ratingsbuster and I want to insert the data for my default Gemming choices but I am unable to find the itemId's of the gems on wowhead so I was wondering if anyone knows of a mod that displays them on the item tooltip or even a webpage that shows the itemIds for the mop Gems.
    Rating Buster has an option to show Item ID's

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •