Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(21 Kb)
Download
Updated: 12-02-11 03:29 AM
Pictures
File Info
Updated:12-02-11 03:29 AM
Created:10-26-08 11:30 AM
Downloads:88,467
Favorites:325
MD5:

Shieldmonitor  Popular! (More than 5000 hits)

Version: 1.11.0
by: frenchie [More]

Shieldmonitor by Frenchie
German localisation by Spiritmoon
Russian localisation by Glaurung
French localisation by Iktose
Korean localisation by Metalchoir
Chinese localisations by xiezi and juha
Spanish localisation by miros

Current version: 1.11.0, 2nd December 2011 - Available from http://www.wowinterface.com/

IMPORTANT: unfortunately I no longer play as main any characters that use shields (my mage I used to test the last update is still level 70!). So I'm not it a position to make updates or test for most gameplay changes. If someone else wants to pick up development on this addon, I'm happy to help out with any explanation of the code as needed.

Note: Due to time constraints development on this mod by me is now in maintenance mode, if anyone else wishes to pick it up to update it or add new features, please feel free.

Changelog
=========

1.11.0 - Updated for Wow 4.3 combatlog API
- removed right-click menu since is causes taint - use /sm options to change any options now
1.10.0 - Updated for Wow 4.2 combatlog API - no other changes
1.9.0 - Updated for Wow 4.1 API - no other changes
1.8.2 - Where shield strength is read from the tooltip this is now used as the final value as this should now already include spell/glyph bonuses. As a result we now check the tooltip every time a shield is cast rather than caching the value, since spellpower could have changed.
1.8.1 - Fix to shields where Blizz now sends the strength going back to 100% after damage - since they also now send a SPELL_AURA_REFRESH with a new strength each time such a shield takes damage.
- added French translation for Mage Ward (Thanks Mizaru)
- added Paladin's Guarded by the Light shield (Thanks Tatltael). Note I don't have a Paladin to test this on, so it's up to you guys
1.8.0 - Since Blizz have been kind enough to include the shield strength in the combat log for Priest shields, this version now reads that value
- other classes shield strength is still determined using tooltips so a fix is also included in case the user has beginner tooltips switched on
- support for Mage Shield in the Russian client added (thanks Khom), other translations still needed.

1.7.3 - more fixes to talent detection that were causing error messages
1.7.2 - added Mage Shield, works for English client only at the moment (thanks to grimmier)
- fix for PW:S bug as a result of talent tree changes
1.7.1 - fix for mouse button click handler
1.7.0 - Compatibility fix for WoW 4.0.1 - IMPORTANT NOTE - this is a fix for small changes in the WoW API ONLY - It does not address any changes in shield mechanics or any problems that may have been caused by tooltip changes.
1.6.1 - Small fix to Russian locale for Power word: shield
1.6.0 - ToC updated for WoW 3.3, cap of 10k added on Divine Aegis shield

(for changes in older versions, see the 'Change Log' tab)

Description
===========
Since Patch 3.0, the combat log has shown exact figures for damage absorbed by shields such as 'Power Word: Shield'. Shieldmonitor is a lightweight addon that takes advantage of that fact to provide feedback on precisely how much more damage a shield can sustain before it fails. It does this by means of a small window that shows a bar with the percentage and damage absorption of the shield remaining as well as the time the shield buff has left.

Usage
=====
This addon is pretty much install and go. There will be nothing to see until a shield is cast on you (by yourself or someone else). At that point the status window appears, initially in the centre of the screen. Left-click and drag the window to where you'd like it to be. Right click on the window to pop-up a menu with options 'Lock Window' and 'disable' and 'Options'. If you disable Shieldmonitor via the menu, then you either have to use the slash command /shieldmonitor enable or the options screen to re-enable it. Note that Shieldmonitor's window disappears as soon as the shield is exhausted, dispelled or the shield buff times out.

Shields currently monitored are:

