Hello Guys,
I acutally try to compare 2 itemlinks from the same item. First from the lootwindow via "GetLootItemLink()" and after that when it reaches the inventory over GetItemLink().
When I compare that both itemlinks in the chatlog they look identical and working well, but when I compare them via code did the check allways fail. Did I make something wrong or did the itemlinks differ when they get over different functions?
Lua Code:
recentlootitemlink = GetLootItemLink(lootID)
recentinventoryitemlink = GetItemLink(bagID,slotID)
if recentlootitemlink ~= recentinventoryitemlink then d("wrong...") end
>>> wrong...
EDIT:
Found the problem. The post can be deleted. sorry, for the unconvience.