Originally Posted by Baertram
There might be other IDs for items, like the 64bit uniqie IDs, but I have read there is some trouble if you save them to the SavedVariables and try to read them back to your addon.
This might get fixed with update 1.6 as there are new 64 uniqie ID functions.
|
This may or may not be what you are referring to, but I did run into problems if I tried to save the
Lua Code:
GetItemUniqueId(_iBagId, _iSlotId)
to the saved variables. It was a while ago, I don't recall for sure what it was, I'm thinking it wiped out the (e-314) part?
But as long as its converted to a string before I save it I haven't had any problems:
Lua Code:
local sUniqueId = Id64ToString(GetItemUniqueId(_iBagId, _iSlotId))