Priest - Power Word: Shield, Divine Aegis
Mage - Ice Barrier, Mana Shield, Mage Ward
Paladin - Sacred Shield, Guarded by the Light
Warlock - Voidwalker Sacrifice, Shadow Ward
Herbalists - Fel Blossom (note this provides a shield that has a min and max damage absorption. For the purposes of monitoring, the most optimistic value is taken, however Shieldmonitor will close its window as soon as the shield fails.)

Limitations
===========
The maximum value of a Power Word: Shield or Divine Aegis cast on you by another player will probably be inaccurate, since the shield will benefit from the casting player's spell bonus and talents and this is not available via the API, only your own spell bonus/talents. (that is unless someone can point me to a way to find it out - GetSpellBonusDamage is self only).

There are no configuration options for the style of the window other than the scaling. If you don't like it, feel free to play around with the xml file, everything that controls its appearance is in there.

Localisation
============
The addon will work for the English, German, French, Spanish, Korean, Chinese (zhCH and zhTW) and Russian clients at present. If any player from a non-supported locale wants to help, then you can see what needs to be done by looking at the already added German (deDE) locale block in the lua file. Only the spellnames and the TIPREAD entries are essential for making the addon work, other texts are just for completeness.

Noted suggestions (which may or may not make it into a future version!)
==============
- Add a sound alert to the warnings (possible, perhaps)
- Add option to customise bar textures (possible, low priority for now)
- Add option to adjust bar length (possible, low priority for now)
- make addon communicate between people in groups/raids who are all using shieldmonitor in order to make the level of PW:S casted on you by someone else accurate (possible, being researched, testing issues though, i.e. requires group!)
Note: It's likely to be a while now before I dovote a lot more time to Shieldmonitor as, like everyone else I suspect, I'm now busy levelling my main characters to 80

Bugs
====
Due to the complexity of testing various shield combinations at the same time, the priority of the shields with respect to each other might not yet be correct. Any testing info always welcome!

1.5.0 - Updated for WoW 3.2 - localisation patches incorporated
1.4.6 - Paladin sacred shield added into Korean locale, fix to different duration on sacred shield depending on talents (Thanks Metalchoir).
1.4.5 - Fix to voidwalker shield
1.4.4 - Changed the way talents / glyphs are checked since the Blizz functions do not return the right info immediately after zoning into an instance/bg. Checks are now done the first time you cast any shield spell in any particular instance.
1.4.3 - Urgent fix to problem that could cause Shieldmonitor to hang the UI under certain conditions
1.4.2 - Spanish localisation added
- attempts to clear existing buffs on entering arena
- fixed bug where tooltips are different during the preparation phase of arena/bg (mana line is not shown) therefore were not being read correctly.
1.4.1 - A few small fixes to Ice Barrier. Now checking for correct glyph id, glyph bonus calculation changed, French tooltip pattern updated.
1.4.0 - Added paladin Sacred Shield spell. I've been able to localise the spell name for the German, French and Russian clients thanks to Wowhead but other localisations still need transalation. The priority of this shield with regard to other shields still needs checking.
- Added code to (hopefully) handle stacking of Divine Aegis shields.
- Fixed Divine Aegis spelling for German client.
1.3.0 - Updated for WoW version 3.1
- version numbering changed to format <major>.<minor>.<release>, changes to the <release> number will mean that there are only bug fixes/localisation updates. Feature changes will be reflected in a change to the <major> or <minor> number
- priest talent checks updated to reflect the revised trees
- check for Mage Glyph of Ice Barrier added.
- also includes a small non-shield related function for hunters to announce their misdirect. Why? I have a hunter and wanted this and as it only took a few lines I couldn't be bothered to write a complete new addon. By default the feature is switched off. Activate it with the command
/sm mdchannel <channel> where <channel> is any valid chat channel such as SAY, PARTY, RAID, etc then you will get an announcement in that channel whenever you successfully cast a misdirect. use OFF to turn off the feature again.
1.20 - Small fix to zhTW locale
1.19 - Chinese (zhCN and zhTW) locales added, thanks to xiezi and juha
1.18 - Korean localisation added thanks to Metalchoir.
- Warlock shield spell Shadow Ward is now monitored, thanks to Metalchoir for pointing that spell out.
1.17 - French localisation added thanks to Iktose. Still nothing new for anyone already running 1.14 (and will be a while for anything new, as now playing WotLK :) )
1.16 - Russian localisation added thanks to Glaurung. Again, nothing new for anyone already running 1.14
1.15 - German localisation added thanks to Spiritmoon. No new features so people already running 1.14 do not need to download.1.14 - Small fix to trap bad arguments to the slash commands
1.13 - Added options to warn you when the shield goes below a specified time or percent left (initial warning defaults are 3sec and 20%). The corresponding text element will flash as will (optionally) the frame border. These new options and the existing options can be configured through the Blizzard Interface options screen, where Shieldmonitor now has its own panel. You can directly access this panel via /shieldmonitor options, or the right-click menu new item 'Options'.
- added /sm as a shortcut for /shieldmonitor

