Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-12-18, 08:32 AM   #1
doofus
A Chromatic Dragonspawn
Join Date: Feb 2018
Posts: 159
GetRaidRosterInfo and GROUP_ROSTER_UPDATE

Some issues with these two.

I am in a raid. Logout. Log back in. I receive 3 invocations of GROUP_ROSTER_UPDATE, and I fire GetRaidRosterInfo as a result. It comes back with "name"= nil "class"=nil "zone"=nil.

If I call it again later it then comes back with the right information.

I am only calling GetRaidRosterInfo to get the "role" (who is the tank) but other than that I do not think I need it.

As an aside, the methods of enumerating raid members are to make up my own "unit" handles depending on I am in a group or in a raid, eg "player" "party1" or "raid1" "raid2". Another way is to get the unit names from the Blizzard's raid frames by constructing the handles "CompactRaidGroup1Member1" or "CompactPartyFrameMember1" but that is as "bad" as constructing the unit handles in the first place.

Because GetRaidRosterInfo cannot be trusted to return the right information maybe I can skip it altogether. Does anyone know a replacement or another way to enumerate party/raid members and their roles ?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » GetRaidRosterInfo and GROUP_ROSTER_UPDATE


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