You are here: Home » Non-Specific Class » ShieldLeft 3.3 Beta - No longer being updatedShieldLeft 3.3 Beta - No longer being updated
Virus/spyware scanned on upload
Compatible with v3.0.3
Compatible with WotLK ()
Author: FireGrove
Download size: 22.96 kB
Updated 22/10/2008 (42 days ago)
4,452 total downloads / downloads this week: 4,452 / downloads today: 4,452
Send PM to FireGrove


ShieldLeft 3.1.7.1b Ice Barrier, archived on 06/06/08
ShieldLeft 3.1.7.1c w/Ice Barrier, archived on 06/06/08
ShieldLeft 3.1.7.1c w/Ice Barrier, archived on 26/06/08
ShieldLeft 3.1.7.1d w/Ice Barrier, archived on 29/06/08
ShieldLeft 3.1.7.2, archived on 04/07/08
ShieldLeft 3.2, archived on 05/07/08
ShieldLeft 3.2, archived on 10/07/08
ShieldLeft 3.2.1, archived on 11/07/08
ShieldLeft 3.2.2, archived on 13/07/08
ShieldLeft 3.2.3, archived on 15/07/08















































































ShieldLeft 3.3 Beta - No longer being updated

Virus/spyware scanned on uploadCompatible with v3.0.3
Compatible with WotLK ()
Author: FireGrove
Download size: 22.96 kB
Updated 22/10/2008 (42 days ago)
4,452 total downloads / downloads this week: 4,452 / downloads today: 4,452
Send PM to FireGrovePlease log in to vote! Current rating: +13
ATTENTION (11/10/08): I AM NO LONGER UPDATING THIS ADDON.
Sorry about this, but I am not going to be updating this any time soon (if ever). I do appreciate everyone that has supported this project and I'm sorry to leave it with problems, but I just don't have the time to work on it any more (and I'm not currently playing WoW, either).
If you are looking for an addon that will do what ShieldLeft does, you might want to check out ShieldMonitor at:
http://www.wowinterface.com/downloads/info11413-Shieldmonitor.html
I haven't used it, but it seems to have all of ShieldLeft's capabilities and much more.
Happy hunting.
Sorry about this, but I am not going to be updating this any time soon (if ever). I do appreciate everyone that has supported this project and I'm sorry to leave it with problems, but I just don't have the time to work on it any more (and I'm not currently playing WoW, either).
If you are looking for an addon that will do what ShieldLeft does, you might want to check out ShieldMonitor at:
http://www.wowinterface.com/downloads/info11413-Shieldmonitor.html
I haven't used it, but it seems to have all of ShieldLeft's capabilities and much more.
Happy hunting.
Patch notes for ShieldLeft 3.3 Beta - No longer being updated
3.3 Beta
* fixed one reported error in the WotLK Beta
3.2.4
* Just some nil error fixes
3.2.3
* Added Shadow Word: Death to the damage absorbed to the shield
* Fixed the Priest issue of not being able to reset SL when you recast PW: Shield
* Fixed Priest issue with SL popping up when you cast PW: Shield on other players
3.2.2
* Fixed the slider problem in the GUI - actually Moongaze fixed it and I just copied and pasted the solution. Thank you very much Moongaze
* Changed the code to make sure the text in the bar stayed centered horizontally and vertically while resizing the bar
* Added dynamic values to the sliders in the GUI so you know what value you are on
3.2.1
* Added new option to turn off all print messages the same as debug and verbose
* Changed the way ShieldLeft reacts to Priest's shield (hopefully fixing the problem of the bar coming up when you cast the shield on someone else)
* Changed the way ShieldLeft reacts to Warlock's sacrifice shield (since the old code was broken)
* Fixed the bar height error that popped up if you didn't have a saved bar height variable
* A few other small fixes
3.2 - Added a GUI for configuring ShieldLeft (there's still a small issue with the color scales, but it works for the most part)
3.1.7.2 - Added the ability to change the bar color and turn the border on or off. Also, hopefully, fixed another rare error.
3.1.7.1d - Another update for the elusive 'nil' error...hopefully this will solve the problem
3.1.7.1c - updates the amount of bonus healing that is added to a Priest's Power Word: Shield
3.3 Beta
* fixed one reported error in the WotLK Beta
3.2.4
* Just some nil error fixes
3.2.3
* Added Shadow Word: Death to the damage absorbed to the shield
* Fixed the Priest issue of not being able to reset SL when you recast PW: Shield
* Fixed Priest issue with SL popping up when you cast PW: Shield on other players
3.2.2
* Fixed the slider problem in the GUI - actually Moongaze fixed it and I just copied and pasted the solution. Thank you very much Moongaze
* Changed the code to make sure the text in the bar stayed centered horizontally and vertically while resizing the bar
* Added dynamic values to the sliders in the GUI so you know what value you are on
3.2.1
* Added new option to turn off all print messages the same as debug and verbose
* Changed the way ShieldLeft reacts to Priest's shield (hopefully fixing the problem of the bar coming up when you cast the shield on someone else)
* Changed the way ShieldLeft reacts to Warlock's sacrifice shield (since the old code was broken)
* Fixed the bar height error that popped up if you didn't have a saved bar height variable
* A few other small fixes
3.2 - Added a GUI for configuring ShieldLeft (there's still a small issue with the color scales, but it works for the most part)
3.1.7.2 - Added the ability to change the bar color and turn the border on or off. Also, hopefully, fixed another rare error.
3.1.7.1d - Another update for the elusive 'nil' error...hopefully this will solve the problem
3.1.7.1c - updates the amount of bonus healing that is added to a Priest's Power Word: Shield
- If a mage casts Ice Barrier and Mana Shield, the ShieldLeft_Ice bar will fade as soon as the first buff fades - regardless of how much time the other buff has left
ShieldLeft 3.1.7.1b Ice Barrier, archived on 06/06/08
ShieldLeft 3.1.7.1c w/Ice Barrier, archived on 06/06/08
ShieldLeft 3.1.7.1c w/Ice Barrier, archived on 26/06/08
ShieldLeft 3.1.7.1d w/Ice Barrier, archived on 29/06/08
ShieldLeft 3.1.7.2, archived on 04/07/08
ShieldLeft 3.2, archived on 05/07/08
ShieldLeft 3.2, archived on 10/07/08
ShieldLeft 3.2.1, archived on 11/07/08
ShieldLeft 3.2.2, archived on 13/07/08
ShieldLeft 3.2.3, archived on 15/07/08Comments
24 days ago
A working shield addon can be found here
http://www.wowinterface.com/downloads/info11413-Shieldmonitor.html
Its called ShieldMonitor
http://www.wowinterface.com/downloads/info11413-Shieldmonitor.html
Its called ShieldMonitor
24 days ago
this changes the font color of other addons and some blizz text to white instead of the gold.
42 days ago
@everyone - this is just the beta that I've had on here for a while. I just moved it over as the main download. I haven't had a chance to play the 3.0.2 patch (and won't for a while due to real-life issues) so I'm not sure if this is working 100% and it is definitely not completely what I want it to be. Hopefully I'll be able to play soon to update the it - I'm not making any promises, though. Please feel free to leave errors here and I'll TRY to get to them.
43 days ago
For the record the patch (3.0.2) breaks this mod in part.
I get these 2 errors as seen by BugGrabber, English client.
[2008/10/20 15:36:34-2067-x1]: ShieldLeft-3.2.4\ShieldLeft.lua:825: attempt to call global 'GetPlayerBuffName' (a nil value)
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
<in C code>: ?
<in C code>: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:259: in function `SecureActionButton_OnClick':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>
[2008/10/20 15:36:34-2067-x1]: ShieldLeft-3.2.4\ShieldLeft.lua:825: attempt to call global 'GetPlayerBuffName' (a nil value)
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
I get these 2 errors as seen by BugGrabber, English client.
[2008/10/20 15:36:34-2067-x1]: ShieldLeft-3.2.4\ShieldLeft.lua:825: attempt to call global 'GetPlayerBuffName' (a nil value)
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
<in C code>: ?
<in C code>: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:259: in function `SecureActionButton_OnClick':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>
[2008/10/20 15:36:34-2067-x1]: ShieldLeft-3.2.4\ShieldLeft.lua:825: attempt to call global 'GetPlayerBuffName' (a nil value)
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
45 days ago
Update for WOTLK
61 days ago
sorry to hear that mate, but RL comes first.
61 days ago
I just want to say thank you to everyone that has supported this addon and given me help in its development. I really do appreciate it. Unfortunately, I will be away from WoW for a little while and won't have time to update ShieldLeft on a regular basis. Hopefully I'll be back soon (either when the expansion comes out or my college semester ends) and ShieldLeft won't suffer. If you would like to maintain ShieldLeft in my absence, please let me know and I will be happy to let someone else do it. I think this addon is very useful and I would hate to see it break due to lack of maintenance.
65 days ago
@Narzil -
ShieldLeft actually does different things depending what class you are. For Mana Shield it takes the total amount of damage the shield can absorb from the tooltip that the shield displays. When you take damage it keeps track of how much damage each mob does to you and then averages the amount absorbed when you have the shield up. The problem is, if you have never been attacked by that mob with your shield down, ShieldLeft has no idea how much damage the mob is doing. It then thinks that the mob is doing zero damage and the ShieldLeft bar never goes down (until the buff goes away). The more damage you take... the more accurate the shield will be. This will change when the WotLK expansion comes out since the new expansion will actually report how much damage you're absorbing. So ShieldLeft will be accurate at that point. Right now, ShieldLeft is just reporting averages. I hope this is what you were asking - if not, please feel free to ask again.
ShieldLeft actually does different things depending what class you are. For Mana Shield it takes the total amount of damage the shield can absorb from the tooltip that the shield displays. When you take damage it keeps track of how much damage each mob does to you and then averages the amount absorbed when you have the shield up. The problem is, if you have never been attacked by that mob with your shield down, ShieldLeft has no idea how much damage the mob is doing. It then thinks that the mob is doing zero damage and the ShieldLeft bar never goes down (until the buff goes away). The more damage you take... the more accurate the shield will be. This will change when the WotLK expansion comes out since the new expansion will actually report how much damage you're absorbing. So ShieldLeft will be accurate at that point. Right now, ShieldLeft is just reporting averages. I hope this is what you were asking - if not, please feel free to ask again.
68 days ago
I just started useing it a few hours ago and a clear problem is it displays the wrong amount of dmg it should absorb for http://www.wowwiki.com/Mana_Shield because it scales with spell dmg atm :(
Does this change the more u use it i meen dose it save the dmg or is it a Fixed 715 Dmg absorb displayed at Rank 7 ...
Does this change the more u use it i meen dose it save the dmg or is it a Fixed 715 Dmg absorb displayed at Rank 7 ...
88 days ago
yes its possible but its up to the author to add it :D
94 days ago
Is it possible to lock the ShieldLeft-Bar in the current position to avoid unintentional drag around?
Thank you for a short replay.
Thank you for a short replay.
107 days ago
if there are any Mages or Locks in the beta please test ShieldLeft out and report any errors.
107 days ago
I have added a new beta version that will only work with WotLK Beta servers. There has been a reported error while playing a priest on the Beta servers and this should fix that problem (thanks to lothaer for the help in correcting this problem). The new ShieldLeft version is only for WotLK and not for the current Burning Crusade servers.
115 days ago
@lothaer - thanks...I will get to checking it out in the next couple days. I REALLY appreciate your help.
116 days ago
i just sent you a PM with a error i found on the beta.
139 days ago
I'm glad you all enjoy ShieldLeft. It's been a lot of work, but I think the final outcome was worth it. I definitely appreciate the thanks.
@The Chiaroscurist - I will see what I can do about the time. Would you like a timer off to the side as part of the bar, for the bar just to flash when the time runs out, a flashing boarder when the time runs out, or something else like that? I will look into how hard it's going to be to implement something like that. I would want it to be something you can turn off since I'm sure not everyone is looking for this kind of feature. Something I would suggest in the mean-time is what I use for buff times and cooldowns: bufftimers (http://www.curse.com/downloads/details/5238/) is an addon that breaks down your buff times to seconds (helping with that 15 second issue) and omniCC (http://www.curse.com/downloads/details/2775/) is an addon that shows the cooldown and a countdown of the cooldown on the button for a spell (or any other skill with a cooldown). I find both of these very useful - you might want to just try them.
@The Chiaroscurist - I will see what I can do about the time. Would you like a timer off to the side as part of the bar, for the bar just to flash when the time runs out, a flashing boarder when the time runs out, or something else like that? I will look into how hard it's going to be to implement something like that. I would want it to be something you can turn off since I'm sure not everyone is looking for this kind of feature. Something I would suggest in the mean-time is what I use for buff times and cooldowns: bufftimers (http://www.curse.com/downloads/details/5238/) is an addon that breaks down your buff times to seconds (helping with that 15 second issue) and omniCC (http://www.curse.com/downloads/details/2775/) is an addon that shows the cooldown and a countdown of the cooldown on the button for a spell (or any other skill with a cooldown). I find both of these very useful - you might want to just try them.
140 days ago
Thankyou! ShieldLeft works perfectly now!
Just an idea, but perhaps a future version could possess the ability to keep track of how much time is left before you can recast your shield (for when your shield breaks unexpectadly during battle, and your trying to decide what course of action you want to take. Maybe just a little bubble on the side that counts down 15seconds everytime you cast the shield, and remains there until the 15seconds are up... even if the shield breaks.
Just an idea, but perhaps a future version could possess the ability to keep track of how much time is left before you can recast your shield (for when your shield breaks unexpectadly during battle, and your trying to decide what course of action you want to take. Maybe just a little bubble on the side that counts down 15seconds everytime you cast the shield, and remains there until the 15seconds are up... even if the shield breaks.
140 days ago
Fire, thank you so much for putting so much time and effort into SL.
140 days ago
@zidomo - I figured out what the issue is...it's actually the same issue I was having before with other variables. I have fixed it and will try to get the new version uploaded to this site tomorrow. It was "kind of" a result of you not having those variables saved. Once you logged on and got that initial error, the variables were saved and it wouldn't be an issue the next time you logged in. I have applied the same fix that Moongaze came up with for the other similar issue. It won't help you now (since you have those saved variables), but it should help anyone else that doesn't have those saved variables already.
140 days ago
The errors occurred a single time each during the session at logon; they did not repeat (BugSack/BugGrabber can keep track of error repeats).
Might have to do with the version gap between the two versions I have tried (3.1.7.2 straight up to 3.2.3). With such massive changes between the two versions, the potential for such errors to occur increases. The old "smooth upgrading" issue again. Or, it could be something else to do with my saved variables :).
Thanks for replying, look forward to the next version.
Might have to do with the version gap between the two versions I have tried (3.1.7.2 straight up to 3.2.3). With such massive changes between the two versions, the potential for such errors to occur increases. The old "smooth upgrading" issue again. Or, it could be something else to do with my saved variables :).
Thanks for replying, look forward to the next version.
141 days ago
@Zidomo - sorry about that...1) it shouldn't have thrown those errors - but did it continue after that first log in? Once you receive them the first time, it shouldn't do it again. I will look at the code and see if I can get it to stop for anyone else. 2) Yeah, I missed the version number in the TOC - I'll change that. I thought I got them all. Please, if you have any other problems, let me know and I'll try to fix them as soon as I can. I try to test this as much as I can for all three classes and only send it out when I can't get it to fail on my end. That definitely doesn't mean there's nothing wrong with it, just that my individual configuration happens to like it. I appreciate the feedback and the continued support.
Edit: I did find out what happened with the version...I updated the TOC before uploading it, but I use AddOn Studio and it generates its own TOC when you build the addon. I neglected to update it in the project properties. It's fixed and will be corrected in the next release.
Edit: I did find out what happened with the version...I updated the TOC before uploading it, but I use AddOn Studio and it generates its own TOC when you build the addon. I neglected to update it in the project properties. It's fixed and will be corrected in the next release.
141 days ago
Upgraded to v3.2.3 from v3.1.7.2, using the old saved variables. Log on with 70 Priest, the following errors are thrown up immediately (recorded with the BugGrabber/BugSack mod). They occurred within a span of 4 seconds:
ShieldLeft-3.2.2\\ShieldLeft.lua:715: attempt to perform arithmetic on field 'Green' (a nil value)\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
ShieldLeft-3.2.2\\ShieldLeft.lua:716: attempt to perform arithmetic on field 'Blue' (a nil value)\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
ShieldLeft-3.2.2\\ShieldLeft.lua:717: attempt to perform arithmetic on field 'Alpha' (a nil value)\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
Yes, the errors state "ShieldLeft-3.2.2", but of course I was using 3.2.3. The version number in the current TOC has not been updated (file date: 7/12/2008, 9:05 PM).
ShieldLeft-3.2.2\\ShieldLeft.lua:715: attempt to perform arithmetic on field 'Green' (a nil value)\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
ShieldLeft-3.2.2\\ShieldLeft.lua:716: attempt to perform arithmetic on field 'Blue' (a nil value)\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
ShieldLeft-3.2.2\\ShieldLeft.lua:717: attempt to perform arithmetic on field 'Alpha' (a nil value)\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
Yes, the errors state "ShieldLeft-3.2.2", but of course I was using 3.2.3. The version number in the current TOC has not been updated (file date: 7/12/2008, 9:05 PM).
142 days ago
yeah at least until WotLK.
142 days ago
@lothaer - that makes sense about the SW: Death. What happens is that it's saved under each creature and so it works like any other ability of that creature. It saves every damage that you've had done to you by that creature with that ability. It then averages out the damage and applies that average to the shield. I can try to make SW: Death a special case and make it the same no matter what mob you're fighting. I'll see if I can work that. I'm glad you like the changes - hopefully they'll continue to work for a while.
142 days ago
ok i just gave SL a good work out, heres what ive found.
The options work great i adjusted the settings then reloaded the UI and everything stayed in place.
SL alwayd updated when i recast Power Word: Shield each and every single time.
The "damage meter" worked great once i had killed a mob SL remembered it damage it did next time and went down in the correct amounts.
Shadow Word: Death, seemed to have issues, im not too sure but i think it takes SL time to remember that the damage done by SW:D is caused by the caster or something but after awhile it corrects but this is done for each mob type.
i hope ive made myself clear, great work on ShieldLeft.
edit: i just looked at the SL SV and it seems to think that SW:D is a mob ability each mob i cast SW:D on has it listed as one of its abilities, im also listed there :D
The options work great i adjusted the settings then reloaded the UI and everything stayed in place.
SL alwayd updated when i recast Power Word: Shield each and every single time.
The "damage meter" worked great once i had killed a mob SL remembered it damage it did next time and went down in the correct amounts.
Shadow Word: Death, seemed to have issues, im not too sure but i think it takes SL time to remember that the damage done by SW:D is caused by the caster or something but after awhile it corrects but this is done for each mob type.
i hope ive made myself clear, great work on ShieldLeft.
edit: i just looked at the SL SV and it seems to think that SW:D is a mob ability each mob i cast SW:D on has it listed as one of its abilities, im also listed there :D
142 days ago
going to test right now will post something in about 30mins-1hr
143 days ago
I THINK I've finally done it!!!! I have fixed the Priest's problems, the Warlock's problems and managed to save the way ShieldLeft handles Mages. All three classes SHOULD be working just fine now - I am emphasizing should. The Priest should now be able to cast PW: Shield on someone else without the SL bar popping up. They should also be able to recast PW: Shield on themselves and the SL bar should act correctly. When a Priest casts SW: Death on something and it doesn't die, the median damage should be subtracted from your SL bar.
The next thing I will tackle is being able to change the font (and size along with it) of the bar text. It should be pretty easy but I'm not going to tell you it will be done soon. If I get the time, I will work on that.
Again, if there are any issues or any suggestions, please feel free to let me know. Thanks for everyones input so-far and all the support. I really appreciate it.
The next thing I will tackle is being able to change the font (and size along with it) of the bar text. It should be pretty easy but I'm not going to tell you it will be done soon. If I get the time, I will work on that.
Again, if there are any issues or any suggestions, please feel free to let me know. Thanks for everyones input so-far and all the support. I really appreciate it.
144 days ago
@lothaer - I added that to the most recent release and it still wasn't updating when I tested it. If you can, check the code and see if I added what you were talking about. Thanks.
144 days ago
with the change i made SL does refresh everytime you cast PW:S.
144 days ago
@TheChiaroscurist - thank you for your input... I do appreciate all the help I can get. I think I kind of know what you're getting at and I hadn't really thought of it that way. Something I'll have to consider - maybe making the shield cast through the addon instead of catching events.
144 days ago
First I want to say thankyou for all your hard work on this mod! It's coming along quite nicely. And an extra-special thankyou for the 'disable print' function.
I know nothing about how to make mods, or the scripting envolved, but I was reading the posts below and a particular section concerning the Priest PW:shield struck my attention. "Unfortunately, if you already have the buff and recast the shield, you don't get the buff again, so shieldleft doesn't know that you've cast it again."
"SmartBuff" has this same problem too when using the spellbook macros to cast a buff, but compensated it by the use of it's own recast button. There is also another buff mod that suffers this issue (unfortunatly it's name escapes me at the moment), but overcomes it by creating it's own macro you use inlue of the spellbooks.
Again, I know nothing about mod creation or scripting for WOW... but was just offering these oberservations incase they might somehow be usefull.
I know nothing about how to make mods, or the scripting envolved, but I was reading the posts below and a particular section concerning the Priest PW:shield struck my attention. "Unfortunately, if you already have the buff and recast the shield, you don't get the buff again, so shieldleft doesn't know that you've cast it again."
"SmartBuff" has this same problem too when using the spellbook macros to cast a buff, but compensated it by the use of it's own recast button. There is also another buff mod that suffers this issue (unfortunatly it's name escapes me at the moment), but overcomes it by creating it's own macro you use inlue of the spellbooks.
Again, I know nothing about mod creation or scripting for WOW... but was just offering these oberservations incase they might somehow be usefull.
144 days ago
This new version adds a few aesthetic changes; values on the sliders in the GUI, maintain the text center in the bar when you resize it. It also adds the fix for the green and blue sliders defaulting to 0 when you open the GUI - thank you very much Moongaze for that fix, I really appreciate it. I seriously doubt I would have found that fix on my own.
I'm still working the Priest PW: Shield issue.
Enjoy.
I'm still working the Priest PW: Shield issue.
Enjoy.
144 days ago
nps mate, cant wait for the next release SL just keeps getting better and better.
144 days ago
@lothaer - thanks for the suggestion...I really appreciate it. I'll take a look at it as soon as I get a chance. By the way, I have fixed the center text problem and will include that in the next release. Also, thanks for getting some help for me. That is definitely appreciated.
@Moongaze - awesome!!! I really appreciate your time and effort. This has been bugging the crap out of me. I'll include it in the code as soon as I can. Thank you!!!!
@Moongaze - awesome!!! I really appreciate your time and effort. This has been bugging the crap out of me. I'll include it in the code as soon as I can. Thank you!!!!
144 days ago
and this is why Moongaze is the code god, cheers moon make sure to give the codecat extra catnip :D
144 days ago
Hey firegrove:
I checked your code and the Green and Blue values are being set to "0" due to the way your "ShieldLeft_ChangeColor" function is written. Any time the slider's value is changed (via user input or by using the "SetValue" method), this function will be called. The problem with this is that your sliders aren't initialized to their proper value positions when the "/shieldleft options" chat command is used. When this happens, your code will make sure the red value is valid, and then set the slider to the current value. However, at this point, your green and blue sliders are set to zero (since they haven't been set yet) and your "ShieldLeft_ChangeColor" function will set your red, green, and blue values based upon the current slider values, which will have red be correct, and green/blue be zero.
To fix this, a simple workaround would be to save the SL.Red, SL.Green, and SL.Blue values in local variables r, g, and b. Set the slider values, and then do SL.Red = r, SL.Green = g, and SL.Blue = b when finished with the slider setup. Here is an example that would work for your code in the chat slash command list parsing function (note that the code will lose the tab formatting, but should be easy to figure out and see what I added =):
I checked your code and the Green and Blue values are being set to "0" due to the way your "ShieldLeft_ChangeColor" function is written. Any time the slider's value is changed (via user input or by using the "SetValue" method), this function will be called. The problem with this is that your sliders aren't initialized to their proper value positions when the "/shieldleft options" chat command is used. When this happens, your code will make sure the red value is valid, and then set the slider to the current value. However, at this point, your green and blue sliders are set to zero (since they haven't been set yet) and your "ShieldLeft_ChangeColor" function will set your red, green, and blue values based upon the current slider values, which will have red be correct, and green/blue be zero.
To fix this, a simple workaround would be to save the SL.Red, SL.Green, and SL.Blue values in local variables r, g, and b. Set the slider values, and then do SL.Red = r, SL.Green = g, and SL.Blue = b when finished with the slider setup. Here is an example that would work for your code in the chat slash command list parsing function (note that the code will lose the tab formatting, but should be easy to figure out and see what I added =):
I hope that helps you out ^_^
elseif msg == "options" then
if (SL.Alpha == nil) then
SL.Alpha = 1
end
ShieldLeft_BarAlpha_PercentageSlider:SetValue(SL.Alpha);
if (SL.Red == nil) then
SL.Red = 0
end
if (SL.Green == nil) then
SL.Green = 0
end
if (SL.Blue == nil) then
SL.Blue = 1
end
-- Store our current red, green, and blue values
local r, g, b = SL.Red, SL.Green, SL.Blue;
-- Set the sliders to show the proper data (but
-- the "ShieldLeft_ChangeColor" function will
-- will wipe the Green and Blue values due to
-- how it is written)
ShieldLeft_RedSlider:SetValue(r);
ShieldLeft_GreenSlider:SetValue(g);
ShieldLeft_BlueSlider:SetValue(b);
-- Now, restore our red, green, and blue values
SL.Red, SL.Green, SL.Blue = r, g, b;
145 days ago
edit line 763
if (event == "SPELL_AURA_APPLIED" and destName == playerName) then
to if (event == "SPELL_AURA_APPLIED" or "SPELL_AURA_REMOVED" and destName == playerName) then
i just did it and it worked, i also noticed in my testing that SL dose not go down when i use Shadow Word: Death this spell does damage to the pries equal to the amount of damage that target recived IF the target does no die.
if (event == "SPELL_AURA_APPLIED" and destName == playerName) then
to if (event == "SPELL_AURA_APPLIED" or "SPELL_AURA_REMOVED" and destName == playerName) then
i just did it and it worked, i also noticed in my testing that SL dose not go down when i use Shadow Word: Death this spell does damage to the pries equal to the amount of damage that target recived IF the target does no die.
145 days ago
@lothaer - I'll take a look at it as soon as I can. It's probably tied to the new event I'm snagging to make the priest shield register. It's going to have to wait a couple days, though. And any help you can get me with the color bars would be greatly appreciated - I'm stumped on that one.
@lothaer - after thinking about it, I know what the problem is, but I don't know if there is a way to fix it. ShieldLeft used to catch the spell succeeded event and now it catches the buff applied event. Unfortunately, if you already have the buff and recast the shield, you don't get the buff again, so shieldleft doesn't know that you've cast it again. At this point, I would have to ask - which is the lesser of two evils for you, the way it is now (with shieldleft not able to reset while the buff is still on) or the way it was (with you getting the bar even though you cast the shield on someone else). I really don't think there's a way to get it to work exactly right, but I'll keep thinking on it and see if I can come up with something.
@blankStare - thank you
@lothaer - after thinking about it, I know what the problem is, but I don't know if there is a way to fix it. ShieldLeft used to catch the spell succeeded event and now it catches the buff applied event. Unfortunately, if you already have the buff and recast the shield, you don't get the buff again, so shieldleft doesn't know that you've cast it again. At this point, I would have to ask - which is the lesser of two evils for you, the way it is now (with shieldleft not able to reset while the buff is still on) or the way it was (with you getting the bar even though you cast the shield on someone else). I really don't think there's a way to get it to work exactly right, but I'll keep thinking on it and see if I can come up with something.
@blankStare - thank you
145 days ago
thank you for your work on SL
145 days ago
Cheers on the update makes thanks for that option, i have PM'd a friend of mine that might know what is wrong with the color option, but hes kinda busy with RL stuff and his own mod that's been in beta for like over a year lol awesome mod though.
Can you make the text stay centered when you adjust the bar height, when i change the height the text moves with it (the height) be great if it would stay centered.. also as a suggestion for a later date, might be a idea for some text options ie font, size etc but stick this on the back burner its not really needed :D.
OK there is a problem with SL, Power Word: Shield is not updating correctly, if you re-cast PW:S before the buff has gone SL wont update, you have to wait until the buff is gone then cast PW:S to get SL to update for the new shield.
Can you make the text stay centered when you adjust the bar height, when i change the height the text moves with it (the height) be great if it would stay centered.. also as a suggestion for a later date, might be a idea for some text options ie font, size etc but stick this on the back burner its not really needed :D.
OK there is a problem with SL, Power Word: Shield is not updating correctly, if you re-cast PW:S before the buff has gone SL wont update, you have to wait until the buff is gone then cast PW:S to get SL to update for the new shield.
145 days ago
OK...the error problem with the bar height has been fixed. I also fixed the fact that the warlock part was completely broken. The little issue of Priests getting the bar when they cast their shield on someone else should also be fixed. For those that wanted it, I've added the option to turn off all of the statements that are sent via a print function - now you can turn off all messages from ShieldLeft (verbose, debug, and print).
*** NEED HELP ***
If anyone can tell me why the bars for green and blue default to the left whenever you open the GUI I would greatly appreciate it. I have no idea why they're doing that and no idea how to fix it. The code looks just fine to me.
Thanks to all of you that use this addon and your patience while I have tried to fix it. If you have any other suggestions, please feel free to let me know.
*** NEED HELP ***
If anyone can tell me why the bars for green and blue default to the left whenever you open the GUI I would greatly appreciate it. I have no idea why they're doing that and no idea how to fix it. The code looks just fine to me.
Thanks to all of you that use this addon and your patience while I have tried to fix it. If you have any other suggestions, please feel free to let me know.
146 days ago
Yes, please add the ability to disable the print function. Frankly, it's not telling us anything newsworthy, and it's just spam that gets in the way when in groups and raids.
147 days ago
a option t disable the chat spam would be good.
148 days ago
@voyseys - thank you...I've tried that one and can't get it to do what I want (I'll take a look at it again, though). I'm also trying GetPlayerBuffName after looking for 'SPELL_AURA_APPLIED', but for some reason, it doesn't see the new buff. I think it's calling the GetPlayerBuffName after the aura is applied but before it's available to the character. I just recently noticed that the warlock section isn't working. Turns out, when you sacrifice, it doesn't call it sacrifice - it's actually two completely different events. It seems that if I can fix that one, it will fix the Priest problem also. Thanks for the input - I appreciate it.
@lothaer - some of the chat messages are a print function which the user can't turn off, some are debug functions which you can turn off, and others are verbose functions which you can turn off. If you turn off debug and verbose and the message still comes up, it's a print function and cannot be turned off without rewriting the program. If it's bothering you, just let me know which ones and I can either change them to verbose or debug, or add an option to turn off the print function.
@lothaer - some of the chat messages are a print function which the user can't turn off, some are debug functions which you can turn off, and others are verbose functions which you can turn off. If you turn off debug and verbose and the message still comes up, it's a print function and cannot be turned off without rewriting the program. If it's bothering you, just let me know which ones and I can either change them to verbose or debug, or add an option to turn off the print function.
148 days ago
Firegrove, you might want to check the API Event 'UNIT_SPELLCAST_SENT'. Might do what you want :-
"UNIT_SPELLCAST_SENT"
Category: Unit Info,Spell
Added in 2.0. Fired when an event is sent to the server. Other messages indicate when the server begins timing or considers the cast successful.
arg1
Unit casting the spell
arg2
Spell name
arg3
Spell rank
arg4
Spell target
--
Might also fix the Warlock Sacrifice. UNIT_SPELLCAST_SUCCEEDED does not fire when you select this Spell.
"UNIT_SPELLCAST_SENT"
Category: Unit Info,Spell
Added in 2.0. Fired when an event is sent to the server. Other messages indicate when the server begins timing or considers the cast successful.
arg1
Unit casting the spell
arg2
Spell name
arg3
Spell rank
arg4
Spell target
--
Might also fix the Warlock Sacrifice. UNIT_SPELLCAST_SUCCEEDED does not fire when you select this Spell.
148 days ago
also when ever i cast PW:S the chat window message always appears is that intended or is that a option i have not turned off?
148 days ago
@lothaer - I noticed your problem the other day and wasn't really aware of it until then. What's happening is that the addon registers that you are casting a certain spell and doesn't differentiate who you are casting it on. However, it doesn't register that you are taking damage to the shield (since you don't have it) and, since you don't have the buff for PS: Shield, the bar doesn't disappear when the buff fades - it's just stuck in limbo. I'm trying to reprogram it to register only when you cast PW: Shield on yourself (and not others) but I'm not having any luck devising a way to tell the addon who the target is (either yourself or someone else). The next idea I have is to try to tell whether you received the buff from PW: Shield (if you didn't, the bar wouldn't show up). I'm still working the issue.
148 days ago
@Zidomo - True...if you want to keep your old data, you don't have to delete the file. As I stated earlier, this was only a suggestion and I'm not sure if it will even correct the problem. I have only received this error once on any of my characters. After the first log-in (after updating), the error hasn't been recurring. I suspect it has more to do with the lack of a single variable instead of the wrong variable. I'm hoping to be able to fix it so the error doesn't pop up at all, but upgrading to the new one shouldn't effect you after you see the error the first time (and subsequently restart WoW). I appreciate your input and I'm glad you feel this addon is of use to you. One note... whether or not you update your loaded version won't really change anything for you - the upgrade just adds the GUI (the error is directly connected to the saved variables added as a result of the GUI) and doesn't really change the way ShieldLeft operates. Please feel free to give me feedback on ShieldLeft. I really appreciate the help in continuing to improve it.
149 days ago
For a database mod like this, not a good idea to require people to delete their saved variables files before logging on after an upgrade to work around an error or bug.
Completely defeats the point of storing mob attack information as it does now. Not upgrading here (or recommending the guild to) until the bug is actually fixed. Hope it can be :).
That being said, have received no more nil errors (as previously reported in 3.171) in v3.172. Then again, have not been back into Heroic Magister's Terrace yet.
Completely defeats the point of storing mob attack information as it does now. Not upgrading here (or recommending the guild to) until the bug is actually fixed. Hope it can be :).
That being said, have received no more nil errors (as previously reported in 3.171) in v3.172. Then again, have not been back into Heroic Magister's Terrace yet.
150 days ago
ive noticed that when i cast PW:S on someone other than myself the bar appears but when they loose it the bar wont go away until i cast in on myself and then loose the buff.
150 days ago
Everyone - if you are upgrading from an older version (3.1.x), please delete the ShieldLeft.lua file in your /WTF/Account/<Login Name>/<Server Name>/<Character Name>/SavedVariables/ folder. ShieldLeft is having an error that I think is connected to the old saved variables file and deleting it might (and I emphasize might) correct it. If you don't delete it, it will most likely only show the error once. (My other idea for why the error is popping up is the fact that one of the variables is new and not in the Saved Variables file - in which case you'll get the error even after deleting the old file). Enjoy and please feel free to give me any suggestions on how you think I can improve ShieldLeft.
@lothaer - I'm not sure if that is the problem... but it seems like the logical solution.
@lothaer - I'm not sure if that is the problem... but it seems like the logical solution.
150 days ago
it might be a good idea to let people know that if they are upgrading from 3.1.x to 3.2 that they should delete their savedvariable.
150 days ago
@lothaer - thanks for the feedback...I appreciate the ideas.
@everyone - I'm having trouble with the blue and green sliders in the GUI - they move to 0% when you open the GUI regardless of what your selection was. I'm not sure why it's doing this, but I'm working on fixing it.
@everyone - I'm having trouble with the blue and green sliders in the GUI - they move to 0% when you open the GUI regardless of what your selection was. I'm not sure why it's doing this, but I'm working on fixing it.
150 days ago
@blankStare - I got this same error...once. After that, it didn't show up again. I think it might have something to do with either the old saved variables file or the variable I'm using being initialized. I'll keep an eye out for it again and see if I can figure out why it's doing this.
Thanks for the support and the feedback.
Thanks for the support and the feedback.
151 days ago
maybe i need to clear my old savedvars but I got:
[2008/07/04 21:57:56-2957-x1]: ShieldLeft-3.1.7.1a\ShieldLeft.lua:655: Usage: ShieldLeftBackground:SetHeight(height)
ShieldLeft-3.1.7.1a\ShieldLeft.lua:655: in function `ShieldLeft_OnEvent'
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
---
[2008/07/04 21:57:56-2957-x1]: ShieldLeft-3.1.7.1a\ShieldLeft.lua:655: Usage: ShieldLeftBackground:SetHeight(height)
ShieldLeft-3.1.7.1a\ShieldLeft.lua:655: in function `ShieldLeft_OnEvent'
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
---
151 days ago
awesome work with the GUI and extra options simply amazing i love it.
152 days ago
you´re welcome:) just ring when the loc is ready...
eisbarriere is the proper word for icebarrier, it also works in macros. "Eisbarriere Rang x buffed" appears as green debugmsg and the bar graphic with zero.
think you only mean SL_SHIELD_MAGE_ICE with the tooltip wording, don´t you? or do you mean the comat log an the rest also?;)are the chat msgs exept of the sl_shield_class only for output, or are they for the purpose of comparison... e.g. for the combat log?
tried to compare it with the working manashield, but with no success in guessing...;)
eisbarriere is the proper word for icebarrier, it also works in macros. "Eisbarriere Rang x buffed" appears as green debugmsg and the bar graphic with zero.
think you only mean SL_SHIELD_MAGE_ICE with the tooltip wording, don´t you? or do you mean the comat log an the rest also?;)are the chat msgs exept of the sl_shield_class only for output, or are they for the purpose of comparison... e.g. for the combat log?
tried to compare it with the working manashield, but with no success in guessing...;)
153 days ago
Just to let everyone know - I almost had the GUI complete and then, for some unknown reason, it completely stopped working and the addon wouldn't load. So, since I can't figure out why it's not working, I have to start over. Hopefully, I will have the GUI done in the next couple days. If you have anything you would like to see this addon do, please let me know and I will see what I can do to include it. The GUI will make it possible to: 1) change the color, 2) change the size, 3) turn the border on/off, 4) change the alpha, 5) and a few other things that you can currently do with the slash commands.
153 days ago
@Peter Pater...this is awesome! Thank you for the translation. I am currently working on the GUI for configuring ShieldLeft and, if you would like, I would appreciate a translation when I get it done. Any further translations...I would appreciate it if you could post them on my Google Code site (http://code.google.com/p/fireaddons/). Just post them on the Issue tab and I'll get it. That way, it doesn't take up all of the space in this comment section - not that I'm complaining - I really appreciate your help with this. As for the Ice Barrier being 0, it would have been since the entire German section for that had never been updated. To make it work, the German section needs to be exactly the same as the wording for Ice Barrier tooltip in the German version.
153 days ago
hi there:)ok, cause i already "patched" my version and mr. firegrove doesn´t allow to send him pm´s or email..i´ll just post my changes here...;)
---cut here---
---cut here---
btw i also added a few other missing things in comparison with the english translation.the icebarrier is always set to zero. debugmsg "Eisbarriere Rang x buffed" appears, but for some reason the strengh is not set. it worked for one time, but no idea why, and why not anymore... hope it can be fixed.fine regards
---cut here---
-- Version : German (by VincentGdG)
-- ä = \195\164
-- ö = \195\182
-- ü = \195\188
-- Ä = \195\132
-- Ö = \195\150
-- Ü = \195\156
-- ß = \195\159
if ( GetLocale() == "deDE" ) then
SL_MSG_HELP = "Du kannst folgende Slash-Kommandos benutzen:\n" ..
"|c00FFFFFF/shieldleft info|r - zeigt das max. Schild und Verbose/Debug Modus an.\n" ..
"|c00FFFFFF/shieldleft check|r - scannt den max. Schildwert neu.\n" ..
"|c00FFFFFF/shieldleft debug|r - schaltet Debug-Ausgaben um.\n" ..
"|c00FFFFFF/shieldleft verbose|r - schaltet Ausgaben um.\n" ..
"|c00FFFFFF/shieldleft reset|r - setzt alle gespeicherten Daten zur\195\188ck.\n" ..
"|c00FFFFFF/shieldleft color|r - \195\164ndert die Rahmenfarbe.\n" ..
"|c00FFFFFF/shieldleft hide|r - schaltet den Rahmen an oder aus.\n" ..
"Du kannst auch |c00FFFFFF/sl|r benutzen.";
SL_MSG_CLICKTODRAG = "Klicken zum Ziehen";
SL_MSG_LOADED = "ShieldLeft geladen. '/shieldleft' f\195\188r weitere Infos.";
SL_MSG_SHIELDLEFT = "Schild \195\188brig: |c00FFFFFF";
SL_MSG_NEWCRITTER = "neuer Feind: ";
SL_MSG_NEWSPELLFOR = "neuer Spruch f\195\188r ";
SL_MSG_NEWMAXSHIELD = "neuer max. Schild: ";
SL_MSG_CHECKINGSPELLS = "untersuche Spr\195\188che...";
SL_MSG_MAXSHIELD = "max. Schild: ";
SL_MSG_MAXSHIELD_ICE = "max. Eisbarriere: ";
SL_MSG_STATSRESET = "Alle Daten wurden gel\195\182scht.";
SL_MSG_ON = "|cff00ff00AN|r";
SL_MSG_OFF = "|cffff0000AUS|r";
SL_MSG_VERBOSEON = "ausf\195\188hrliche Ausgaben sind "..SL_MSG_ON;
SL_MSG_VERBOSEOFF = "ausf\195\188hrliche Ausgaben sind "..SL_MSG_OFF;
SL_MSG_DEBUGON = "Debug-Ausgaben sind "..SL_MSG_ON;
SL_MSG_DEBUGOFF = "Debug-Ausgaben sind "..SL_MSG_OFF;
SL_MSG_BOARDERHIDE = "ShieldLeft Rahmen ist nun versteckt.";
SL_MSG_BOARDERNOTHIDE = "ShieldLeft Rahmen wird nun angezeigt.";
-- chat messages
-- meelee damage
SL_HITSYOUABSORBED = "(.+) trifft Euch f\195\188r (%d+) .+Schaden%.%((%d+) absorbiert%)";
SL_CRITSYOUABSORBED = "(.+) trifft Euch kritisch. Schaden: (%d+)%.%((%d+) absorbiert%)";
SL_HITSYOUBLOCKED = "(.+) trifft Euch f\195\188r (%d+) .+Schaden%.%((%d+) geblockt%)";
SL_CRITSYOUBLOCKED = "(.+) trifft Euch kritisch. Schaden: (%d+)%.%((%d+) geblockt%)";
SL_HITSYOUFOR = "(.+) trifft Euch f\195\188r (%d+) .+Schaden\.";
SL_CRITSYOUFOR = "(.+) trifft Euch kritisch. Schaden: (%d+)\.";
SL_ABSORBALL = "(.+) greift an%. Ihr absorbiert allen Schaden\.";
-- ranged damage
SL_RANGED_HITSYOUABSORBED = "(.+)s (.+) trifft Euch f\195\188r (%d+) .+Schaden%.%((%d+) absorbiert%)";
SL_RANGED_CRITSYOUABSORBED = "(.+)s (.+) trifft Euch kritisch. Schaden: (%d+)%.%((%d+) absorbiert%)";
SL_RANGED_HITSYOU = "(.+)s (.+) trifft Euch f\195\188r (%d+) .+Schaden%.";
SL_RANGED_HITSYOU2 = "(.+) trifft Euch %(mit (.+)%). Schaden: (%d+)%.";
SL_RANGED_CRITSYOU = "(.+)s (.+) trifft Euch kritisch. Schaden: (%d+)%.";
SL_RANGED_YOUABSORB = "Ihr absorbiert (.+)s (.+)";
-- self damage
SL_YOURHITSYOU = "Euer (.+) trifft Euch f\195\188r (%d+)%.";
SL_YOUABSORBYOUR = "Ihr absorbiert Euer (.+)%.";
SL_YOUSUFFER = "Ihr erleidet (%d+) .+ durch (.+)s (.+)%.";
-- settings depending on the class
SL_SHIELD_PRIEST = "Machtwort: Schild";
SL_ABSORBING_PRIEST = "absorbiert dabei (%d+)";
SL_YOUGAINSHIELD_PRIEST = "Ihr bekommt '" .. SL_SHIELD_PRIEST .. "'.";
SL_YOULOOSESHIELD_PRIEST = "'" .. SL_SHIELD_PRIEST .. "' schwindet von Euch.";
SL_WEAKENED_SOUL = "Ihr seid von Geschw\195\164chter Seele betroffen.";
SL_SHIELD_WARLOCK = "Opferung";
SL_ABSORBING_WARLOCK = "absorbiert (%d+) Schaden";
SL_YOUGAINSHIELD_WARLOCK = "Ihr bekommt '" .. SL_SHIELD_WARLOCK .. "'.";
SL_YOULOOSESHIELD_WARLOCK = "'" .. SL_SHIELD_WARLOCK .. "' schwindet von Euch.";
SL_SHIELD_MAGE = "Manaschild";
SL_ABSORBING_MAGE = "Absorbiert (%d+)";
SL_YOUGAINSHIELD_MAGE = "Ihr bekommt '" .. SL_SHIELD_MAGE .. "'.";
SL_YOULOOSESHIELD_MAGE = "'" .. SL_SHIELD_MAGE .. "' schwindet von Euch.";
SL_SHIELD_MAGE_ICE = "Eisbarriere";
SL_ABSORBING_MAGE_ICE = "Absorbiert (%d+)";
SL_YOUGAINSHIELD_MAGE_ICE = "Ihr bekommt '" .. SL_SHIELD_MAGE_ICE .. "'.";
SL_YOULOOSESHIELD_MAGE_ICE = "'" .. SL_SHIELD_MAGE_ICE .. "' schwindet von Euch.";
end
---cut here---
btw i also added a few other missing things in comparison with the english translation.the icebarrier is always set to zero. debugmsg "Eisbarriere Rang x buffed" appears, but for some reason the strengh is not set. it worked for one time, but no idea why, and why not anymore... hope it can be fixed.fine regards
154 days ago
If you tell me what i have to translate i do my best. You have to do the most work because i have no idea in programming wow-addons ^^
154 days ago
@GeProtector - you are very right. The German in that file is from the original version. I have added info since then, but don't know how to translate the other stuff to German. If you can translate, I will include it in with the next release.
154 days ago
I looked in localization.lua and there was a german translation - only Icebarrier (in german Eisbarriere) is missing..
154 days ago
Yep...unfortunately, I only know English so I can't update the localization file for other languages. I would love to have some help from anyone that knows German (or any other language)and can tackle the translation in the localization.lua file. Until then, there's not much I can do to make it compatible with any other WoW clients but English.
154 days ago
There is a bug in with the german version:
Manashield: works perfekt
IceBarrier/Eisbarriere doesn´t work. There is no bar and a 0 on /sl check.
Manashield: works perfekt
IceBarrier/Eisbarriere doesn´t work. There is no bar and a 0 on /sl check.
155 days ago
no probs mate RL is more important than a game so when ever you get around to it is fine.
156 days ago
@lothaer - lol...I put that second part in when I was testing during the development of the Ice Barrier code (to make sure it was reading the shield values correctly). It's only meant for mages. I just never took it out. I'll take a look at that. As for the GUI...it's on my todo list (I don't like slash commands either), but I figured everyone would want the options before I had the time to develop the GUI.
@voyseys - thanks for the input on the warlock section. Admittedly, I haven't touched that section from the original version. I don't currently play a warlock (I do have a couple, though), but I will take a look at it when I get a chance. My biggest concern was the Mage Ice Barrier and then the Priest (when you two brought up these problems).
Thank you both for your time and input. I really appreciate it. I have a few things I would like to do with this addon when I get a chance; 1) the interface GUI (with size, color, alpha, and border options), 2) add Fire and Frost ward ability, 3) update the Warlock code, 4) make it possible to show multiple bars for individual spells cast at the same time (such as Ice Barrier, Fire ward, and Mana Shield cast at the same time), 5) clean up the code. If you have any other ideas to add, please feel free to let me know. I don't know when, or even if, I'll get around to this, but it's on my list.
@voyseys - thanks for the input on the warlock section. Admittedly, I haven't touched that section from the original version. I don't currently play a warlock (I do have a couple, though), but I will take a look at it when I get a chance. My biggest concern was the Mage Ice Barrier and then the Priest (when you two brought up these problems).
Thank you both for your time and input. I really appreciate it. I have a few things I would like to do with this addon when I get a chance; 1) the interface GUI (with size, color, alpha, and border options), 2) add Fire and Frost ward ability, 3) update the Warlock code, 4) make it possible to show multiple bars for individual spells cast at the same time (such as Ice Barrier, Fire ward, and Mana Shield cast at the same time), 5) clean up the code. If you have any other ideas to add, please feel free to let me know. I don't know when, or even if, I'll get around to this, but it's on my list.
156 days ago
hey mate just tested the new version great work very accurate the damage meter is perfect and i love the new color/border options that are there just 1 minor problem
when i type /sl info it tells me...
SL: Max. Shield: 1873
SL: Max. Ice Barrier: 0
Priest do not have Ice Barrier.
also might be a good idea to set up a GUI most people dont like using slash commands all the time.
when i type /sl info it tells me...
SL: Max. Shield: 1873
SL: Max. Ice Barrier: 0
Priest do not have Ice Barrier.
also might be a good idea to set up a GUI most people dont like using slash commands all the time.
156 days ago
It is possible that one of my other mods is interfering with Shieldleft, though not with the Spellbook search. (the mod picks out the spell with no problem).
I have noticed in the code that the warlock section deals with the tooltips a slightly different way to the Mage and priest part. So on the earlier version I changed the priest part to match. It did seem to work well after that.
local text = ShieldLeftTooltipTextLeft4:GetText()
Also, to save the warlocks going through the main Spell search, you can, perhaps, 'PetHasActionBar()' the GetSpellName() request. Then you can move the section up with the rest (under the SHIELD_ICE). taking out the second spell search and changing the if :
from:
if PetHasActionBar() then
while true do
local spellName, spellRank = GetSpellName(i, BOOKTYPE_PET)
if not spellName then
do break end
end
if spellName == SL_SHIELD then
to
if spellName == SL_SHIELD_WARLOCK then
Though It's just a suggestion.
I have noticed in the code that the warlock section deals with the tooltips a slightly different way to the Mage and priest part. So on the earlier version I changed the priest part to match. It did seem to work well after that.
local text = ShieldLeftTooltipTextLeft4:GetText()
Also, to save the warlocks going through the main Spell search, you can, perhaps, 'PetHasActionBar()' the GetSpellName() request. Then you can move the section up with the rest (under the SHIELD_ICE). taking out the second spell search and changing the if :
from:
if PetHasActionBar() then
while true do
local spellName, spellRank = GetSpellName(i, BOOKTYPE_PET)
if not spellName then
do break end
end
if spellName == SL_SHIELD then
to
if spellName == SL_SHIELD_WARLOCK then
Though It's just a suggestion.
156 days ago
ut was too high ill try this new version when i get home from work (im about to leave) and ill let ya know.
157 days ago
@lothaer - when you say that ShieldLeft is not displaying the correct amount, is the amount too high? Keep in mind that Priests get a bonus on their shield from their bonus healing. As of patch 2.3 you get an increase on the damage your shield can take total to 30% of your bonus healing. That can be pretty substantial if your bonus healing is rather high. Mages don't get any bonus to their shields.
157 days ago
I have updated ShieldLeft so that you can change the color of the bar (/sl color red, blue, green). I will look into using the color picker later, but having a limited color selection was a quick fix. I have also made it so you can turn the border on or off (/sl hide).
I'm still not sure what the problem is with the priest. I've tested ShieldLeft today on my wife's priest (level 70) and have had absolutely no problems. It showed the amount correctly, reduced the amount as I took damage, faded correctly when the time expired, and showed no errors. I wish I had better news for you two, but I don't know how to reproduce the problems that you are having.
@lothaer - the fact that you couldn't see the border wasn't a problem with the way it was displaying...it was the way I designed it. I liked it better without the border for my UI (I use chronometer and DBM and both of them have bars without borders). Now you can either make it visible or not, depending on what you like for your UI.
I'm still not sure what the problem is with the priest. I've tested ShieldLeft today on my wife's priest (level 70) and have had absolutely no problems. It showed the amount correctly, reduced the amount as I took damage, faded correctly when the time expired, and showed no errors. I wish I had better news for you two, but I don't know how to reproduce the problems that you are having.
@lothaer - the fact that you couldn't see the border wasn't a problem with the way it was displaying...it was the way I designed it. I liked it better without the border for my UI (I use chronometer and DBM and both of them have bars without borders). Now you can either make it visible or not, depending on what you like for your UI.
157 days ago
@lothaer and voyseys - I'm looking into the problem. Not sure why a priest is having issues, but I think I might know how to fix it. Keep checking back for an update. By the way, are either of you using an addon that affects your spell book?
158 days ago
i too play a priest but i am not getting that error what is happening for me is that SL is not displaying the correct amount of Damage for my Shield and the bar is not displaying correctly there is no border.
158 days ago
Received this error when getting new spells on my Priest.
ShieldLeft.lua:414:aatempt to concatenate local 'Rank' (a nil value)
Also, I have a value of 0 during fights. Will flash 12 with blue background at start, but will switch back to 0.
Otherwise could be a useful Mod. Keep up the good work.
ShieldLeft.lua:414:aatempt to concatenate local 'Rank' (a nil value)
Also, I have a value of 0 during fights. Will flash 12 with blue background at start, but will switch back to 0.
Otherwise could be a useful Mod. Keep up the good work.
159 days ago
@Zidomo -
I think I have it solved (but I'm not betting any money on it). Please try it again and let me know. The way the code is written (and my last attempt at fixing this problem) this error should never come up, but you can see how far that logic went.
Thanks for the support and the input.
I think I have it solved (but I'm not betting any money on it). Please try it again and let me know. The way the code is written (and my last attempt at fixing this problem) this error should never come up, but you can see how far that logic went.
Thanks for the support and the input.
159 days ago
Installed your version of ShieldLeft ("3.1.7.1c w/Ice Barrier"), replacing Adougherty's version I was regularly getting errors with.
The error frequency with yours seems to be reduced over the other version. No problems in Kara, ZA, Gruul's and so on. But still errors in Magister's Terrace when doing the last boss (Kael'thas Sunstrider) in Heroic. Playing a 70 priest (Power Word: Shield), USEng client/server.
The error some time during the fight (believe it was when the boss cast Pyroblast; I did not have any shields active when it first came up):
ShieldLeft-3.1.7.1a\\ShieldLeft.lua:483: attempt to concatenate local 'sourceName' (a nil value)\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
The error reoccurred 15 times during the fight; I used PW:Shield about once.
The error frequency with yours seems to be reduced over the other version. No problems in Kara, ZA, Gruul's and so on. But still errors in Magister's Terrace when doing the last boss (Kael'thas Sunstrider) in Heroic. Playing a 70 priest (Power Word: Shield), USEng client/server.
The error some time during the fight (believe it was when the boss cast Pyroblast; I did not have any shields active when it first came up):
ShieldLeft-3.1.7.1a\\ShieldLeft.lua:483: attempt to concatenate local 'sourceName' (a nil value)\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
The error reoccurred 15 times during the fight; I used PW:Shield about once.
161 days ago
@lothaer - Right now my time is taken up with a short semester in college. I will try to look into your requests as soon as I can, but I have no idea how long it's going to take. I will probably try to add your requests one at a time, but it's still going to take a little while. Keep looking back and I'll see if I can get a couple done soon - thanks for the support.
163 days ago
so any eta on the new features i know u dont have alot of time just a rough idea.
170 days ago
nps mate, ive been using shieldleft for ages now but this one is more accurate then any other version, i hope you can get those features i suggested in would be freaking awesome.
Advertisement
Latest Updates
| Mod Name | Updated | |
| Swindler Preventer v3.... (Info Tracking) | 6 minutes ago | ![]() |
| Mobinfo Database (Combat Assist) | 5 hours ago | ![]() |
| MetaMap WKB Database (Map Additions) | 5 hours ago | ![]() |
| onraid 3.0.3.007 (Raid/Instance) | 5 hours ago | ![]() |
| BadBoy: Anti Spam Auto... (Communication) | 19 hours ago | ![]() |
| BigWigs Bossmods r4798 (Raid/Instance) | 19 hours ago | ![]() |
| DialogChat (Communication) | yesterday | ![]() |
| qComments (weekly) v3.... (Quest Enhancement) | yesterday | ![]() |
| nUI (Interface Additions) | yesterday | ![]() |
| Titan Panel v4.1.3.300... (Titan Mods) | 2 days ago | ![]() |
| MiniMount v1.5a (Inventory/Item) | 2 days ago | ![]() |
| SFGuild v1.01 (Guild) | 2 days ago | ![]() |
| PetInfo (Fan Update) (Interface Bars) [NEW!] | 2 days ago | ![]() |
| HealBot Continued (Interface Additions) | 2 days ago | ![]() |
| SFSkins v1.0 (Interface Additions) [NEW!] | 2 days ago | ![]() |
| Mod Name | Updated | |
| Kraveboi's Addon's (Collections/Packs) | 7 hours ago | ![]() |
| LindoUI v2.2.b (Collections/Packs) | 2 days ago | ![]() |
| Luberous Mod Pack 3 (Collections/Packs) | 2 days ago | ![]() |
| Photek UI for 1024 X 7... (Collections/Packs) | 2 days ago | ![]() |
| Khons UI Remixed v2.0(... (Collections/Packs) | 3 days ago | ![]() |
| First File Guild Mod P... (Guild Packs) | 4 days ago | ![]() |
| aXieUI - v3.0.3 (Collections/Packs) | 5 days ago | ![]() |
| Tobaunta's Addon Pack ... (Collections/Packs) | 6 days ago | ![]() |
| Nite's WoTLK addon pac... (Collections/Packs) [NEW!] | 7 days ago | ![]() |
| Vulcane's UI (Collections/Packs) | 7 days ago | ![]() |
| DTotS - Guild Add-on P... (Guild Packs) | 7 days ago | ![]() |
| Penguin Pak 3.0.3 (Collections/Packs) [NEW!] | 9 days ago | ![]() |
| McDuncans Addons 303 (Collections/Packs) | 10 days ago | ![]() |
| IronFistsModPack 3.0.2 (Collections/Packs) | 10 days ago | ![]() |
| BadRasta UI (Collections/Packs) | 11 days ago | ![]() |