1.12 - Divine Aegis is now monitored.
- Talents affecting the maximum value of PW:S are now taken into account. However note that with both Divine Aegis and PW:S the maximum value is unlikely to be accurate if cast on you by another player. This is because my addon doesn't have access to the other player's talents and spellpower through the API.
- A few slash commands have been implemented
/shieldmonitor scale <num> (where <num is between 0.3 and 3) scales the shieldmonitor window. This setting is saved per character. Using a value of 1 will reset the window to the design size.
/shieldmonitor disable - disables shieldmonitor for the remainder of the current session, or until re-enabled or a reloadui is performed. The disable function is also available via the right-click menu.
/shieldmonitor enable - re-enables shieldmonitor if disabled.

1.10 - Now handles multiple shields up at once. The status bar always shows the 'outermost' shield (i.e. the one first in line to take damage). If this shield is removed and another one is still active the bar will change to show that. Similarly if a shield with a higher priority is cast the bar again changes to show the new shield. This means that the status bar is almost always showing the shield that is taking damage. The only exception to this is if a mage has both an elemental (fire/frost ward) up and mana shield, and takes damage that cannot be absorbed by the elemental shield. In this case the mana shield will take the damage, but the status bar will continue to show the elemental shield. Internally the addon will keep track of the level of the mana shield and it will be displayed at the correct level if the elemental shield is lost. This version also introduces a small icon on the left of the status window to indicate which shield is being displayed, as well as using different coloured status bars for the different shields.

1.05 - Now correctly detects environmental damage absorbed by a shield. Also most shields get a benefit from the player's current spell bonus. This isn't shown in the tooltip and therefore the addon was previously showing a too low value for these shields. As far as I can tell the extra to these shields is 80.5% of the appropriate spell bonus (holy,fire, frost etc). 80.5% seems a bit of a strange number and may not be quite accurate, but it's the best I could come up with testing on my poorly geared mage and priest.

1.04 - Initial public release
Optional Files (0)


