Zombie buff icons on nameplates - WoWInterface
Thread Tools Display Modes
05-18-16, 06:38 PM   #1
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
A Pyroguard Emberseer
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
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:

According to:

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) | TDMOG

"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