Thread Tools Display Modes
07-26-08, 09:15 PM   #1
Acirac
A Defias Bandit
Join Date: Sep 2006
Posts: 2
Event for determining offline status

I was wondering if anyone could help me out with an event that I could use to check if a party or raid member is diconnected. I know that there is PARTY_MEMBER_DISABLE, but in one of the 2.4 patches it no longers returns the unit affected. Is that still the best option to use along with a loop that cycles the raid to determine which unit was affecte, or is there a better way?

Any help is greatly appreciated.
  Reply With Quote
07-26-08, 09:20 PM   #2
Nynaeve
A Cobalt Mageweaver
 
Nynaeve's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 245
Originally Posted by Acirac View Post
I was wondering if anyone could help me out with an event that I could use to check if a party or raid member is diconnected. I know that there is PARTY_MEMBER_DISABLE, but in one of the 2.4 patches it no longers returns the unit affected. Is that still the best option to use along with a loop that cycles the raid to determine which unit was affecte, or is there a better way?

Any help is greatly appreciated.
I have actually wondered this as well, because different unit frames and tooltip mods seem to catch offlines at different times.

For example: The other day, praid caught an offline notice, and pitbull didn't pick it up at all, but when the person came back online, the offline stuck on praid. Then, an hour later, someone else dcd, and neither caught it, but the basic blizzard tooltip did (late, but it still eventually caught it.)

This leads me to assume (assume since I have not dissected codes) that they are using different events or the online/offline event is set to refresh? be checked? less frequently on one?

Wish I could help.
__________________
"For in the plot we find more than just a man, we find the idea of that man, the spirit of that man, and that is what we must never forget." Evey (V)
  Reply With Quote
07-26-08, 10:35 PM   #3
Neuro
A Theradrim Guardian
 
Neuro's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2006
Posts: 60
Originally Posted by Nynaeve View Post
I have actually wondered this as well, because different unit frames and tooltip mods seem to catch offlines at different times.

For example: The other day, praid caught an offline notice, and pitbull didn't pick it up at all, but when the person came back online, the offline stuck on praid. Then, an hour later, someone else dcd, and neither caught it, but the basic blizzard tooltip did (late, but it still eventually caught it.)

This leads me to assume (assume since I have not dissected codes) that they are using different events or the online/offline event is set to refresh? be checked? less frequently on one?

Wish I could help.
I believe it has to do with being in combat or no when doing LD or coming back, since praid uses secure frames.
  Reply With Quote
07-26-08, 10:50 PM   #4
Nynaeve
A Cobalt Mageweaver
 
Nynaeve's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 245
Originally Posted by NeuroMedivh View Post
I believe it has to do with being in combat or no when doing LD or coming back, since praid uses secure frames.

but I thought Pitbull did as well, so why would one throw change the status and the other not?

Either way, I hope someone can help the OP.
__________________
"For in the plot we find more than just a man, we find the idea of that man, the spirit of that man, and that is what we must never forget." Evey (V)
  Reply With Quote
08-08-08, 05:07 PM   #5
Acirac
A Defias Bandit
Join Date: Sep 2006
Posts: 2
Still looking for an answer if anyone could help
  Reply With Quote
08-08-08, 05:54 PM   #6
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
I'm pretty sure that there are only two ways to determine the online/offline status:

- GetRaidRosterInfo()
- UnitIsConnected()

You'll have to iterate over all raid members.

(every unit/raid frame I've seen so far works in this way... even blizzard's)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Event for determining offline status


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