Showing wrong ilevels
FlyingDiver opened this issue ยท 21 comments
Drogbar Stones, and a couple of Sunless leather pieces (all season 2) are showing ilvl 250, when they're actually 411 and 424.
Wildercloth fishing cap showing 317 when it's 320.
Lariat showing 350 when it's 424 (shadowflame crafted).
So interestingly, I can't get the item level info for those items when I manually call /run print(GetDetailedItemLevelInfo(itemID))
where itemID is an ID you passed. Let me see if I can figure out what's going on.
Can you supply me with ItemID's for the wrong items? I think I know what this is, but I need to test.
Stones is 204811
Moonless items are 204934, 204935
Lariat is 193001
Fishing cap is 193529
Can you edit data\items.lua
in your local install and go to line 168, and change the parameter passed into GetDetailedItemLevelInfo
from itemID
to itemLink
and see if that makes it better?
Hm, so that's right -- that's what the Blizzard API returns. How about /run print(GetItemInfo(itemID))
and the output of that?
[16:44] Elemental Lariat [Elemental Lariat] 4 350 1 Armor Miscellaneous 1 INVTYPE_NECK 4548906 356629 4 0 1 9 nil false
The other API is also returning 350 -- those are the only two API's for getting item level that I'm aware of. How are you getting your item level information?
This keyboard doesn't have a print screen key, and I only use Windows for gaming. Is there a key combo that will work?
Let's try this other API -- do this.
In items.lua, under GetDetailedItemLevel, add:
effectiveIlvl = C_Item.GetCurrentItemLevel(itemLocation)
Reload, and see if that does it.