Go to Page... |
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: | 127,228 |
Favorites: | 192 |
MD5: |
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:
![]() |
Comment Options |
Lorune |
View Public Profile |
Send a private message to Lorune |
Find More Posts by Lorune |
Add Lorune to Your Buddy List |
Copialinex |
View Public Profile |
Send a private message to Copialinex |
Find More Posts by Copialinex |
Add Copialinex to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 5
Uploads: 0
|
Awesome addon
Very nice add on, thank you for all your work.
It looks like BPT doesn't play well with Addon Switcher / Ampere. BPT modifies the Interface / Options UI. Maybe related to glyph issue documented. Keep up the awesome work =)
Last edited by Eolsurion369 : 01-20-11 at 07:57 AM.
|
![]() |
![]() |
Eolsurion369 |
View Public Profile |
Send a private message to Eolsurion369 |
Find More Posts by Eolsurion369 |
Add Eolsurion369 to Your Buddy List |
![]() |
||
|
![]() Thanks again for a magnificent addon. I appreciate the work you've put into it! |
|
![]() |
![]() |
Orenn |
View Public Profile |
Send a private message to Orenn |
Find More Posts by Orenn |
Add Orenn to Your Buddy List |
![]() |
|
|
Video of Balance Power Tracker and Shadow's Eclipse Monitor addons working here. Thanks for the PvP lib update.
Last edited by Shadowlycaon : 11-28-10 at 06:50 PM.
|
![]() |
![]() |
Shadowlycaon |
View Public Profile |
Send a private message to Shadowlycaon |
Find More Posts by Shadowlycaon |
Add Shadowlycaon to Your Buddy List |
![]() |
||
|
Copialinex vs Kurohoshi: Use the one you like more, I will answer at both ![]() Thanks for using LibBalancePowerTracker, and giving me credit! |
|
![]() |
![]() |
Copialinex |
View Public Profile |
Send a private message to Copialinex |
Find More Posts by Copialinex |
Add Copialinex to Your Buddy List |
![]() |
|
|
Beautiful, works a charm. Learned a whole lot, thanks for the tutorial. Keep up the fantastic work. Would you prefer Kurohoshi (EU-Minahonda) or Copialinex for credit?
|
![]() |
![]() |
Shadowlycaon |
View Public Profile |
Send a private message to Shadowlycaon |
Find More Posts by Shadowlycaon |
Add Shadowlycaon to Your Buddy List |
![]() |
|||
|
If you want to retrieve the energy vars, it should be like this: function EclipseInfo() energy, direction, virtual_energy, virtual_direction, reach_end = LibBalancePowerTracker:GetEclipseEnergyInfo() end The callback only needs to be registered once, you are registering one different callback each time you call EclipseInfo(). What I'd do: Get ridden of the above events (unless you use them for something else) Creating a function that updates the addon using the info LibBalancePowerTracker:RegisterFullCallback(function(...) UpdateMyAddon(...) end) on, for example PLAYER_LOGIN |
||
![]() |
![]() |
Copialinex |
View Public Profile |
Send a private message to Copialinex |
Find More Posts by Copialinex |
Add Copialinex to Your Buddy List |
![]() |
||
A Murloc Raider
Forum posts: 4
File comments: 10
Uploads: 0
|
|
|
![]() |
![]() |
Maho |
View Public Profile |
Send a private message to Maho |
Find More Posts by Maho |
Add Maho to Your Buddy List |
![]() |
||
|
|
|
![]() |
![]() |
Shadowlycaon |
View Public Profile |
Send a private message to Shadowlycaon |
Find More Posts by Shadowlycaon |
Add Shadowlycaon to Your Buddy List |
![]() |
|
A Murloc Raider
Forum posts: 4
File comments: 10
Uploads: 0
|
Hi, you've said that you are gonna implement Blizz original skin bar, is it still in plans or you dropeed this idea?
|
![]() |
![]() |
Maho |
View Public Profile |
Send a private message to Maho |
Find More Posts by Maho |
Add Maho to Your Buddy List |
![]() |
|
|
Thank you very much, got it all set up and looking good. Having an issue with Virtual Energy though. I can't seem to be able to detect virtual energy. I get a value for it, but only after a spell has been cast, making it pretty much useless. I have the calculation under the following events:
UNIT_SPELLCAST_SUCCEEDED UNIT_SPELLCAST_FAILED UNIT_SPELLCAST_INTERRUPTED UNIT_SPELLCAST_SENT COMBAT_LOG_UNFILTERED --> SPELL_ENERGIZEAm I missing one? Or perhaps just missing something all together? I'm using this to get the info: function EclipseInfo() LibBalancePowerTracker:RegisterFullCallback(function(...) LibBalancePowerTracker:GetEclipseEnergyInfo() end) energy, direction, virtual_energy, virtual_direction, reach_end = LibBalancePowerTracker:GetEclipseEnergyInfo() end
Last edited by Shadowlycaon : 11-24-10 at 10:03 PM.
|
![]() |
![]() |
Shadowlycaon |
View Public Profile |
Send a private message to Shadowlycaon |
Find More Posts by Shadowlycaon |
Add Shadowlycaon to Your Buddy List |
![]() |
||
|
Re: Brilliant Addon
I'd use the library, I've left the table because maybe some other addons use it.
The table is fairly simple, it has 13 fields, 3 (beginning with capital letters) are functions to manage the addon, the other are read-only fields that store the values of the variables used by BPT. The library is easier, you just need to include it in your addon (the library will avoid loading twice, and it will leave the more updated version) First, the variables used by LibBalancePowerTracker: energy: The energy you have at the moment. Int = [-100,100]Once it's loaded, you register a callback. The callback will be fired whenever one of the values related to the callback changes. There are two types of callback, I've named them "Full" and "Reduced", the Full Callback will be fired when one of the five variables changes (Usually twice per SF/WR/SS), the Reduced Callback only is fired when energy or direction change (Usually once per SF/WR/SS). You can always check the state of the variables using the LibBalancePowerTracker:GetEclipseEnergyInfo() function (Don't worry about CPU usage of the library, it maintains a buffer with the variables, it only recalculates them when they change) The API is the following: id = LibBalancePowerTracker:RegisterFullCallback(function)For example, BPT does this in PLAYER_LOGIN LibBalancePowerTracker:RegisterFullCallback(function(...) BalancePowerTracker:RecalcEnergy(...) end); You only need to register one type of callback, the Reduced one is included in case you don't want to use the foresee feature. To load the library, you can have BPT, since this addon loads it, or you can include it in your addon structure and reference it in your .toc Also, you can use the following command if you want to understand better when callbacks are fired and the values. (You are registering a callback that prints the values in chat) /script LibBalancePowerTracker:RegisterFullCallback(function(...) print(...) end);
Last edited by Copialinex : 11-23-10 at 08:29 AM.
|
|
![]() |
![]() |
Copialinex |
View Public Profile |
Send a private message to Copialinex |
Find More Posts by Copialinex |
Add Copialinex to Your Buddy List |
![]() |
|
|
Brilliant Addon
Firstly, brilliant addon. Your addons are always just what moonkins need.
I have a rather out-of-date addon I'm updating atm(Shadow's Eclipse Monitor) and thought I'd try to incorporate your libary/public table. I however, have not much of an idea of how. Would you be kind enough to give me a quick couple of pointers on integrating your libary into an addon? Functions to register it etc...Credit will of course be given at all possible points. I understand how to use the variables in the table, just having my addon recognise those variables is giving me trouble. P.S. I know my addon is horribly disjointed script wise. Was my first attempt at an addon having no scripting background.
Last edited by Shadowlycaon : 11-23-10 at 12:22 AM.
|
![]() |
![]() |
Shadowlycaon |
View Public Profile |
Send a private message to Shadowlycaon |
Find More Posts by Shadowlycaon |
Add Shadowlycaon to Your Buddy List |
![]() |
||
|
Okay, next version will include the customization of the icons. I have it coded, but I'll update once I've checked that it works with new PvP bonus
|
|
![]() |
![]() |
Copialinex |
View Public Profile |
Send a private message to Copialinex |
Find More Posts by Copialinex |
Add Copialinex to Your Buddy List |
![]() |
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.