PDA

View Full Version : Negative suffixId?


Zillia Tippytoes
13-02-2007, 05:24 PM
As of WoW 2.0, the itemString format has been changed to
item:itemId:enchantId:jewelId1:jewelId2:jewelId3:jewelId4:suffixId:uniqueId
which includes the possibility that the value of suffixId can be a negative number.

This works fine in some cases but it seems to be producing odd behavior for me. For example...

Given a textLink for this BC item...
"|cff1eff00|Hitem:24603:0:0:0:0:0:-36:1528299550|h[Starfire Mantle of the Sorcerer]|h|r"

I can extract the itemString (sans uniqueId) and get...
"item:24603:0:0:0:0:0:-36"

If I were to send that textLink through chat, others would be able to click on it with no problem.

However, if I send that itemString to GameTooltip:SetHyperlink(), the tooltip shows an item named just "Starfire Mantle" with stat enhancements as +0.

This problem only seems to be appearing with some of the new BC items and I suspect it might only happen when the suffixId is a negative value.

Does anyone know a way to get the itemString working with GameTooltip:SetHyperlink() on these new items?