Nameplates changing their alpha value mid-combat
Hello, i hope someone can help me here, because i have no clue what the acutal issue is nor whats causing it.
Sometimes when I'm engaged in a fight, some nameplates start changing their alpha value and color (see provided screenshot). This is really annoying because you can't really see them anymore. Why or how does it happen? I don't know. I'm not a heavy addon user so i just use the default Blizzard Nameplates and customized some CVars to my personal preference, you can find a list of changes i made beneath. Screenshot: https://gyazo.com/b54d268bd08b8de5b9c5306f963a8b0f The CVars are changed within the AdvancedInterfaceOptions addon. Disabling it, did not solve the issue. Cvars: Code:
SetCVar("nameplateMinAlpha", 1); -- Default 0.5 Small piece of code i use aswell: Code:
--Scale / Outline NameplateNames Finally a list of all the addons i have activated: Code:
Bugger |
Check CVar nameplateOccludedAlphaMult
|
CVar nameplateOccludedAlphaMult is set to 0.4 which is the default value according to the tooltip of AdvancedInterfaceOptions.
If i understand the description of nameplateOccludedAlphaMult right, it's just an alpha-multiplier for occluded nameplates. Which means right now it is 1 * 0.4 = 0.4 (Nameplate Alpha * Occluded Mutliplier= Occluded Alpha) for occluded nameplates. So chaning it to nameplateOccludedAlphaMult to 1 should fix it? Is this train of thought correct? |
That's what I'm hoping, yeah. It's for units that get out of your character's line of sight, even if only slightly (it can be the tiniest bit of scenery.)
Setting it to 1 disables that functionality. |
Changing CVar nameplateOccludedAlphaMult to 1 sadly did not fix it. Any different ideas?
|
Now that I looked at it again actually, I notice how the uninterruptible shield icon on said nameplate remained opaque instead of following with the nameplate. I'm not sure if this is normal behavior and I can't think of a good way to test that right now, but at the very least that may indicate that the error comes from an addon rather than an UI CVar, somehow making the nameplate almost invisible while the shield icon stops inheriting alpha from the castbar.
Am I correct in assuming that the unit in question is your current target? Also there's the "Interface action failed because of an AddOn" message in chat which could potentially be related. It could be worth setting CVar taintLog to 1, and when you see the error again, see if it comes with an Interface action failed error and copy/paste the contents of Logs\taint.log (in code tags, or on pastebin if it's too big.) It's not a guaranteed way of finding where the problem comes from, because taint is weird, but there's a chance it could point towards the right direction so I think it's still worth a try. Also, that's unrelated, but what addon is it that you're using for your UI? The one that just replaces light grey colors from default UI with that darker black. I've used it once before and have never been able to find it again. I've been looking for it for, like, forever, and it didn't seem like any of your listed addons were related. |
I will test the tainlog CVar in my next play session.
What I found out during my last session was that this problem only occures in a PvE environment. It never happened during PvP. It got me thinking that it only happens when I fight NPCs. I never spotted the failure message though. It always happens mid-fight so my attention is elsewhere. I will just brute force a enable/disable addon method and try to catch what addon is causing it as there is no typical Lua error message appearing. Yes in my posted screenshot, the unit is indeed my current target. But this effect also applies to other nameplates that are around. It usually starts with the target getting changed, nameplates that spawn afterwards then show the same behaviour. You can see this in the screenshot aswell, "Tugar Bloodtotem" and the one "Bile Spitter Egg" spawned before hand and are normal while the other egg changed it's alpha. From now on, every newly created nameplate will have the changed alpha. For the dark UI i used Santa UI Textures. But at the moment I have it disabled because I suspected it to be responsible for the nameplate issue, but nothing changed after I stopped using it. The other way you can do it is by changing the texture color of the Blizzard UI. This way is used in Lorti UI and I also use this method in my "Scripts" addon. The actual addon "Scripts" does a bit more then the nameplate stuff. It sets up my whole UI. This is how Scripts looks like. It's kinda big but I think it's easy to find your way around as I tried my best to structure and comment it in a good way. You can find the skinning of the UI in there aswell as all the other stuff i personally changed so maybe the reason lies in here somewhere. |
This is the taintLog that was created during the Antorus raid where the problem occured. It seems that RaidInterfaceAntidote caused the nameplates to disappear. I will disable it for now and, well let's see if it's gone for good then.
Code:
11/29 22:47:53.027 Global variable CompactUnitFrame_UpdateInRange tainted by RaidInterfaceAntidote - Interface\AddOns\RaidInterfaceAntidote\Code.lua:17 |
The raid frames actually don't mess up in combat anymore, at least from my experience. I uninstalled a similar addon at some point in the last year and my raid frames update just fine in combat. I have 199 addons installed according to Curse Client. CompactRaid...:Show() and SetTargetClampingInsets() are also huge problems with anything that could taint, sometimes frustratingly unrelated.
Try disabling RaidInterfaceAntidote and see what happens. Edit: Ha, turns out that's the exact addon I used. I uninstalled it in February and posted this comment on the addon page. Quote:
|
Looks like disableing RaidInterfaceAntidote solved the issue.
|
All times are GMT -6. The time now is 02:53 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI