Download
(132Kb)
Download
Updated: 12-08-14 01:49 PM
Pictures
File Info
Compatibility:
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:12-08-14 01:49 PM
Created:09-11-10 12:31 PM
Downloads:126,837
Favorites:192
MD5:

Balance Power Tracker  Popular! (More than 5000 hits)

Version: 2.0.1
by: Copialinex [More]

Updated for WoD

BalancePowerTracker is an addon designed to provide a highly configurable bar to track Lunar/Solar energy, Eclipse direction and Peak buff.
It also can fire wanrnings when you gain Eclipse and provides energy prediction.
It's focused on using the CPU strictly necessary and no more.

PREDICTED ENERGY:
Predicted energy analizes your current cast/GCD and adds its cast time to your current energy, so BPT predicts where your energy is going to be, and if you are going to proc any Peak or not.
Unlike former versions, calculating predicted energy is now more difficult (due to fast switch when near 0 and lag), so it's done by approximation. This means that prediction accuracy is no longer 100% (near 100 and -100 is pretty much completely accurate and near 0 you can get +2/-2, usually +1/-1 averaged)
You can configure the indicators (bar,text,icons,arrow) of the mod to either display predicted or real info.
Also, you can configure the alerts to fire when you are going to get a Peak.
(Author's note: I feel Predicted Energy is the heart of BPT, I think without this option I wouldn't have made this addon, also it has taken up most of the time invested in the addon, however, I understand people value the choice to turn this off. At least, give it a try!)
WARNING: Euphoria is untested and Astral Communion error margin is higher


Provides LibSharedMedia, Masque & MikSBT support:

  • LibSharedMedia: Bar textures, alert sounds, fonts
  • Masque: Eclipse icons skin
  • MikSBT: Fire alerts through MikSBT

FAQ:

Can I disable it out of combat?
You can't disable it out of combat, but you can turn the Alpha Out Of Combar to 0, so it won't bother you (CPU load out of combat is pretty much 0).

The energy seems a little erratic...?
Predicted energy & peak are enabled by default, with this enabled, the mod will add the energy of you current cast to the bar, if you only want to change the size & position of the energy bar, I suggest you to uncheck this option.

Is there any way to have the awesome Blizzard art?
Enable default art module, you'll get a bar like Blizzard's with some options (not nearly as many as with the Eclipse bar module).

Green bar:
BPT is unable to access the bar/border texture, check if you have uninstalled it.

How do I configure it?
Type /bpt, in the tab "addons" you will find all the options for BPT.

Castbar mode ...? When casting a spell, the Eclipse bar will turn in a sort of castbar, still showing the arrow and the energy text. Just have this in mind: this isn't a castbar mod, so it shouldn't replace it, but this option reduces the places you need to have your eyes on (you need to have the spark enabled).

ADDON AUTHORS:

LibBalancePowerTracker
In v1.1.0 the energy track and predict features were moved into a library called LibBalancePowerTracker. This library is standalone and will avoid loading itself more than once. The API is commented in the first lines of LibBalancePowerTracker-2.0.lua.

v 2.0.1 Updated LibBalancePowerTracker to v2.0.1:
Improved death recognition
Fixed Euphoria detection
Improved Euphoria prediction
Removed unused public var warnedVEclipse in EclipseBar
Added timer to peak buff, can be shown either as CD (works with OmniCC), text or both

v 2.0.0: Overhaul for WoD

v 1.3.5 FIX: Updated LibBalancePowerTracker, hopefully fixing the annoying arrow bug
FEATURE: Added option to show/hide bars in vehicles
FEATURE: Added warning when disabling pipe
FEATURE: Castbar mode has an option to show all spells, even if they don't provide energy
FEATURE: Added option to edit font path in warnings
FIX: EclipseBar hiding switched to use alpha to avoid tainting
FIX: Balance check uses GetSpecialization()
FIX: DefaultArt bar should be hidden correctly
FIX: Improved vehicle detection

