Originally Posted by Kookie
Raid rolls currently uses A Lib from ace3 it looks like to track the rolls. That addon is for 5.4 and is able to track the rolls by the players. The problem is I can't figure out where it's doing it.
|
Could you provide a link to Raid Rolls? I can't seem to find it on Curse or WoWI.
Edit: Is
this it? If so, there's no "s" on the end of the AddOn's name, which is why I couldn't find it on Curse/WoWI initially.
Assuming that's the right AddOn, it seems to detect which server the player rolling is from on lines 865-918 of RaidRoll_OnLoad.lua. It does this by extracting the player name from the roll message (RANDOM_ROLL_RESULT, "%s rolls %d (%d-%d)") and then using GetUnitName to get the name and realm of the player.
Raid Roll doesn't use any Ace libraries apart from CallbackHandler (which is technically just a stand-alone library used by AceEvent rather than an Ace library like AceAddon, etc.).