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:9,980
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-29-22, 02:41 PM  
ObscureScience
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
Uploads: 0
Gonna need an update again if you can
Report comment to moderator  
Reply With Quote
Unread 02-18-22, 09:10 AM  
ObscureScience
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
Uploads: 0
Edit: Might have been false alarm. Getting no error on retail client.

--
9.2 appears to break it again:

Code:
2x SimplePowerBar\Core.lua:293: attempt to call method 'SetBackdrop' (a nil value)
[string "@SimplePowerBar\Core.lua"]:293: in function `CreatePowerBar'
[string "@SimplePowerBar\Core.lua"]:206: in function <SimplePowerBar\Core.lua:56>
[string "=[C]"]: ?
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <...aceMasque\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:498: in function `InitializeAddon'
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:623: in function <...aceMasque\Libs\AceAddon-3.0\AceAddon-3.0.lua:615>
Code:
2x SimplePowerBar\Core.lua:662: Attempt to register unknown event "UNIT_POWER"
[string "=[C]"]: in function `RegisterEvent'
[string "@SimplePowerBar\Core.lua"]:662: in function <SimplePowerBar\Core.lua:654>

Locals:
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = "UNIT_POWER"
Last edited by ObscureScience : 02-23-22 at 09:03 AM.
Report comment to moderator  
Reply With Quote
Unread 10-26-20, 08:31 AM  
ObscureScience
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
Uploads: 0
Originally Posted by suicidalkatt
Originally Posted by ObscureScience
Originally Posted by suicidalkatt
I'm really surprised people still use my addon.
You really shouldn't be. I never liked the Blizzard bar
Addon has been updated with a number of fixes.

A lot of the API calls here were changed in 8.2.

I'm still diving into some of the major changes I wasn't a part of. My issues now are with moving around the blizzard frame.

I'm not sure why but it's resizing it improperly.
Thanks babe.
Report comment to moderator  
Reply With Quote
Unread 10-24-20, 12:39 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 ObscureScience
Originally Posted by suicidalkatt
I'm really surprised people still use my addon.
You really shouldn't be. I never liked the Blizzard bar
Addon has been updated with a number of fixes.

A lot of the API calls here were changed in 8.2.

I'm still diving into some of the major changes I wasn't a part of. My issues now are with moving around the blizzard frame.

I'm not sure why but it's resizing it improperly.
Report comment to moderator  
Reply With Quote
Unread 10-20-20, 10:37 AM  
ObscureScience
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
Uploads: 0
Originally Posted by suicidalkatt
I'm really surprised people still use my addon.
You really shouldn't be. I never liked the Blizzard bar
Report comment to moderator  
Reply With Quote
Unread 10-18-20, 11:43 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
I'm really surprised people still use my addon.

I haven't updated it in forever.

I'll see if I can test it before live.
Report comment to moderator  
Reply With Quote
Unread 10-18-20, 10:47 AM  
ObscureScience
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
Uploads: 0
Originally Posted by tordenflesk
"Updated" Core.lua, no errors. Not tested at all.

https://pastebin.com/ty1BNHBC
Thanks again

Getting this error on login:
Code:
1x SimplePowerBar\Core.lua:36: attempt to index global 'SimplePowerBar' (a nil value)
[string "@SimplePowerBar\Core.lua"]:36: in main chunk

Locals:
PPBA = PlayerPowerBarAlt {
 0 = <userdata>
 spark = <unnamed> {
 }
 frame = <unnamed> {
 }
 scale = 1
 pillFrames = <table> {
 }
 unit = "player"
 flash = PlayerPowerBarAltFlash {
 }
 counterBar = PlayerPowerBarAltCounterBar {
 }
 isPlayerBar = true
 flashOutAnim = <unnamed> {
 }
 flashAnim = <unnamed> {
 }
 statusFrame = PlayerPowerBarAltStatusFrame {
 }
 background = <unnamed> {
 }
 ignoreFramePositionManager = true
 fill = PlayerPowerBarAltFill {
 }
}
Addon = "!Simple|cff5CB3FFPowerBar|r"
Media = <table> {
 OverrideMedia = <table> {
 }
 callbacks = <table> {
 }
 LOCALE_BIT_zhTW = 8
 SetDefault = <function> defined @ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:293
 GetDefault = <function> defined @ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:289
 LOCALE_BIT_ruRU = 2
 UnregisterAllCallbacks = <function> defined @ArkInventory\Libs\CallBackHandler\CallbackHandler-1.0.lua:200
 MediaType = <table> {
 }
 LOCALE_BIT_western = 128
 SetGlobal = <function> defined @ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:280
 GetGlobal = <function> defined @ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:276
 List = <function> defined @ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:266
 HashTable = <function> defined @ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:262
 MediaTable = <table> {
 }
 RegisterCallback = <function> defined @ArkInventory\Libs\CallBackHandler\CallbackHandler-1.0.lua:116
 IsValid = <function> defined @ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:258
 LOCALE_BIT_zhCN = 4
 UnregisterCallback = <function> defined @ArkInventory\Libs\CallBackHandler\CallbackHandler-1.0.lua:179
 Fetch = <function> defined @ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:251
 DefaultMedia = <table> {
 }
 Register = <function> defined @ArkInventory\Externals\SharedMedia\LibSharedMedia-3.0.lua:218
 MediaList = <table> {
 }
 LOCALE_BIT_koKR = 1
}
db = nil
unit = "player"
spb = nil
mover = nil
RAID_CLASS_COLORS = <table> {
 HUNTER = <table> {
 }
 WARRIOR = <table> {
 }
 ROGUE = <table> {
 }
 MAGE = <table> {
 }
 PRIEST = <table> {
 }
 SHAMAN = <table> {
 }
 WARLOCK = <table> {
 }
 DEMONHUNTER = <table> {
 }
 DEATHKNIGHT = <table> {
 }
 DRUID = <table> {
 }
 MONK = <table> {
 }
 PALADIN = <table> {
 }
}
_ = "Hunter"
Class = "HUNTER"
path = "INTERFACE\UNITPOWERBARALT\"
blizzColors = <table> {
 INTERFACE\UNITPOWERBARALT\STONEGUARDJASPER_HORIZONTAL_FILL.BLP = <table> {
 }
 INTERFACE\UNITPOWERBARALT\STONEGUARDJADE_HORIZONTAL_FILL.BLP = <table> {
 }
 INTERFACE\UNITPOWERBARALT\STONEGUARDCOBALT_HORIZONTAL_FILL.BLP = <table> {
 }
 INTERFACE\UNITPOWERBARALT\STONEGUARDAMETHYST_HORIZONTAL_FILL.BLP = <table> {
 }
}
(*temporary) = nil
(*temporary) = BackdropTemplate {
 0 = <userdata>
}
(*temporary) = "Frame"
(*temporary) = "BackdropTemplate"
(*temporary) = BackdropTemplate {
 0 = <userdata>
}
(*temporary) = BackdropTemplate {
 0 = <userdata>
}
(*temporary) = "attempt to index global 'SimplePowerBar' (a nil value)"
Last edited by ObscureScience : 10-18-20 at 10:55 AM.
Report comment to moderator  
Reply With Quote
Unread 10-15-20, 02:02 PM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 18
File comments: 213
Uploads: 0
"Updated" Core.lua, no errors. Not tested at all.

https://pastebin.com/ty1BNHBC
Last edited by tordenflesk : 10-15-20 at 02:02 PM.
Report comment to moderator  
Reply With Quote
Unread 09-27-19, 07:00 AM  
ObscureScience
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
Uploads: 0
Originally Posted by Aisenfaire
Seems to no longer be working in 8.2.

Commander Sivara (1st boss in EP) toxic and frost bars do NOT show. The bar just sits there perpetually empty.
Works fine for me. Did you add tordenflesk's fix?
Report comment to moderator  
Reply With Quote
Unread 07-15-19, 04:19 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Seems to no longer be working in 8.2.

Commander Sivara (1st boss in EP) toxic and frost bars do NOT show. The bar just sits there perpetually empty.
Report comment to moderator  
Reply With Quote
Unread 08-23-18, 06:11 PM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
This fix seems to work in BFA so far. Thank you!

Originally Posted by tordenflesk
Originally Posted by ObscureScience
New error appeared in 8.0.1
And as soulslah said, the addon doesn't update correctly in ToS.

1x SimplePowerBar\Core.lua:662: Attempt to register unknown event "UNIT_POWER"
[C]: in function `RegisterEvent'
SimplePowerBar\Core.lua:662: in function <SimplePowerBar\Core.lua:654>