v 1.3.4 FIX: Included "" string in localized critter name zhCN to avoid errors in chinese client (couldn't log in beta with that locale)
FEATURE: Added option to completely disable border
FEATURE: Added option to change border size
FEATURE: Grow bar returns
FEATURE: Added option to enable/disable complete addon
FEATURE: Show only icons option added to default art bar
FIX: Options GUI update when changing options from outside
FIX: Options descriptions

v 1.3.3 (Release for MoP)
FIX: Bar spark when having weird screen resolutions
FEATURE: Eclipse Icons added
FEATURE: Default art added
CHANGE: Pipe disabled on action blocked by any addon, just in case
FEATURE: LibSharedMedia support
FEATURE: LibButtonFacade support
FEATURE: Options completed
CHANGE: Removed LibBetterBlizzOptions
CHANGE: Updated LibBalancePowerTracker

v 1.3.2 CHANGE: Very alpha release of new BPT for MoP, UI coded from 0, still many things to do...

v 1.3.1 FIX: New mechanics in LBPT, some weird interactions between skills now are handled OK
(try to gain a Eclipse and then spend a "talent" point... you will see)

v 1.3.0 FIX: Early fix to work with MoP, both BPT and LBPT, many changes inconming!

v 1.2.7 FIX: Module loader fix when having disabled all BPT's side addons
FIX: Conflict with kgpanels via LibSharedMedia

v 1.2.6 CHANGE: Option to ignore virtual energy when you can gain both lunar and solar at the same time (Updated BalancePowerTracker_Options)
FIX: Updated LibBalancePowerTracker (Memory leak fixed, eclipse direction when entering arena, increased time to delete flying spells)
CHANGE: Updated .toc
FIX: Module loader fixed


v 1.2.5 FIX: Updated LibBalancePowerTracker to handle Euphoria & 4T12 bonus hotfix

v 1.2.4 FIX: Issues with lightmymacro
CHANGE: Option to disable the loading message, BalancePowerTracker_Options updated
CHANGE: LibBalancePowerTracker updated

v 1.2.3 FIX: Move freely is now working again
FIX: LibBalancePowerTracker had some bugs fixed and is now updated.

v 1.2.2 FIX; Lua error when Shooting stars proc

v 1.2.1 FIX: Tier 12 fully supported now
CHANGE: LibBalancePowerTracker updated
CHANGE: Minor change due to reachEnd converted into VirtualEcipse (still using reachEnd)

v 1.2.0 FIX: Now working in 4.2 patch.
FIX: Updated libraries.
FEATURE: BalancePowerTracker_Pipe: now you can use BPT's values in PowerAuras when this module is loaded.
FEATURE: BalancePowerTracker_Log: Found a bug? Please, log it with this tool.
CHANGE: BalancePowerTracker_Options: BPT's options were moved into a new AddOn in order to free a little memory.

v 1.1.8 FIX: Now working in 4.1 patch.
LibBalancePowerTracker:
Future log compatibility functions
The mark shouldn´t 'dance' at 0,100 and -100 energy anymore.
Extra functions to avoid letting a spell remain in the queue when it must be erased.

v 1.1.7 FIX: MSBT displaying "Move me!" when having alert warning turned off.
FEATURE: You can configure BPT to show/hide Eclipse spell effect using virtual info.

V 1.1.6 FIX: Still more issues with loading/storing settings.

v 1.1.5 FIX: Issues with loading/storing settings.

v 1.1.4 CHANGE: Updated LibBalancePowerTracker.
FEATURE: Added sound effects alerts.
CHANGE: Minor improvements to code.
CHANGE: Updated to use the most recent ACE3 libs

v 1.1.3 FEATURE: Custom form show/hide
FIX: Check Eclipse buff and energy on teleport (for when entering arena)
FEATURE: Option to display lunar energy as negative energy
CHANGE: Updated LibBalancePowerTracker to the last build (1.0.3)
FIX: Reset works with callbacks
FEATURE: Eclipse Chance calculation (Beta stage): See advanced tab.
FETAURE: Statistically Energy calculation (Beta stage): See advanced tab.

v 1.1.2 FEATURE: Added option to change icon texture to media tab.
FIX: Original icons fixed
CHANGE: Icon offset range changed to [-30,30]
FEATURE: Added warning when you interrupt/fail to cast the spell that was going to give you Eclipse
FEATURE: Added other glow.
-LibBalancePowerTracker updated to include PvP bonus and improved eclipse direction fetching

v 1.1.1 CHANGE: Oops, forgot to remove unused libraries, also updated the others.
FEATURE: Added option to change relative point.
FIX: When deactivating LBF, the icons scale correctly.
CHANGE: Minor interface changes to allow the use of external skins.

v 1.1.0 CHANGE: Massive changes to reduce CPU usage by 70%
- Energy track moved to library

v 1.0.8 FIX: Showing addon when visible was not enabled
FEATURE: BalancePowerTracker_SharedInfo.hidden added
FEATURE: BalancePowerTracker_SharedInfo.enabled added
FEATURE: MSBT support
FEATURE: Text color and size can be changed
FEATURE: Icon offset can be changed
FIX: Position sliders gap reduced
CHANGE: Some functions moved from ADDON_LOADED to PLAYER_LOGIN, shouldn't be any problem
FIX: Removed LibButtonFacade, but ButtonFacade is still supported
CHANGE: Hiding behaviour improved
FIX: Arrow not working like it should after teleporting

v 1.0.7 FIX: Showing default blizz frame when getting out of vehicle
FIX: Not showing the foresee energy bar when reaching end
FIX: Bar not updating when teleporting & changing form at the same time
FIX: Enlarging both icons when there was no eclipse direction
FEATURE: Arrow can be scaled
FEATURE: Eclipse icons can be hidden
FEATURE: Show addon when not in Caster/Moonkin Form option
FEATURE: Border color can be changed
FEATURE: Added option to color the entire bar based on direction (You can select the info used to color the bar)
FEATURE: /bpt & /balancepowertracker show the config window
CHANGE: You can now select the info displayed on the icons (before, it used arrow's info)
CHANGE: Icons can be scaled
FEATURE: Original Icons can be selected (Need some tweaks)
FEATURE: ButtonFacade support
FEATURE: Bar can be set to vertical or horizontal
FEATURE: Added public functions to enable/disable/show/hide the addon and to start/stop foreseeing energy

v 1.0.6 Not detecting instant SS bug fixed (I didn't find this one on time)

v 1.0.5 Created & using SpellQueue ADT, easier to maintain code
In text you can configure which energy should be displayed
In arrow you can configure which info should be displayed
You can hide the former "addEnergy" bar without losing the benefits of Foresee energy
Add energy renamed to "Foresee energy"
Options clarified

v 1.0.4 Perfomance improved: CPU usage reduced by aprox. 65-70%!
Alpha OOC added!
Fixed textures
Fixed not showing Virtual Eclipse on instant SS cast bug
Share Info and Same Color options removed
Options Revamped
Added screenflash warning
Added function to enlarge the icon of the eclipse you should aim to

v 1.0.3 Uptaded "add energy" to the last ptr build (13082)
You can choose between arrow instead and spark (if you choose arrow, the text will move so you can see the arrow)
You can hide the energy text
New function added: Warnings
Bunch of minor bugs fixes

v 1.0.2 Uptaded "add energy" to the last ptr build (13033):
-SS fixed energy
-fixed WR sometimes 14 energy
-smoothly!
-unregister its events when not using it, to free CPU
Fixed checking form when not having all forms trained
Info box in style tab
Strata and alpha can be changed!
v 1.0.1 Fixed Blizz Frame showing when not Balance and some bugs also with Blizz Frame & Power tracker
Fixed missing lib
v 1.0.0 Release
Optional Files (0)


Post A Reply Comment Options
Unread 10-16-10, 09:36 PM  
tilgare
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
I do like the addon. I've kinda flip-flopped a few times while addons are getting updated and what not. I really like Blizzard's standard Eclipse art, so I used Move Anything for a while so I could use it. I'm currently trying to use old unit frames (until they get updated) that are hiding the Eclipse Bar so I turned BPT back on. In the most recent update, I'm getting the following LUA error.

Date: 2010-10-16 23:26:59
ID: 1
Error occured in: Global
Count: 1
Message: ...e\AddOns\BalancePowerTracker\BalancePowerTracker.lua line 116:
attempt to call global 'NewSpellQueueADT' (a nil value)
Debug:
[C]: NewSpellQueueADT()
...e\AddOns\BalancePowerTracker\BalancePowerTracker.lua:116: in main chunk

I don't have any LUA experience specifically, but I can't seem to see what might be wrong with it after looking through the code a bit. I tried commenting line 116 out but it still had an issue later when you used the var spellQ. I redownloaded and reinstalled v1.6 to make sure it wasn't just my fault, but it is still having the issue. I'll go back to v1.5 for now.

The main reason I'm still hesitant to use BPT is that I'm not able to use Blizzard art - I hope you're able to implement that soon. =)

Edit: Looks like I'm still having the issue in v1.5, I must have been using v1.4. v1.4 appears to be working great though.
Last edited by tilgare : 10-16-10 at 09:43 PM.
Report comment to moderator  
Reply With Quote
Unread 10-16-10, 01:22 PM  
calculatéd
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Mod is strong. If I could ask anything it would be an option to turn the bar vertical instead of horizontal (perhaps in the position sub-menu). It may just be me because I got used to using IceHUD's Eclipse module in a vertical layout but horizontal is driving me batty.
Report comment to moderator  
Reply With Quote
Unread 10-15-10, 07:49 PM  
Cowt
A Kobold Labourer

Forum posts: 0
File comments: 37
Uploads: 0
Alright, so I've been using this addon for a couple of days and through ICC.

I've already told you how much I appreciate this mod, and I still do.
__________________

Onto the topic: Having the bar split into two colours seemed logical to me at first, but after using it in more messy fights such as Deathwhisper-25 Heroic where I have several things I need to keep track of, I noticed that it does not translate well in my head.

Not only do I need to keep track of which colour I'm in, but also in which direction the arrow is moving. This is a much un-needed process if you'd just make is more simple.

Could you perhaps consider adding an option which colours the entire bar Solar colour when you're either in Solar Eclipse, or working towards Lunar? (And the other way around.)

This way, all I need to do during a fight should I get lost while dealing with adds or moving from fire, is to check the bar to see what colour it is - To know which spell to use.

Orange - I continue using Wrath.
Blue - I switch to Starfire.
__________________

I do not code LUA which is why I need to ask you for this, but perhaps others would be interested in a similar option. For me, it would be a great improvement.

Surely this could be done without eating too much memory for those concerned.

- Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 10-15-10, 06:07 PM  
garnerh42
A Deviate Faerie Dragon
 
garnerh42's Avatar

Forum posts: 11
File comments: 14
Uploads: 0
Re: Re: Disable when OOC?

Originally posted by Copialinex
You can't disable it OOC, but you can set alpha OOC to 0 so it won't bother you out of combat
Perfect! I totally missed that option.
__________________
Grynn (80 Druid), Trig (80 Rogue), Krajen (80 Warrior), Jovix (80 Hunter), Sqeeve (80 Mage) on Cenarion Circle
Report comment to moderator  
Reply With Quote
Unread 10-15-10, 01:54 AM  
mLs
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 10
Uploads: 1
Great addon and if going to upate stuff on the graphic side please always have this default layout available cause it fits atleast me perfectly, cheerio!
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 07:41 PM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 79
Uploads: 6
Re: Disable when OOC?

Originally posted by garnerh42
Is there an option to disable it when you're out of combat? If not I'd like to request one.

Great addon!
You can't disable it OOC, but you can set alpha OOC to 0 so it won't bother you out of combat
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 07:24 PM  
garnerh42
A Deviate Faerie Dragon
 
garnerh42's Avatar

Forum posts: 11
File comments: 14
Uploads: 0
Disable when OOC?

Is there an option to disable it when you're out of combat? If not I'd like to request one.

Great addon!
__________________
Grynn (80 Druid), Trig (80 Rogue), Krajen (80 Warrior), Jovix (80 Hunter), Sqeeve (80 Mage) on Cenarion Circle
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 07:18 PM  
dragonthe7th
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Nice Addon, i would only wish for 2 additional functions:

Buttonfacade Support (would be sooooo sweet)

Color Option for the Borders

I kinda hijacked your mod and inplemented the border option myself but an official release would be better so that everyone can enjoy it

(i can give you my changed Code if you want to)
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 06:47 PM  
perunaion
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
Originally posted by Copialinex
Thank you!

Yeah, I know the blizzard's art is awesome, but I wanted to have it working before bothering with art, if it doesn't work, nobody would care, even if the art is as good as Blizz's.
I think I'll release a "skin pack" somewhere in the future as another addon, but I've got to give my other addons some love.

Vote++ for original artwork. Their art actually does look pretty good.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 05:17 PM  
Orenn
A Kobold Labourer
 
Orenn's Avatar

Forum posts: 1
File comments: 16
Uploads: 0
Re: Re: Strange Bug

Originally posted by Copialinex
That sure is a strange thing, the addon doesn't mess with glyphs, I'll try to replicate it as soon as the EU servers go live

e: I tried a lot with all glyphs I have, I couldn't replicate the error.
Turns out it was possibly a taint issue with Macaroon. Still weird that it caused BPT to bug out...

If it happens again I'll be sure to grab the code but as of now I am unable to get it to do it again.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 04:43 PM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 79
Uploads: 6
Re: How to configure ?

Originally posted by Loglady
I downloaded Balance Power Tracker yesterday and i couldn't figure out how to configure it.
Maybe I've missed something and am going to have a doh! moment after the answers.
I've tried different /..... and hitting escape button to access addon configuration but nothing has popped up.
As it is now it is stuck in the middle of the screen.
Can you please enlighten me on how to configure it.
Maybe make a how to configure Balance Power Tracker for dummies

Btw addon looks smooth, keep up the good work.
The route to access the options is:
Open menu -> Interface -> Addons tab -> Balance Power Tracker
At least, that's where it's supposed to be, I don't have any records of disappearing options.
Thank you!
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 04:42 PM  
Cowt
A Kobold Labourer

Forum posts: 0
File comments: 37
Uploads: 0
Thank you for the time put into making this, and having it so stable upon patch release.

It made me smile.

Edit: If you do want to keep the two Eclipse icons on the sides, I would very much appreciate if you would consider adding Buttonfacade support for a future release.
Last edited by Cowt : 10-13-10 at 05:00 PM.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 04:17 PM  
Loglady
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
How to configure ?

I downloaded Balance Power Tracker yesterday and i couldn't figure out how to configure it.
Maybe I've missed something and am going to have a doh! moment after the answers.
I've tried different /..... and hitting escape button to access addon configuration but nothing has popped up.
As it is now it is stuck in the middle of the screen.
Can you please enlighten me on how to configure it.
Maybe make a how to configure Balance Power Tracker for dummies

Btw addon looks smooth, keep up the good work.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 03:06 PM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 79
Uploads: 6
Originally posted by Splade
Great addon, thanks for all your hard work!

My only complaint is it's sorta on the ugly side. The artwork for the default eclipse bar is actually pretty sweet; it would be awesome to have the same look with the added features of this mod.

Or at least maybe add ButtonFacade support for the Lunar/Solar eclipse icons so we can skin them up a little.
Thank you!

Yeah, I know the blizzard's art is awesome, but I wanted to have it working before bothering with art, if it doesn't work, nobody would care, even if the art is as good as Blizz's.
I think I'll release a "skin pack" somewhere in the future as another addon, but I've got to give my other addons some love.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 01:23 PM  
Splade
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Great addon, thanks for all your hard work!

My only complaint is it's sorta on the ugly side. The artwork for the default eclipse bar is actually pretty sweet; it would be awesome to have the same look with the added features of this mod.

Or at least maybe add ButtonFacade support for the Lunar/Solar eclipse icons so we can skin them up a little.
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.