Thread Tools Display Modes
05-18-16, 06:38 PM   #1
lieandswell
A Cyclonian
 
lieandswell's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 45
Zombie buff icons on nameplates

In the Blizzard_NamePlates UI, recently seen buffs/debuffs are sometimes showing up on units that don't actually have them. To reproduce this, I've been turning both friendly and enemy nameplates on, going to the Orgrimmar training dummies, loading them up with debuffs, and then moving the camera around. You start seeing the debuffs on friendly players' nameplates. The "zombie" buffs don't go away when you turn nameplates off and on again (using V or shift-V).
__________________
1/5 15:55:46.001 UNIT_DIED, 0x0000000000000000, nil, 0x80000000, 0xF130001942161FB7, "Gamon", 0xa28
 
05-20-16, 06:10 AM   #2
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
It can happen if they forgot to reset the aura buttons of the nameplate.

Nameplates get reused thus once onhide fires (you turn your camera and the nameplate disappears from screen) or when the related guid changes they should wipe all unit-related nameplate tables.

You may be able to fix it yourself. Hook the OnHide event of each nameplate and make sure to wipe the nameplate aura table and hide all aura buttons. Currently not sure how they handle guids.

I did something similar in WoD when I implemented aura buttons on my own nameplates for the first time:
https://github.com/zorker/rothui/blo...lates.lua#L464

According to:
https://github.com/tomrus88/Blizzard...lates.lua#L326

Sth like this might do the job when called OnHide.
Lua Code:
  1. if not self.buffList then return end
  2. for key, value in next, self.buffList do
  3.   self.buffList[key]:Hide()
  4. end
What may cause the bug is that nameplates use their own buff icons and thus are not affected by CompactUnitFrame_UpdateBuffs which should trigger once a nameplate is shown.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 05-20-16 at 06:56 AM.
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » Zombie buff icons on nameplates

Thread Tools
Display Modes

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