GetLootSourceInfo() Partially Broken in 5.4.2?
View Single Post
01-12-14, 04:52 PM
An Aku'mai Servant
Join Date: Jan 2012
Originally Posted by
I would assume LOOT_OPENED might fire for every corpse in range for AOE loot when it populates the window with their items.
It could very well fire simply from opening the loot window and again when it's populated.
If you know it has the potential to fire multiple times you'll just have to code around that.
Yes, I should able to just use the 'backup' system that reconstructs NPCID/objectID and other variables from GUIDs for NPCs and objects, in a slightly modified form. Though you can't get the itemID of the container from the GUID, the item container will be 'locked' because it is in use, so the addon could scan the inventory for the locked item and get the itemID from that.
Still, I should make a bug report thread about this on the official forums now that I know what is happening (even if I don't know why).
Assistant admin for MMO-Champion
WoW database file expert - ask me anything
View Public Profile
Send a private message to Simca
Visit Simca's homepage!
Find More Posts by Simca