Download
(359Kb)
Download
Updated: 10-24-20 12:31 AM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:10-24-20 12:31 AM
Created:04-25-11 12:21 AM
Downloads:10,181
Favorites:76
MD5:

SimplePowerBar  Popular! (More than 5000 hits)

Version: v3.8
by: suicidalkatt [More]

!SimplePowerBar

Is a lightweight addon designed to replace the default Blizzard Alternate Power Bar.
It will automatically show or hide when needed.
Features:
  • Use the clean SimplePowerBar or enable the default Blizzard frame if you so desire.
  • Customizable placement and sizing. Drag and drop placement or exact.
  • Horizontal or vertical statusbar orientation.
  • Customizable coloring for everything as well as optional color fading or class coloring.
  • Additional text options for labeling and percentages.
  • Shared Media support (fonts / statusbar / background / border).
  • All new test mode!
Slash Commands:
  • '/spb' Opens options window.
  • '/spb lock' Toggles frame locking.
  • '/spb blizz' Toggles between SimplePowerBar and the default Blizzard frame.
  • '/spb fade' Toggles color fading.
  • '/spb test' Toggles the test mode.
  • '/spb debug' Displays event messages.
  • '/spb about' Shows about information.
  • '/spb help' Shows slash commands.
Work in progress:
  • Support for AlternatePowerTimers.

--[[v3.8]]--
  • ToC Bump
  • Fixes to "SetBackdrop" API change.
  • Fixes to Blizzard API calls and Blizzard color detection.
  • Ace libraries updated.

** Known Issues **
  • Blizzard mover is not working as expected.

--[[v3.7]]--
  • ToC Bump
  • New improvements to statusbar coloring options.
  • Ace libraries updated.

--[[v3.6]]--
  • ToC Bump

--[[v3.5]]--
  • ToC Update and minor cvar name fix.

--[[v3.4]]--
  • ToC Update


--[[v3.3]]--
  • ToC Update

--[[v3.2]]--
  • Allowed some selective coloring for particular blizzard textures (Stone Guards). Should additional custom coloring be needed, I will update the table.

--[[v3.1]]--
  • Implemented the ability to set statusbar color to use the default blizzard coloring. /spb > Bar Settings > Statusbar > Coloring Method

--[[v3.0]]--
  • Huge re-write of the internals.
  • Internal Ace Libraries updated.
  • Implemented the ability to use the default Blizzard frame.
  • Added a new test mode.
  • Added coloring and texture settings for border, background, text, and text shadow strings.
  • Completely rearranged the options to make a bit more sense.

--[[v2.7]]--
  • ToC Bump

--2.6
  • Updated for 4.3.

--2.5
  • Added frame strata and level options. (Under 'Size & Placement')

--2.4
  • Changed hiding method.
  • Fixed '/spb lock' sometimes not working.

--2.3
  • ToC bump.

--2.2
  • Typo.

--2.1
  • Major bugfixes.

--2.0
  • Bugfixes.
  • Performance increase.

--1.2
  • Added many more text options.
  • Statusbar orientation can now be changed.

--1.1
  • ToC Bump
Optional Files (0)


Post A Reply Comment Options
Unread 10-02-13, 04:51 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally Posted by Copper1956
Originally Posted by vaeevictiss
having an issue with this. Even with the blizz frame unchecked it still shows up with this bar as well. I cannot find any way to hide the damn default bar lol >
I have the same issue as well... It is hard to disable addons as it happens in a raid usually...
I know some action bar mods such as dominos have an 'encounter' module or additional handler for the PowerBarAlt frame.

Just gotta go through your addons and find out which it is.
Report comment to moderator  
Reply With Quote
Unread 10-02-13, 03:23 PM  
Copper1956
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 23
Uploads: 1
Originally Posted by vaeevictiss
having an issue with this. Even with the blizz frame unchecked it still shows up with this bar as well. I cannot find any way to hide the damn default bar lol >
I have the same issue as well... It is hard to disable addons as it happens in a raid usually...
Report comment to moderator  
Reply With Quote
Unread 09-25-13, 05:10 PM  
tempest420
A Kobold Labourer

Forum posts: 1
File comments: 33
Uploads: 0
Originally Posted by suicidalkatt
Originally Posted by tempest420
Font customization doesn't seem to work. Despite picking fonts for label and time text from the dropdowns, in a fight (eg. Sha of Pride) it still uses Friz Quadratta, which I assume is the wow default. I accidentally found a work-around too; making a font folder in the wow folder and putting something in called frizqt__ will change the font in the addon.

