Originally Posted by Randactyl
It still seems to be working for me in Item Saver. Is Id64ToString(GetItemUniqueId(bagId, slotIndex)) screwy for you?
|
No. I've never used Id64ToString(). It generates a hash. I just use the number itself. I have no need to "hash" it. Once you use that function to generate a hash string, there is no function (that I know of) to "un-hash" it back to the original number.
From globalapi.lua:
Lua Code:
-- id64s are stored as lua Number type, and sometimes generate the same hash key for very similar numbers.
-- Use this function to get unique hash key for a given id64.
function zo_getSafeId64Key(id)
return Id64ToString(id)
end