Locals:
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "UNIT_POWER"
UNIT_POWER got renamed to UNIT_POWER_UPDATE. I added _UPDATE to all occurrences in Core.lua. Now, there's no errors on login. I've absolutely no idea if it works though, but at least it's something.

EDIT: Just did Shado-Pan Monastery and it appears to be working.
Report comment to moderator  
Reply With Quote
Unread 07-26-18, 05:49 AM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 18
File comments: 213
Uploads: 0
Originally Posted by ObscureScience
New error appeared in 8.0.1
And as soulslah said, the addon doesn't update correctly in ToS.

1x SimplePowerBar\Core.lua:662: Attempt to register unknown event "UNIT_POWER"
[C]: in function `RegisterEvent'
SimplePowerBar\Core.lua:662: in function <SimplePowerBar\Core.lua:654>

Locals:
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "UNIT_POWER"
UNIT_POWER got renamed to UNIT_POWER_UPDATE. I added _UPDATE to all occurrences in Core.lua. Now, there's no errors on login. I've absolutely no idea if it works though, but at least it's something.

EDIT: Just did Shado-Pan Monastery and it appears to be working.
Last edited by tordenflesk : 07-26-18 at 11:35 AM.
Report comment to moderator  
Reply With Quote
Unread 07-18-18, 09:16 AM  
ObscureScience
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
Uploads: 0
New error appeared in 8.0.1
And as soulslah said, the addon doesn't update correctly in ToS.

1x SimplePowerBar\Core.lua:662: Attempt to register unknown event "UNIT_POWER"
[C]: in function `RegisterEvent'
SimplePowerBar\Core.lua:662: in function <SimplePowerBar\Core.lua:654>

Locals:
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "UNIT_POWER"
Report comment to moderator  
Reply With Quote
Unread 10-11-17, 10:44 AM  
soulslah
A Kobold Labourer
 
soulslah's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Seems theres a few issues with ToS, SimplePowerBar isn't updating correctly on a few fights, mainly Demonic Inquisition, would love to see this fixed, such a great addon.

Hope you're still around.
Report comment to moderator  
Reply With Quote
Unread 10-09-16, 07:07 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 Xionyus
Any chance this will get an update? Getting both the blizzard bar and the addon showing up. Blizzard is checked to disabled in the settings.

Edit: It seems like it is conflicting with ElvUI.
No worries, I'll probably make some changes and possibly see if there are any other "handlers" conflicting.

Maybe get in contact with ElvUI to see if we can make an exclusion list.
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.