Attribute visuals (shields) bug
Did you notice that Unit Attrribute Visualizer for shields doesn't work correctly?
You can easily reproduce this bug if you renew two or more shields multiple times - old shields aren't crrectly removed, so your health bar looks like you have permanently applied shield. (Tested with Blazing Shield I + Healing Ward III) If you take a look into values in PLAYER_ATTRIBUTE_BARS.attributeVisualizer.visualModules, shield value never gets to zero, there are artificial numbers like: lastValue = 52151 maxValue = -15213 statusMax = 8114 (probably correct) statusValue = 8114 (probably correct) value = 52151 I have tried to track shield strength on my own (ShieldInfo addon), but it seems that this is not an UI bug, because event EVENT_UNIT_ATTRIBUTE_VISUAL_UPDATED returns invalid numbers. And also because of invalid shield value events EVENT_UNIT_ATTRIBUTE_VISUAL_ADDED and EVENT_UNIT_ATTRIBUTE_VISUAL_REMOVED are almost never fired (for ATTRIBUTE_VISUAL_POWER_SHIELDING). Is it really game bug or did I miss something? |
Debug info from this code:
Lua Code:
Used events: Code:
* EVENT_UNIT_ATTRIBUTE_VISUAL_ADDED (*string* _unitTag_, *integer* _unitAttributeVisual_, *integer* _statType_, *integer* _attributeType_, *integer* _powerType_, *number* _value_, *number* _maxValue_) Code:
Shield Updated: 91789, 94453, -36461, -33797 What I did? Activate Blazing Shield, switch weapon set, activate Healing Ward, switch weapon set, renew Blazing Shield, switch weapons etc. until I run out of magicka. As you can see, EVENT_UNIT_ATTRIBUTE_VISUAL_ADDED and EVENT_UNIT_ATTRIBUTE_VISUAL_REMOVED wasn't fired even once and shield values in EVENT_UNIT_ATTRIBUTE_VISUAL_UPDATED are, ...hm let's say odd. Max value is negative number? |
This definitely sounds like a bug.
|
I also have this problem from time to time. Usually happens in Cyrodiil for me. Only goes away after I relog or crash (which happens a lot more often :p).
|
Confirming this is a bug that I have been dealing with for a long time. The only thing you can do is log out and log back in again. Reloadui will not fix it. Please fix this ZOS!
EDIT: Champion passives, abilities, and weapon enchants that provide small shields will also trigger this bug. |
I added a workaround to my new addon sidWarTools. When you enter /resetshields in chat, it will take the current shield values and subtract them from whatever is returned by the API afterwards.
|
Could this fix be implemented into another "bugfix addon", like existing ones of merlight http://www.esoui.com/downloads/info9...O-UIFixes.html or Circonian's http://www.esoui.com/downloads/info9...nsTweakIt.html, or even Garkin's http://www.esoui.com/downloads/info865-Nothankyou.html?
No offense, but I'm not using your addon here because I don't need the other stuff it provides, but I'm interested into that shield bug fix :) Thanks |
You can disable every single other thing it is doing completely. But I won't stop others form adding a similar fix to their addons ;)
|
Ah, well...
If everything else can be disabled I'm good ;) I didn't install it so far. Thanks for the information, will try it later on. |
I'll take a shot a reproducing this today.
|
This is now fixed internally.
|
This is great to hear. :D
Will it be part of the (tenative) update on monday, or delayed until 2.1? Depending on the answer I might improve the workaround in my addon so it resets the shields automatically. |
We're aiming for the Monday patch. No promises.
|
Looks like it won't make Monday. It should be in for the incremental patch after that though.
|
Okay, thanks for the heads up. I will concentrate on other features that want to be implemented then. :D
|
Seems this bug is still around and the latest patch changed the return value of GetUnitAttributeVisualizerEffectInfo so that it becomes nil when no shields are applied.
|
Bump, still present on live. Every day, after a couple fights my health bar looks like this:
Note that I use a lot of shields, so it gets bugged quickly: Igneous Shield, Shield Assault, Ferocious Leap, Hardening weapon enchantment. Plus other players' shields I get. Edit: forgot Whitestrake's Retribution ;) |
Can confirm. Get that every few days in pvp and also hear a lot of people in the Arena guild complain about it.
My workaround in sidWarTools is still around ;) |
The original bug was caused by some uninitialized memory being used. Let me check to make sure the fix is actually on live. It would be strange that two overlapping bugs were causing the same thing, but not impossible.
|
Yes the fix is definitely on live. Is the repro the same? Just use several shields at once?
|
All times are GMT -6. The time now is 01:51 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI