Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-06-11, 03:33 AM   #1
Belechannas
A Warpwood Thunder Caller
Join Date: May 2010
Posts: 86
InfoPanel_Stats pet issue

It appears that the logic of InfoPanel_Stats plugin does not handle death of a pet correctly. When my pet dies in combat, the plugin gets stuck in Omen (combat) mode even after combat is over.

From debugging printout I added, it appears the plugin gets the events like this:

PET_ATTACK_START
PLAYER_REGEN_DISABLED
<plugin switches to Omen display>
<pet dies>
<combat ends>
PLAYER_REGEN_ENABLED
<plugin remains in Omen display>

The display continues to show Omen until you leave combat with a live pet, or reload the UI.

If the pet doesn't die, then PET_ATTACK_STOP is received at the same time as PLAYER_REGEN_ENABLED, and the display switches back to Recount.

I'm not very familiar with combat-related events; is there an easy way to handle this properly?
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Plugin Support » InfoPanel_Stats pet issue


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