Edit: I think the issue is mainly with sharedmedia fonts. I tried with a font that was included with another addon and it worked fine.
A lot of the time when fonts aren't sticking it's due to an addon that holds a font simply not being available.
Thanks for following up!
Report comment to moderator  
Reply With Quote
Unread 09-23-13, 11:25 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally Posted by tempest420
Font customization doesn't seem to work. Despite picking fonts for label and time text from the dropdowns, in a fight (eg. Sha of Pride) it still uses Friz Quadratta, which I assume is the wow default. I accidentally found a work-around too; making a font folder in the wow folder and putting something in called frizqt__ will change the font in the addon.

Edit: I think the issue is mainly with sharedmedia fonts. I tried with a font that was included with another addon and it worked fine.
A lot of the time when fonts aren't sticking it's due to an addon that holds a font simply not being available.
Report comment to moderator  
Reply With Quote
Unread 09-21-13, 10:40 PM  
tempest420
A Kobold Labourer

Forum posts: 1
File comments: 33
Uploads: 0
Font customization doesn't seem to work. Despite picking fonts for label and time text from the dropdowns, in a fight (eg. Sha of Pride) it still uses Friz Quadratta, which I assume is the wow default. I accidentally found a work-around too; making a font folder in the wow folder and putting something in called frizqt__ will change the font in the addon.

Edit: I think the issue is mainly with sharedmedia fonts. I tried with a font that was included with another addon and it worked fine.
Last edited by tempest420 : 09-22-13 at 12:04 AM.
Report comment to moderator  
Reply With Quote
Unread 08-05-13, 09:29 PM  
vaeevictiss
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by suicidalkatt
Originally Posted by vaeevictiss
having an issue with this. Even with the blizz frame unchecked it still shows up with this bar as well. I cannot find any way to hide the damn default bar lol >
You may have another addon handling the blizzard power bar. Try seeing if the issue persists with no addons enabled other than spb.

Any chance I could see a screenshot?
I can't get one at the moment, but i do have a ton of addons lol. I checked all the main ones like bartender, grid, dbm, etc and couldn't find anything for that bar. I also use hideblizzard and there isn't even an option for that bar. It has to be a secondary setting of some small addon. That could take a while haha.

Edit: after reading some stuff apparently spartanui handles that bar. I'll browse the settings tomorrow and see how that goes.
Last edited by vaeevictiss : 08-05-13 at 09:51 PM.
Report comment to moderator  
Reply With Quote
Unread 08-05-13, 03:38 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally Posted by vaeevictiss
having an issue with this. Even with the blizz frame unchecked it still shows up with this bar as well. I cannot find any way to hide the damn default bar lol >
You may have another addon handling the blizzard power bar. Try seeing if the issue persists with no addons enabled other than spb.

Any chance I could see a screenshot?
Report comment to moderator  
Reply With Quote
Unread 08-04-13, 09:20 PM  
vaeevictiss
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
having an issue with this. Even with the blizz frame unchecked it still shows up with this bar as well. I cannot find any way to hide the damn default bar lol >
Report comment to moderator  
Reply With Quote
Unread 07-15-13, 09:28 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally Posted by FaulTier
Since MoP i'm getting this error:

Code:
12x SimplePowerBar-3.3\Core.lua:475: attempt to index field "shadow" (a number value)
SimplePowerBar-3.3\Core.lua:475: in function "FullUpdate"
SimplePowerBar-3.3\Core.lua:169: in function <SimplePowerBar\Core.lua:56>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
Ace3-r1066\AceAddon-3.0\AceAddon-3.0-11.lua:514: in function "InitializeAddon"
Ace3-r1066\AceAddon-3.0\AceAddon-3.0-11.lua:629: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:621>

Locals:
nil
Any help on this?
This was a wow client bug that's since been addressed. Hope this is no long an issue for you.
Report comment to moderator  
Reply With Quote
Unread 11-28-12, 03:31 PM  
FaulTier
A Theradrim Guardian
 
FaulTier's Avatar
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 195
Uploads: 4
Since MoP i'm getting this error:

Code:
12x SimplePowerBar-3.3\Core.lua:475: attempt to index field "shadow" (a number value)
SimplePowerBar-3.3\Core.lua:475: in function "FullUpdate"
SimplePowerBar-3.3\Core.lua:169: in function <SimplePowerBar\Core.lua:56>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
Ace3-r1066\AceAddon-3.0\AceAddon-3.0-11.lua:514: in function "InitializeAddon"
Ace3-r1066\AceAddon-3.0\AceAddon-3.0-11.lua:629: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:621>