Archived Files (21)
File Name
Version
Size
Author
Date
1.10.0
21kB
frenchie
06-29-11 04:46 AM
1.9.0
21kB
frenchie
04-27-11 08:12 AM
1.8.2
21kB
frenchie
11-21-10 09:05 AM
1.8.1
21kB
frenchie
11-18-10 04:38 AM
1.8.0
20kB
frenchie
10-18-10 04:59 AM
1.7.3
20kB
frenchie
10-16-10 05:32 AM
1.7.2
20kB
frenchie
10-15-10 07:09 AM
1.6.1
20kB
frenchie
02-11-10 07:50 AM
1.6.0
20kB
frenchie
12-17-09 06:22 AM
1.5.0
20kB
frenchie
08-05-09 11:44 AM
1.4.6
20kB
frenchie
06-19-09 05:59 AM
1.4.5
20kB
frenchie
05-20-09 04:22 AM
1.4.4
20kB
frenchie
05-11-09 04:14 PM
1.4.3
20kB
frenchie
05-09-09 05:18 PM
1.4.1
19kB
frenchie
04-25-09 01:50 AM
1.4.0
19kB
frenchie
04-22-09 05:22 AM
1.3.0
18kB
frenchie
04-20-09 12:15 PM
1.20
17kB
frenchie
12-01-08 03:07 PM
1.19
17kB
frenchie
11-22-08 01:15 PM
1.18
16kB
frenchie
11-16-08 06:49 PM
1.17
15kB
frenchie
11-15-08 01:34 PM


Post A Reply Comment Options
Unread 05-06-09, 04:58 PM  
miros
A Defias Bandit
 
miros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 83
Uploads: 9
Cool esES locale

Just sent you the esES locale (via PM). Cheers
miros is offline Report comment to moderator  
Reply With Quote
Unread 05-06-09, 03:29 PM  
affix
A Kobold Labourer

Forum posts: 0
File comments: 103
Uploads: 0
Any chance you can look in to the ice barrier issues?
affix is offline Report comment to moderator  
Reply With Quote
Unread 05-01-09, 01:23 PM  
Boosts
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
edit: nvm thought i fixed my problem but i didn't

edit 2: after completely deleting the saved variable folders of shieldmonitor and my addon folder, i reinstalled it again and when i first cast ice barrier it shows the right value, after entering a bg or arena and casting ice barrier, i get an error and from there it shows the wrong value.
Last edited by Boosts : 05-01-09 at 02:04 PM.
Boosts is offline Report comment to moderator  
Reply With Quote
Unread 04-29-09, 11:48 AM  
Boosts
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Well i'm not sure what affix's problem is but this is mine. Well, firs tto answer your question, no ice barrier is not showing the correct value for me with the glyph. 5% of the time itll show the correct amount which is 6,100 something but 95% of the time it shows 5750 which means the addon is showing the 30% more absorption without the spell power scaling part of ice barrier and just the baseline ice barrier absorption of 3300. Also, as for my problem, whenever I enter an arena or battleground, if i cast ice barrier or any shield for that matter before the arena match starts, i get an error that pops up talking about being unable to concatenate local 'text' (a nil value). It also is bugged out and after i click ok on the error, the shieldmonitor bar runs in the negatives or does not show at all. Immidiately after the bg or arena fight starts, and i cast any shield everything is fine, but again barrier shows the wrong value but it still shows the incorrect value with no errors.
Last edited by Boosts : 04-29-09 at 12:21 PM.
Boosts is offline Report comment to moderator  
Reply With Quote
Unread 04-29-09, 06:03 AM  
frenchie
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 77
Uploads: 2
Ok, I'm getting confused as to whether there are one or two different issues here.

