Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
1.5.0
Date:
08-05-2009 01:44 PM
Size:
19.82 Kb
Downloads:
31,837
Favorites:
297
MD5:
Pictures
Click to enlarge
Shieldmonitor in action
Click to enlarge
Shieldmonitor's simple right-click menu
Shieldmonitor   Popular! (More than 5000 hits)
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.5.0, 5th August 2009 - Available from http://www.wowinterface.com/

Changelog
=========
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.


(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, Fire Ward, Frost Ward
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!
  Change Log - Shieldmonitor
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 - Shieldmonitor
Sorry, there are currently no optional files available.
  Archived Versions - Shieldmonitor
File Name
Version
Size
Author
Date
1.4.6
20kB
frenchie
06-19-2009 07:59 AM
1.4.5
20kB
frenchie
05-20-2009 06:22 AM
1.4.4
20kB
frenchie
05-11-2009 06:14 PM
1.4.3
20kB
frenchie
05-09-2009 07:18 PM
1.4.1
19kB
frenchie
04-25-2009 03:50 AM
1.4.0
19kB
frenchie
04-22-2009 07:22 AM
1.3.0
18kB
frenchie
04-20-2009 02:15 PM
1.20
17kB
frenchie
12-01-2008 04:07 PM
1.19
17kB
frenchie
11-22-2008 02:15 PM
1.18
16kB
frenchie
11-16-2008 07:49 PM
1.17
15kB
frenchie
11-15-2008 02:34 PM
  Comments - Shieldmonitor
Post A Reply Comment Options
Old 09-01-2009, 04:48 AM  
Cerberew
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Sometimes when power word: shield comes to end time is displayed 1030+ and fps in game falls from 60 to 4.
Example:


"disable" helps only

Maybe because the client - Russian?

Last edited by Cerberew : 09-01-2009 at 05:57 AM.
Cerberew is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-25-2009, 03:15 PM  
JMHammer
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 3
File comments: 331
Uploads: 1
Frenchie- Shieldmonitor is a great utility. Thanks for creating and maintaining it.

Might you consider adding things like the Sonic Shield, an effect generated by this trinket? http://thottbot.com/i40865
JMHammer is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-29-2009, 04:00 AM  
smb
A Kobold Labourer
 
smb's Avatar
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 4
Uploads: 5
val'anyr shield

hey there, nice mod!

are you going to add val'anyr shield procs?

From my combat log:

Code:
7/28 22:14:53.579  SPELL_AURA_APPLIED,0x0400000000034BAA,"Smb",0x511,0x0400000000034BAA,"Smb",0x511,64411,"Val'anyr, Hammer of Ancient Kings",0x1,BUFF
7/28 22:14:54.618  SPELL_AURA_APPLIED,0x0400000000034BAA,"Smb",0x511,0x040000000004DE9E,"Velocifero",0x10512,64413,"Protection of Ancient Kings",0x8,BUFF
7/28 22:14:55.053  SPELL_AURA_REFRESH,0x0400000000034BAA,"Smb",0x511,0x040000000004DE9E,"Velocifero",0x10512,64413,"Protection of Ancient Kings",0x8,BUFF
7/28 22:14:55.888  SPELL_AURA_REFRESH,0x0400000000034BAA,"Smb",0x511,0x040000000004DE9E,"Velocifero",0x10512,64413,"Protection of Ancient Kings",0x8,BUFF
You get the "Val'anyr, Hammer of Ancient Kings" Buff - and until it fades (15s), all your healing spells will apply the "Protection of Ancient Kings" shield (stacks up to 20k absorb if i remember correctly).

Thanks
smb is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-25-2009, 11:53 PM  
richerich
An Aku'mai Servant
 
richerich's Avatar
Interface Author - Click to view interfaces

Forum posts: 30
File comments: 399
Uploads: 5
Re: Re: Stoneclaw Totem shield

Quote:
Originally posted by frenchie
See my messsage of 24th April. Unfortunately the addon doesn't support Stoneclaw totem shield at this time.
hah, that's way back :P only recently saw this mod...
but sorry, if it doesn't support stoneclaw totem, then i dont have any use of it, sry :/
__________________


Dajova UI

Dajova UI Mini
richerich is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-25-2009, 01:19 PM  
iiibbbmmm
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
correct some localization in Chinese Simplified

Code:
elseif (mylocale == "zhCN") then

	SHIELDMONITOR_PWS = '真言术:盾';
	SHIELDMONITOR_DA = '神圣庇护';
	SHIELDMONITOR_IB = '寒冰护体';

    SHIELDMONITOR_SPELLS = {
   -- priest
    [SHIELDMONITOR_PWS]={tip=1,bonus=2,slot=5,icon='Spell_Holy_PowerWordShield',r=.7,g=.7,b=.3,tb={[1]=0,[2]=0,[3]=0}},
    [SHIELDMONITOR_DA]={slot=3,icon='Spell_Holy_DevineAegis',r=.7,g=.7,b=.6,tb={[4]=0}},
     -- mage
    [SHIELDMONITOR_IB]={tip=1,bonus=5,slot=2,icon='Spell_Ice_Lament',r=0,g=.75,b=.75,gb=0},
    ['法力护盾']={tip=1,bonus=7,slot=6,icon='Spell_Shadow_DetectLesserInvisibility',r=.9,g=0,b=.9},
    ['防护火焰结界']={tip=3,bonus=3,slot=4,school=4,icon='Spell_Fire_FireArmor',r=.9,g=0,b=0},
    ['冰霜防护结界']={tip=4,bonus=5,slot=4,school=16,icon='Spell_Frost_FrostWard',r=.5,g=.5,b=1},
    -- warlock
    ['牺牲']={tip=1,slot=2,icon='Spell_Shadow_SacrificialShield',r=.5,g=.5,b=0},
    ['暗影防护结界']={tip=5,bonus=6,slot=4,school=32,icon='Spell_Shadow_AntiShadow',r=.6,g=0,b=.6},
    --paladin
    ['圣洁之盾']={tip=1,bonus=2,slot=1,icon='Ability_Paladin_BlessedMending',r=.8,g=.8,b=.2},
    -- herbalist
    ['野魔花']={tip=2,slot=3,icon='INV_Misc_Herb_Felblossom',r=0,g=.5,b=0}
};

   SHIELDMONITOR_TIPREAD = {
   [1]= { line="4",pattern="吸收%a+ (%d+) [^d]?%a*%s?伤害" },   -- all spells use line 4, and (for English at least, this pattern)
   [2]= { line="3",pattern="吸收 %d+ 到 (%d+) 点伤害" } -- only used by Fel Blossom, we take the most optimistic value for the shield
};


   SHIELDMONITOR_LOCKTXT = "锁定窗口";
   SHIELDMONITOR_UNLOCKTXT = "解除窗口锁定";
   SHIELDMONITOR_USAGE = "不能识别的命令。正确的命令是:\n/shieldmonitor options - 进入选项窗口\n/shieldmonitor scale <num> - 对护盾监视器窗口缩放设定 (O.3 到 3)\n/shieldmonitor disable - 临时禁用护盾监视器\n/shieldmonitor enable - 重新启用护盾监视器\n(可以输入 /sm 代替/shieldmonitor)";
   SHIELDMONITOR_ENABLED = "已经重新启用";
   SHIELDMONITOR_DISABLED = "已经在此次登陆停用\n输入 /shieldmonitor enable - 来重新启用插件";
   SHIELDMONITOR_DISABLEMNU = "停用";
   SHIELDMONITOR_BADSCALE = "窗口缩放超出范围。必须介于 0.3 到 3 之间";
   SHIELDMONITOR_SETSCALE = "窗口缩放设定为";
   SHIELDMONITOR_INIT = " 激活。使用'/shieldmonitor (或者 /sm) options'来进行配置";
   SHIELDMONITOR_OPTIONMNU = "选项";
   SHIELDMONITOR_BADTIME = "所设定的警告时的护盾剩余时间超出范围, 必须介于2到10之间";
   SHIELDMONITOR_BADPCT = "所设定的警告时的护盾剩余百分比超出范围, 必须介于1到51之间";
   SHIELDMONITOR_OPTTITLE = "护盾监视器选项";
   SHIELDMONITOR_OPTTEXT1 = "取消禁用护盾监视器(仅对此次登陆有效)";
   SHIELDMONITOR_OPTTEXT2 = "锁定窗口";
   SHIELDMONITOR_OPTTEXT3 = "将提出警告在护盾剩余时间少于";
   SHIELDMONITOR_OPTTEXT4 = "将提出警告在护盾剩余比例少于";
   SHIELDMONITOR_OPTTEXT5 = "在警告的时候边框闪烁";
   SHIELDMONITOR_OPTTEXT6 = "设定窗口大小";
   SHIELDMONITOR_OPTSMALL = "小";
   SHIELDMONITOR_OPTBIG = "大";

   shieldmonitor_localeloaded = true;
I'll test it in 30th July
iiibbbmmm is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-25-2009, 12:44 PM  
frenchie
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 53
Uploads: 2
Re: Stoneclaw Totem shield

Quote:
Originally posted by richerich
It doesn't seems to track Stoneclaw Totem shield (when glyphed). tried it on my shammy and nothing comes up.
Hi, Sorry for the delay in replying, been on my summer hols

See my messsage of 24th April. Unfortunately the addon doesn't support Stoneclaw totem shield at this time.
frenchie is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-16-2009, 10:39 AM  
richerich
An Aku'mai Servant
 
richerich's Avatar
Interface Author - Click to view interfaces

Forum posts: 30
File comments: 399
Uploads: 5
Stoneclaw Totem shield

It doesn't seems to track Stoneclaw Totem shield (when glyphed). tried it on my shammy and nothing comes up.
richerich is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-25-2009, 10:23 AM  
vlakarados
A Deviate Faerie Dragon

Forum posts: 16
File comments: 41
Uploads: 0
Quote:
Originally posted by frenchie
This appears to be a bug in the Russian localisation. Looking at the Russian tooltip on Wowhead, I think the fix is to change line 325 to:

['Жертвоприношение']={tip=2,slot=2,icon='Spell_Shadow_SacrificialShield',r=.5,g=.5,b=0},

and line 335 to:

[2]= { line="4",pattern="[Пп]оглощает (%d+) ед. урона" },

but I'd like someone with the Russian client to test that before I make a new release.
Works like a charm, thank you!
vlakarados is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-25-2009, 02:24 AM  
Bigslick
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Monitoring shields cast on others

Just wanted to throw this out for consideration...

Would it be possible in a future rendition of this mod to track shielding as cast upon other players? E.g., as a discipline priest typically assigned primarily to single target healing, it would be fantastic to know the level of Divine Aegis or PW Shield established / remaining on my principal target. I'm not suggesting that the mod should maintain shield levels / timers on everyone on whom we place shields, but maybe just on the current target.

Also, is it possible to disable or prioritize shield types? I'd love to be able to primarily monitor the level of Divine Aegis (an example of the utility to be gained by this would be pre-loading a tank with heals before a pull to get them to the 10k divine aegis cap and then popping a PW shield right before pull for to maximize the initial absorption they can anticipate.

Thanks for a great mod!
Bigslick is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-20-2009, 01:00 PM  
frenchie
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 53
Uploads: 2
This appears to be a bug in the Russian localisation. Looking at the Russian tooltip on Wowhead, I think the fix is to change line 325 to:

['Жертвоприношение']={tip=2,slot=2,icon='Spell_Shadow_SacrificialShield',r=.5,g=.5,b=0},

and line 335 to:

[2]= { line="4",pattern="[Пп]оглощает (%d+) ед. урона" },

but I'd like someone with the Russian client to test that before I make a new release.



Quote:
Originally posted by vlakarados
hello, doesn't work for me. I don't see the frame that's on the screens, even when playing with config, then after using voidwalkers sacrifice it gives me
Code:
Error:  attempt to compare number with nil
AddOn: shieldmonitor
File: shieldmonitor.lua
Line: 911
Count: 1
loc: ruRU
frenchie is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-19-2009, 01:09 PM  
vlakarados
A Deviate Faerie Dragon

Forum posts: 16
File comments: 41
Uploads: 0
hello, doesn't work for me. I don't see the frame that's on the screens, even when playing with config, then after using voidwalkers sacrifice it gives me
Code:
Error:  attempt to compare number with nil
AddOn: shieldmonitor
File: shieldmonitor.lua
Line: 911
Count: 1
loc: ruRU
vlakarados is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-19-2009, 08:00 AM  
frenchie
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 53
Uploads: 2
Re: Bug fix code

Thanks Metalchoir, just released a new version with your patch.

(I didn't realise Sacred Shield duration was effected by talents - I'm a noob Pally!)


Quote:
Originally posted by metalchoir
at line 783 in shieldmonitor.lua

----------------------------------------------
*Before
shieldstore[slot].shieldexpires= GetTime() + 6;

*After
local shieldTex = 'Interface\\Icons\\Ability_Paladin_GaurdedbytheLight'
for i=1,40 do
local _,_,imsiIcon,_,_,_,imsiTime = UnitBuff("player",i)
if shieldTex == imsiIcon then
shieldstore[slot].shieldexpires = imsiTime
break;
end
end
-----------------------------------------------

As you know, the duration of 'Sacred Shield' is various as changing the talent
frenchie is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-16-2009, 04:47 AM  
metalchoir
A Kobold Labourer
 
metalchoir's Avatar

Forum posts: 0
File comments: 33
Uploads: 0
Bug fix code

at line 783 in shieldmonitor.lua

----------------------------------------------
*Before
shieldstore[slot].shieldexpires= GetTime() + 6;

*After
local shieldTex = 'Interface\\Icons\\Ability_Paladin_GaurdedbytheLight'
for i=1,40 do
local _,_,imsiIcon,_,_,_,imsiTime = UnitBuff("player",i)
if shieldTex == imsiIcon then
shieldstore[slot].shieldexpires = imsiTime
break;
end
end
-----------------------------------------------

As you know, the duration of 'Sacred Shield' is various as changing the talent
metalchoir is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-06-2009, 08:43 AM  
ptolemay
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Fire/Frost wards and Ice Barrier

I tested- wards are absorbing damage before Ice Barrier.
I think you should make another bar for wards, so we could see both- Ice Barrier and ward.

Hope you will consider this,
Ptolemay.
ptolemay is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-05-2009, 11:23 PM  
cawfee
A Fallenroot Satyr
 
cawfee's Avatar
Interface Author - Click to view interfaces

Forum posts: 22
File comments: 100
Uploads: 1
Thank you for this great add-on, this is a must-have for anyone leveling a priest C:
cawfee is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.