Thread Tools Display Modes
07/28/14, 03:32 PM   #1
zxmbies
Join Date: Jul 2014
Posts: 1
Determining Who Dropped What Item?

Anyone know of a way to do this?
  Reply With Quote
07/28/14, 04:20 PM   #2
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
local function OnReceiveLoot(eventID, receivedBy, item, quantity, itemSound, lootType, self)
EVENT_MANAGER:RegisterForEvent(addonName,EVENT_LOOT_RECEIVED,OnReceiveLoot)

item if memory serves is actually a link, so with the link functions becoming available soon it might be enough to get what else you need otherwise...

local function OnSlotUpdate(eventID,bagID,slotID,isNew, itemSoundCategory, updateReason)
EVENT_MANAGER:RegisterForEvent(addonName,EVENT_INVENTORY_SINGLE_SLOT_UPDATE,OnSlotUpdate)

These two combined together will enable you to track basic info on what other people receive ( although I am sure that someone was getting OnSlotUpdate to report someone nearby's update, but I haven't seen this myself ), and more specific information on what the player receives.
  Reply With Quote
07/29/14, 01:30 AM   #3
CrazyDutchGuy
 
CrazyDutchGuy's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 89
At current state it is not possible. Afaik in the next patch it can't be done either.

Problem is with multiloot mainly and the item looted not mentioning what it is looted from.
  Reply With Quote
07/29/14, 04:16 PM   #4
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
note to self, read question a bit more carefully ... read it as who received what dropped item not what dropped an item. My apologies.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Determining Who Dropped What Item?

Thread Tools
Display Modes

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