Firstly, ignoring arena for a second, is the calculation for Ice Barrier, with and without glyph, now correct in normal play? (It seems correct on my level 70 mage that doesn't have the glyph).

As far as arena goes (which I don't play myself), I think the problem lies in this: "Any existing buffs and conjured items will be purged or deleted upon entering. This is to ensure outside buffs are not used, and no conjured items from players not actually in your group are being used." from (http://www.wow-europe.com/en/info/basics/arena/) however, this purging is done without Blizz actually sending the corresponding events to the combat log. As of yet, I don't have way of detecting entering an arena, if anyone can point me at a good way of doing this I will add it in.


Originally posted by affix
I'm not swapping specs at all. I just confirmed Boost's post, the addon shows the correct value for Ice Barrier until I join an arena with a barrier up. At that point, it starts showing an incorrect value, and does the weird stuff like ticking in to the negative.

When the addon is ticking in to the negatives, if I try to click off my Ice Barrier buff and cast a new one, it doesn't show up at all until I leave the arena.
frenchie is offline Report comment to moderator  
Reply With Quote
Unread 04-28-09, 11:48 AM  
affix
A Kobold Labourer

Forum posts: 0
File comments: 103
Uploads: 0
Originally posted by frenchie
Re Ice barrier showing the wrong figure, could it be that dual-speccing is involved? I'm just wondering if you have the glyph of ice barrier in one spec and not the other, and are then swapping specs after the addon has calculated the max value to use?

If so I need to look at the code that's supposed to re-check things after a spec swap.
I'm not swapping specs at all. I just confirmed Boost's post, the addon shows the correct value for Ice Barrier until I join an arena with a barrier up. At that point, it starts showing an incorrect value, and does the weird stuff like ticking in to the negative.

When the addon is ticking in to the negatives, if I try to click off my Ice Barrier buff and cast a new one, it doesn't show up at all until I leave the arena.
affix is offline Report comment to moderator  
Reply With Quote
Unread 04-28-09, 10:27 AM  
frenchie
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 77
Uploads: 2
Re Ice barrier showing the wrong figure, could it be that dual-speccing is involved? I'm just wondering if you have the glyph of ice barrier in one spec and not the other, and are then swapping specs after the addon has calculated the max value to use?

If so I need to look at the code that's supposed to re-check things after a spec swap.


Originally posted by Boosts
I'm getting the same errors affix has mentioned. If i cast any shield before an arena or battleground starts, an error pops but otherwise itll show up normally after the actual arena or battleground starts, these errors started after ur recent patchup on april 20th to try and fix the amount shown with ice barrier with the glyph. Also last night barrier showed 6069 or so which is the correct dmg absorption but it's now showing 5650 or so again which is the incorrect value.
frenchie is offline Report comment to moderator  
Reply With Quote
Unread 04-28-09, 06:41 AM  
HyperGig
A Cyclonian

Forum posts: 46
File comments: 20
Uploads: 0
Re: Re: Glyph of the Stoneclaw

Originally posted by frenchie
I had a look at this today (even spent 60g on the glyph for my unskilled little shammy) but unfortunately for some reason Blizz doesn't send the SPELL_AURA_APPLIED and SPELL_AURA_REMOVED combat events for this shield. Without these it is difficult to track for this addon as it is.

On a side note, while trying out this glyph I discovered that the id I had for the ice barrier glyph was wrong (a different id is used for socketed glyphs as opposed to the glyph before it's socketted, update for that coming soon).
Interesting... i wonder if they did that on purpose or it's something they are getting to. Thank you for looking into this for me. I will post something on the UI forms to let them know that the api needs to extended to include this shield.
HyperGig is offline Report comment to moderator  
Reply With Quote
Unread 04-27-09, 08:29 PM  
Boosts
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
I'm getting the same errors affix has mentioned. If i cast any shield before an arena or battleground starts, an error pops but otherwise itll show up normally after the actual arena or battleground starts, these errors started after ur recent patchup on april 20th to try and fix the amount shown with ice barrier with the glyph. Also last night barrier showed 6069 or so which is the correct dmg absorption but it's now showing 5650 or so again which is the incorrect value.
Boosts is offline Report comment to moderator  
Reply With Quote
Unread 04-27-09, 12:55 PM  
affix
A Kobold Labourer

Forum posts: 0
File comments: 103
Uploads: 0
I'm getting some strange errors with the latest version. Ice Barrier isn't showing up for the proper amount (~5700 when it is actually ~6100), and when I join an arena with barrier up it counts down from zero and goes in to the negative. I'll try to get some more specific information as to how/when it is messing up tonight, but it functions strangely when joining an arena.
affix is offline Report comment to moderator  
Reply With Quote
Unread 04-26-09, 04:27 PM  
Kageno
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I tested in sartharion's lair and the fire ward is getting used up before ice barrier.
Kageno is offline Report comment to moderator  
Reply With Quote
Unread 04-25-09, 01:58 AM  
frenchie
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 77
Uploads: 2
Re: Ice Barrier

Originally posted by Kageno
1/
The Ice Barrier in french is not working because the tooltip text doesn't match the pattern.
You should use this pattern:
"[aA]bsorb%a+ (%d+) points de d\195\169g\195\162ts"
to match
"en absorbant 4290 points de dégâts"

2/
The glyph bonus is not working but I think you said it in an earlier thread.
The glyph ID is 63095 for me.

3/
The calculation for the absorption bonus for Ice Barrier is not correct IMO. The tooltip already takes the glyph into account (3300*1.3=4290). So just add the spellpower bonus through glyph effect (SP*0.8067*1.3) to it.

4/
If I understand the slot system, Ice Barrier takes damage before Ice or Fire ward from Fire/Ice incoming spells. I heard it was the other way around, Fire/Ice ward would take the damage then when used up, Ice Barrier comes into action. I will have to test that as I'm not sure about the mechanics here.
Thanks for the report. I don't have access to the ice barrier glyph myself at the moment, so I need info like this if it's to work.

I've just done an update to include your fixes.

Re point 4, from my testing (pre 3.0) it seemed that Ice Barrier takes priority and will absorb all damage irrespective of school, even if you receive fire/frost damage and one of those barriers is up. The easiest place I found to test this was in Shadowmoon valley, where you can step in/out of the lava (fire damage) while observing what is happening. Of course, it's always possible that Blizz may have changed things arround so info from new testing is always welcome. When I first developed this addon, WotLK was in beta, and as I had a beta account I was able to create pre-made characaters to test all the different shields and abilities. Now I no longer have access to premades there's a lot of stuff I can't test first hand.
frenchie is offline Report comment to moderator  
Reply With Quote
Unread 04-24-09, 07:34 PM  
Kageno
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Ice Barrier

1/
The Ice Barrier in french is not working because the tooltip text doesn't match the pattern.
You should use this pattern:
"[aA]bsorb%a+ (%d+) points de d\195\169g\195\162ts"
to match
"en absorbant 4290 points de dégâts"

2/
The glyph bonus is not working but I think you said it in an earlier thread.
The glyph ID is 63095 for me.

3/
The calculation for the absorption bonus for Ice Barrier is not correct IMO. The tooltip already takes the glyph into account (3300*1.3=4290). So just add the spellpower bonus through glyph effect (SP*0.8067*1.3) to it.

4/
If I understand the slot system, Ice Barrier takes damage before Ice or Fire ward from Fire/Ice incoming spells. I heard it was the other way around, Fire/Ice ward would take the damage then when used up, Ice Barrier comes into action. I will have to test that as I'm not sure about the mechanics here.
Last edited by Kageno : 04-24-09 at 08:05 PM.
Kageno is offline Report comment to moderator  
Reply With Quote
Unread 04-24-09, 04:50 PM  
CmanG
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Thank you Frenchie, it worked.
CmanG is offline Report comment to moderator  
Reply With Quote
Unread 04-24-09, 09:48 AM  
frenchie
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 77
Uploads: 2
Re: Glyph of the Stoneclaw

Originally posted by HyperGig
Any chance you will configure this mod to work with the shield shaman's get from glyph of the stoneclaw? This is the only mod i have came across that offers information on absorption shields.

Thanks!
I had a look at this today (even spent 60g on the glyph for my unskilled little shammy) but unfortunately for some reason Blizz doesn't send the SPELL_AURA_APPLIED and SPELL_AURA_REMOVED combat events for this shield. Without these it is difficult to track for this addon as it is.

On a side note, while trying out this glyph I discovered that the id I had for the ice barrier glyph was wrong (a different id is used for socketed glyphs as opposed to the glyph before it's socketted, update for that coming soon).
frenchie is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: