Get an Epic Experience with Premium

BalancePowerTracker

Druid Login to Add Favorites
  • 14 Likes
  • World of Warcraft
  • 4,042 Monthly Downloads
  • Supports: 5.0.4
  • 476,906 Total Downloads
  • Updated 11/15/2012
  • Created 11/19/2010
  • 326 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU Lesser General Public License version 3 (LGPLv3)
  • Newest File: BalancePowerTracker(v1.3.4)
or
Support development! **
Donate

About BalancePowerTracker

BalancePowerTracker is an addon designed to provide a highly configurable bar to track Lunar/Solar energy, Eclipse direction and Eclipse 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 and adds its energy to your current energy, so BPT predicts where your energy is going to be after you finish your cast, and if you are going to proc Eclipse or not.
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 an Eclipse.
(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!)

Provides LibSharedMedia, Masque & MikSBT support:

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

http://s.cdn.wowinterface.com/preview/pvw44037.png http://s10.postimage.org/ba2z5sokl/alert1.jpg http://s14.postimage.org/p0gc5c3bh/castbar_mode1.jpg


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 & eclipse 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.

Pipe ...? In case you want some addon to fetch BPT predicted energy values instead of the real ones, you can try enabling this option. It will try to make ALL the addons and UI elements fetch predicted values.
This option has several drawbacks:

  • You can't choose which addons and UI elements will fetch
  • Increases BPT CPU (& reduces everyone else's) because all calls to UnitPower go through BPT
  • Can cause taint issues (Pipe will disable itself when this happens)

    So I think you should leave this option unchecked unless you really need it

Castbar mode ...? With the changes to when energy is gained, you can see the spark in the cast bar as "how many energy of that spell I currently have", so with this option enabled (you should have the spark also enabled), when casting a spell that gives energy, 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.


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-1.1.lua.

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 whien 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 (Warnings tab)

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

v 1.1.6 FIX: Fixed more issues with loading/storing settings (I think I've got all)

v 1.1.5 FIX: Fixed issue 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 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

Comments

First Previous Page 1 of 13 Next Last
  • #193

    just installed this addon and the bar is not showing up at all. the icons appear when i reach an eclipse, but there is no bar. i have the bar set to show with full alpha both in and out of combat and have the eclipse bar enabled.

    edit: downloaded the one off of wowinterface and it works, the latest one on curse seems to be the culprit.

    Last edited by nollie7 on 3/6/2013 2:23:09 PM
  • #192

    While waiting for a 5.2 version, you can update BPT fairly easily to work with the new Soul of the Forest value by editing /Interface/AddOns/BalancePowerTracker/LibBalancePowerTracker-1.1/LibBalancePowerTracker-1.1.lua.

    Change line 180 from:

    SoulOfTheForest = {talentIndex = 10, bonus = 20}

    to

    SoulOfTheForest = {talentIndex = 10, bonus = 40},

  • #194
    was line 187 for me
  • #191

    On your text options for the energy value on the bar the lowest size font you can select is 10. This brings up a problem with some fonts looking too big.

    On previous versions I found the line in the lua where I could change the minimum available size for font. But I can't seem to find it in this version.

    If you could point me in the right direction that would be great!

    Cheers

     

     

     

     

  • #188

    You can replicate it while standing at a target dummy.

    After a while without freezes, just executing yoour normal rotation you will notice the energy marker:

    if going solar>lunar: the marker goes back and then instantly returns forward

    if going lunar>solar: it might add two time the energy of a spell and remaing screwed until the 0 checkpoint or the next eclipse if you've passed the 0

     

    BTW adding the check ofr the pending 0bug works just fine.

    The only bug left is when you activate CA...sometimes the marker won't move until the effect ends and remains where it was when you activated CA

    Last edited by sontix on 12/31/2012 5:23:05 AM
  • #189

    The CA bug is pretty weird, as when you gain CA it should display 0 energy (it's hard coded in line 709)

    Maybe commentign line 707 would do (if it was going to 0 and then to the previous energy very fast)

    Also, did you have any problems with the extra action bar in some figths? I remember reading about some problems.

    As soon as they open 5.2 ptr, I'll try both corrections (and SotF buff) and make a release if it's needed

  • #190

    I use ElvUI and don't have any problem with extra action bars

  • #185

    How is this mod different to the standard Eclipse tracker that comes with Stuf unit frames?

    I see in the above picture both bars seem to be shown but have the same info on them.

    Also reading through the comments it seems buggy and no updates since November 16 so it this still a viable addon?

    Thanks.

  • #181

    Unfortunately the last beta version has made the problem worse.

    It no longer bugs when you reach an eclipse, but more often during the transition, it sometimes add the energy of an extra spell and keeps it until it surpasses 0 or reach an eclipse.

    The problem is if the extra energy is added when you have already passed the mid and you don't notice.

    You will think you've reached the eclipse one spell too soon and may cast the wrong oppostie nuke.

  • #182

     That's definitely weird

    Can you run: /run LibBalancePowerTracker:ToogleDebug() and after you see the bug, run it again (debug mode uses a LOT of memory) and then send me bpt saved vars (you'll need to logout for them to update), please?

  • #186

    I'll explain a little:

    The workarounded bug is the following: When swithcing from Solar energy to Lunar energy, the bar stops at 0, and when it stops, it fires the events BPT listens to, therefore the need of something to avoid that without checking every time. I came with two solutions: The first, wait till it changes or a time has passed, and then actualize the bar (that's what happened before MoP) In MoP, I decided to make BPT ignore the bug and simply predict the energy (scheduling a energy check to see if somethig went wrong)

    Of course, this solution was based on the fact that you get only one energize event from each spell, if the client freezes and it fires two energize events for one spell, all of it falls apart.

    On the other hand, UnitPower always updates the real values, and, by my tests, always happened after energize events, but I don't know how client freezes would affect this.

    However, whatever the cause may be, the neatest solution would be adding a return after line 686, this will cause BPT to behave like it was pre MoP, (I'll try to see what happens in detail when they open the PTR)

    On other order of thing, do you have any info on the fight that is supposed to casue BPT to bug? Something about the extra button bar? (I don't know how they are related)

    And, having seen the 5.2 patch notes, the SotF buff , you'd need only to modify line 187 (20->40)

  • #184

    I have two projects due on Friday, I'll look into this with detail after then, but it looks you have done a lot of work, thanks!

  • #183

    It seems the problem is caused by line 697-698-699 in the beta version 1.3.5

    the piece of code:

    UpdateEclipseOnEnergyDirection(energy,direction)                                    
    LBPT.RecalcEnergy(energy,direction)

    is fired every time, but if there was a problem that caused energy ~= addEnergy(vars.energy,amount) to be true or a pending vars.bug0ToBeWorkarounded if the game client freezes you may end up with

    LBPT.UNIT_POWER calling LBPT.RecalcEnergy(e,d) which will update the bar with the values passed by SPELL_ENERGIZE and a moment later SPELL_ENERGIZE will once again detect that energy ~= addEnergy(vars.energy,amount) is true changing

    energy = addEnergy(vars.energy,amount)

    direction = vars.vDirection;

    and line 697-698-699 will update the bar with the new values which are incorrect because have the amount value summed two times in a row.

    I think the bug can be fixed by simply checking if there's a bug0ToBeWorkarounded pending by changing those line in :

    if not vars.bug0ToBeWorkarounded then
        UpdateEclipseOnEnergyDirection(energy,direction)                                    
        LBPT.RecalcEnergy(energy,direction)
    end

  • #178

    Tomorrow ends my subscription, and looking back and checking the time I played MoP, I'm not going to renew it.
    I'll try to maintain BPT while I have access to the PTR, but someday, I'll be cut off.
    Maybe in the future I'll return (there's a high chance this will happen), and that's why I'm not going to give away this project, but, if you want to fix/continue with it, it's released under LGPL3 for that very reason.
    So, thank you all!
    And see you around.

    PS There're so many features I wanted to program, like a SS adviser with Hamlet's values, and others left in the scratchpad, I apologize.

  • #175

    I'm tagging las varsion as BETA (to dopwnload go t o the project) until someone confirms me that the arrow bug is gone
    If you have any other bugs, please let me know
    Thank you

    Last edited by copialinex on 11/16/2012 3:52:36 AM
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Infinite Crisis NA

Get Your Preferred Access Code!