Thread Tools Display Modes
02-08-12, 11:04 AM   #1
Kappamus
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Feb 2012
Posts: 2
Differentiating Identical Loot Items

Hello,

I'm creating an addon to monitor loot rolls. It works well except when two or more loot items are exactly the same, which happens frequently in LFR. The issue is that I parse the string such as:

"Disenchant Roll - 96 for [Mereldar Amulet of the Wildfire] by Kappamus"

where the item in square brackets is a link to get the actual roll. However, if say there are two copies of [Mereldar Amulet of the Wildfire], is there any way to differentiate the two?

I know they are in different loot slots and have different loot id's but I can't see how that would help associating the roll with the first or second copy. The only other thing I could think of was that if the rolls for each person were always in order but thats untested.

Any help would be greatly appreciated.

Thanks
  Reply With Quote
02-08-12, 11:32 AM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
check this thread
http://www.wowinterface.com/forums/s...highlight=loot
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
02-08-12, 11:33 AM   #3
Animor
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Mar 2011
Posts: 136
Perhaps you should check how it's done on this addon:
http://www.curse.com/addons/wow/lootlog
  Reply With Quote
02-08-12, 12:25 PM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,932
And if those suggestions don't help you.

Try the following:

http://wowprogramming.com/docs/events/START_LOOT_ROLL
http://wowprogramming.com/docs/api/GetLootRollItemInfo
http://wowprogramming.com/docs/api/GetLootRollItemLink

Between those three it sounds like it would help you.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
02-08-12, 02:46 PM   #5
Kappamus
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Feb 2012
Posts: 2
Thanks guys. I must have missed that thread and I'll be sure to go thru Lootlog.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Differentiating Identical Loot Items


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