Quantcast
Download
(172 Kb)
Download
Updated: 08-21-18 07:12 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-21-18 07:12 AM
Created:08-20-11 02:14 PM
Downloads:7,093
Favorites:48
MD5:
8.0.1

ShieldBars  Popular! (More than 5000 hits)

Version: 1.2.8
by: Voyager [More]

ShieldBars 1.2.8

ShieldBars is an addon that displays your currently active shields.
Most of the commonly used shields are supported. It will only display something while there's an active shield on the player.
Use the options menu to show an example shield to help with customisation.

Features

  • Supports all classes
  • Change colors, fonts and bar textures
  • Change size of bars and icon
  • Bar text flashing when shield is about to expire or on low percentage
  • Bar sorting by shield priority, time left or index

1.2.8
- Fixed issue with shields sometimes not being refreshed
1.2.7
- Updated for 8.0
- Added detection of unknown shields
1.2.4
- Added new mage shields
1.2.2
- Fixes issue after profile change
1.2.0
- Updated for 7.0
1.1.4
- Updated for 6.2+
1.1.2
- Updated for 6.0.2
1.1.1
- Updated for 5.4.0
1.1.0
- Updated for 5.3.0
- Added some new shields from TTK
1.0.8-50200
- Updated for 5.2.0
1.0.8
- Updated for 5.1.0
1.0.7
- Added Brewmaster Monk's Guard shield
1.0.6
- Updated for 5.0.4
- Added many new shields
- Fix for Blood Shield
1.0.5
- Updated for 4.3
1.0.4
- Fixed shield names overlapping
- Improved shield value detection
1.0.2
- Fixed Stoneclaw Shield, Blood Shield
- Added Savage Defence, Anti-Magic Shell
1.0.1
- Fixed bar height/width setting options
Archived Files (15)
File Name
Version
Size
Author
Date
1.2.7
172kB
Voyager
07-25-18 04:23 PM
1.2.4
169kB
Voyager
01-11-17 11:03 AM
1.2.2
169kB
Voyager
10-05-16 07:20 AM
1.2.0
169kB
Voyager
07-29-16 08:45 PM
1.1.4
169kB
Voyager
02-08-16 01:25 PM
1.1.2
170kB
Voyager
10-24-14 02:12 PM
1.1.1
169kB
Voyager
09-24-13 10:09 PM
1.1.0
169kB
Voyager
05-23-13 07:38 AM
1.0.8
169kB
Voyager
12-07-12 07:15 PM
1.0.7
168kB
Voyager
09-28-12 12:45 PM
1.0.6
168kB
Voyager
09-22-12 09:56 AM
1.0.5
168kB
Voyager
11-30-11 07:52 PM
1.0.4
147kB
Voyager
09-25-11 12:55 PM
1.0.2
147kB
Voyager
08-22-11 12:45 PM
1.0.1
147kB
Voyager
08-20-11 02:14 PM


Post A Reply Comment Options
Unread 09-12-18, 11:21 AM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
I've tracked problem to the ShieldBars:IsShieldSpell function (and possibly ShieldBars:FindBuff) and have put in a temporary solution for myself.

