Thread Tools Display Modes
Prev Previous Post   Next Post Next
08/17/19, 09:25 AM   #1
cOOLsp0T
 
cOOLsp0T's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2019
Posts: 17
itemlink comparising allways fails

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:
  1. recentlootitemlink = GetLootItemLink(lootID)
  2. recentinventoryitemlink = GetItemLink(bagID,slotID)
  3.  
  4. if recentlootitemlink ~= recentinventoryitemlink then d("wrong...") end
  5.  
  6. >>> wrong...


EDIT:
Found the problem. The post can be deleted. sorry, for the unconvience.

Last edited by cOOLsp0T : 08/17/19 at 10:19 AM.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » itemlink comparising allways fails


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off