Locals:
nil
Any help on this?
__________________
Report comment to moderator  
Reply With Quote
Unread 10-18-12, 10:00 AM  
blizzart
A Murloc Raider
 
blizzart's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 111
Uploads: 7
Originally Posted by suicidalkatt
Originally Posted by blizzart
No rage support?
Dont get it to work for my warrior.
This addon is not intended to show your current power level. It is used for displaying the UnitPowerBarAlt information. This is blizzards informational display used for various boss encounters such as the Stone Guards within MV or the game timers you see while enjoying the darkmoon fair.
Oh ok, absolutely my fail... I thought that it also works with the own powerbar.
__________________
Kryptik @ Die Arguswacht
Report comment to moderator  
Reply With Quote
Unread 10-18-12, 04:24 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally Posted by blizzart
No rage support?
Dont get it to work for my warrior.
This addon is not intended to show your current power level. It is used for displaying the UnitPowerBarAlt information. This is blizzards informational display used for various boss encounters such as the Stone Guards within MV or the game timers you see while enjoying the darkmoon fair.
Report comment to moderator  
Reply With Quote
Unread 10-18-12, 02:37 AM  
blizzart
A Murloc Raider
 
blizzart's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 111
Uploads: 7
No rage support?
Dont get it to work for my warrior.
__________________
Kryptik @ Die Arguswacht
Report comment to moderator  
Reply With Quote
Unread 10-16-12, 09:18 PM  
galvin
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 166
Uploads: 1
Originally Posted by suicidalkatt
Originally Posted by galvin
The color option doesn't work on stone guardians, my guess is they're using colored textures instead.
So the best thing to do is allow us to change the color of each type of bar thru a table.
It seems you are correct. I assume the color came out white? Instead of going by name and directly looking for an unlocalized name, I'll do a check for texture:

Lua Code:
  1. local path = "Interface\\UNITPOWERBARALT\\"
  2. local blizzColors = {
  3.     [path.."StoneGuardAmethyst_Horizontal_Fill"] = {
  4.         r = 0.50,
  5.         g = 0.45,
  6.         b = 0.75,
  7.     },
  8.     [path.."StoneGuardCobalt_Horizontal_Fill"] = {
  9.         r = 0.35,
  10.         g = 0.66,
  11.         b = 0.78,
  12.     },
  13.     [path.."StoneGuardJade_Horizontal_Fill"] = {
  14.         r = 0.48,
  15.         g = 0.75,
  16.         b = 0.47,
  17.     },
  18.     [path.."StoneGuardJasper_Horizontal_Fill"] = {
  19.         r = 0.72,
  20.         g = 0.48,
  21.         b = 0.48,
  22.     }
  23. }

Also, to make it easy on users, I'll be keeping it 'blizzard' coloring and not have to worry about particular bosses and custom coloring.
Yeah it was white, I had to go back to using my modifed mod instead. Glad I tested your new version in LFR first before doing heroic
Last edited by galvin : 10-16-12 at 09:18 PM.
Report comment to moderator  
Reply With Quote
Unread 10-16-12, 07:04 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally Posted by galvin
The color option doesn't work on stone guardians, my guess is they're using colored textures instead.
So the best thing to do is allow us to change the color of each type of bar thru a table.
It seems you are correct. I assume the color came out white? Instead of going by name and directly looking for an unlocalized name, I'll do a check for texture:

Lua Code:
  1. local path = "Interface\\UNITPOWERBARALT\\"
  2. local blizzColors = {
  3.     [path.."StoneGuardAmethyst_Horizontal_Fill"] = {
  4.         r = 0.50,
  5.         g = 0.45,
  6.         b = 0.75,
  7.     },
  8.     [path.."StoneGuardCobalt_Horizontal_Fill"] = {
  9.         r = 0.35,
  10.         g = 0.66,
  11.         b = 0.78,
  12.     },
  13.     [path.."StoneGuardJade_Horizontal_Fill"] = {
  14.         r = 0.48,
  15.         g = 0.75,
  16.         b = 0.47,
  17.     },
  18.     [path.."StoneGuardJasper_Horizontal_Fill"] = {
  19.         r = 0.72,
  20.         g = 0.48,
  21.         b = 0.48,
  22.     }
  23. }

Also, to make it easy on users, I'll be keeping it 'blizzard' coloring and not have to worry about particular bosses and custom coloring.
Last edited by suicidalkatt : 10-16-12 at 07:04 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.