When unknown shield spells go through "IsShieldSpell", they seem to fail the first time through causing them to be added to the notShieldSpells table. One test I did for example, I changed the scope of notShieldSpells so I could access it in game and put a print statement above it so I can see what spells are added to that table. I ran an instance and used Spell Steal to grab "Bone Shield" ( https://www.wowhead.com/spell=266201/bone-shield ). It was added to the "notShieldSpells" table. I removed the spell from the table ("/script notShieldSpells[266201]=nil"). I used Spell Steal again on the next mob to steal the same spell and it was successfully detected and shown as a bar.

As another test, I commented out the default list and created it as an empty table so every shield spell would be considered unknown. ("local shieldSpells = {}")

The first time I got Power Word Shield ( https://www.wowhead.com/spell=17/power-word-shield ) it was added to the notShieldSpells table. I reloaded my console (hadn't changed the scope of notShieldSpells to remove the spell from the table manually) and the next time I got the shield, it was detected and shown properly.

The issue seems to a caching thing. It might be related to the new SpellMixin bit ( https://us.battle.net/forums/en/wow/topic/20762318007 ) but I'm not sure.

What I ended up doing is creating a new table similar to "newShieldSpells". As new shields are detected, they're added to my new table at the same time they're added to "newShieldSpells" but the new table is saved (SavedVariables). I added the new table to the various "is known shield" check functions. This saves having to update the list manually and allows the new shields to be known the next time I log in.
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 08-24-18, 08:07 AM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
The other shield spells not defined are affected as well so this is not limited to just Resounding Protection.

This image is me with 5 shields:
https://ibb.co/n70gF9
- Resounding Protection - no shield bar
- Bone Shield ( * 3 ) - no shield bars
- The mob I had targetted gave me the 4th Bone Shield buff (Spell Steal) which also didn't appear as a shield bar but I didn't get an image of that
- Ice Barrier - shield bar (also added in the shield list of the addon)

But sometimes it does appear:
https://ibb.co/cJ458U (Ignore the Lua error. I was working on another mod at the time.)

In one session, the shield bar for Resounding Protection appeared 30 minutes after playing. Another session, it was 30 seconds after logging on (the first refresh).

Anyways, I'll spend some time this weekend playing with the code to try and figure this out if I can.

Am I the only one experiencing this issue? Perhaps it's caused by a conflict with another addon which I'll check as well.
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 08-22-18, 09:15 AM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Just a small update (in case it helps you).

When I was playing last night for an hour or two, the shield bar for Resounding Protection did not appear at all.

This morning when I started playing, it still did not show up...

Then I did something dumb in the game, pulled a ton of mobs, died a few times trying to get back to a safe spot. After the deaths, the bar for Resounding Protection appeared.

I logged out shortly after that (had to go to work) but something to do with dying a few times made the bar appear. I'll play around with it more tonight if I get a chance.
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 08-21-18, 07:05 PM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Well.. I grabbed 1.2.8 and it still isn't working.

https://ibb.co/i1Nufz

The above image shows in the chat box the version for verification.

I'm shielded with Ice Barrier and Resounding Protection. Showing the tool tip for Resounding Protection in the corner.

You'll see in the middle of the image the bar for Ice Barrier but nothing for Resounding Protection.

This is what I had with 1.2.7 until I added it manually.
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 08-21-18, 07:16 AM  
Voyager
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 31
Uploads: 9
Originally Posted by tiker
Another spell to add:
Resounding Protection
https://www.wowhead.com/spell=263962

This is another Azurite Power shield. It refreshes every 30 seconds.

I added it myself manually for now but it seems ShieldBars misses some of the refreshes. I'd say about a third of the time, I have the buff but ShieldBars won't show it. Might be the way I added it though.
No need to add them, they should all get detected automatically now, Resounding Protection (269279) definitely does get detected.

The refresh glitch is fixed.
Report comment to moderator  
Reply With Quote
Unread 08-20-18, 09:18 AM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Another shield I forgot to add earlier.

Doing the Tol Dagor instance, mages can steal this shield from a mob:
https://www.wowhead.com/spell=258153

In my case, by the time I noticed the buff on me and got a screen capture, there was 3 seconds remaining on the buff and the tooltip showed "Absorbs 53764 damage.".
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Last edited by tiker : 08-20-18 at 09:18 AM.
Report comment to moderator  
Reply With Quote
Unread 08-20-18, 09:10 AM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Another spell to add:
Resounding Protection
https://www.wowhead.com/spell=263962

This is another Azurite Power shield. It refreshes every 30 seconds.

I added it myself manually for now but it seems ShieldBars misses some of the refreshes. I'd say about a third of the time, I have the buff but ShieldBars won't show it. Might be the way I added it though.
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 08-15-18, 07:55 PM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Another missing shield:
https://www.wowhead.com/spell=268595

It's one of the abilities from https://www.wowhead.com/item=161444
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 08-15-18, 06:41 AM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Mayor Striggs / Civil Servant is missing.
https://www.wowhead.com/item=155569
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 07-26-18, 04:04 AM  
nullafy
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Thanks!

Thank you for the update! Appears to be working well so far. Hurrah!
Report comment to moderator  
Reply With Quote
Unread 07-25-18, 12:23 AM  
ryumo
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by nullafy
This wee addon has been my number 1 as a mage for a long time, the shield bars are just perfect.
Any chance of an update - doesn't appear to work at all this expansion patch 8.0.1.


Many thanks!
That's gonna be because the internals lean heavily on the behavior of UnitBuff() and UnitDebuff(), which was just changed for...S&M reasons? Un-repressed dev hate?...anyway, you can no longer ask those functions to find a specific buff by name; they now spit the whole array back at you (with some minimum possible filtering) and wish you luck.

It could be reconstructed using AuraUtil.FindAuraByName() to achieve exactly the same effect, given time.
Report comment to moderator  
Reply With Quote
Unread 07-23-18, 09:02 PM  
nullafy
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
This wee addon has been my number 1 as a mage for a long time, the shield bars are just perfect.
Any chance of an update - doesn't appear to work at all this expansion patch 8.0.1.

Many thanks!
Report comment to moderator  
Reply With Quote
Unread 01-27-17, 11:02 PM  
Kithalaul
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
DK artifact shield

can Umbilicus Eternus be added to the list? its blood dk's vamp blood shield. not sure if frost has one that shows up as a buff but they have a few talents for dmg reducs.
Last edited by Kithalaul : 02-03-17 at 11:39 AM.
Report comment to moderator  
Reply With Quote
Unread 11-04-16, 03:22 PM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Here's another shield to add to ShieldBars. Mages can spell steal this one:
Protective Light - http://www.wowhead.com/spell=198745
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Report comment to moderator  
Reply With Quote
Unread 02-16-16, 09:05 PM  
tiker
A Deviate Faerie Dragon
 
tiker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 129
Uploads: 1
Even though it shows with the list of buffs?
http://i.imgur.com/WsMkJta.jpg

Edit: I guess you're right.. checking the different screen images I've got from the different times I've had the buff on me it appears there's always a 2nd buff which is the shield...
__________________
XMPP: [email protected]
ActivityPub (Mastodon / Pleroma): @[email protected]
Last edited by tiker : 02-16-16 at 09:37 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: