View Single Post
06/30/14, 09:21 AM   #45
farangkao
 
farangkao's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 59
Originally Posted by Flagrick View Post
Yes i know, he has implemented his own Internal Questmanager.
I could do something like that
But i want to avoid this, because at the end, the purpose is to get icons to show what we loot in LootDrop, and doing a questmanager for that is a bit too much, i think.
I found this simple but effective way to get the right data from EVENT_LOOT_RECIEVED ...

On the Event, you simply check the Current Inventory for the same ID, and get the Icon and Name from there, it works very well (didn't found a flaw so far)

You can check the Source Code of Mobile Bank Extended ,function "MB.LootRecieved", the only speciality there is that i've looking in the previously saved Table, but i could also do a live lookup of the inventory to get the same result.
  Reply With Quote