Download
(138 Kb)
Download
Updated: 11-15-12 04:07 PM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:11-15-12 04:07 PM
Created:09-11-10 12:31 PM
Downloads:95,130
Favorites:205
MD5:
Balance Power Tracker  Popular! (More than 5000 hits)
Version: 1.3.5
by: Copialinex [More]
1.3.5 is BETA, as I don't know for sure the arrow bug is gone, I'd be very grateful if somebody confirmed it either way, thanks!

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

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.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)


Archived Files (29)
File Name
Version
Size
Author
Date
1.3.4
137kB
Copialinex
09-09-12 06:58 AM
1.3.3
137kB
Copialinex
08-19-12 12:44 PM
1.3.2
130kB
Copialinex
08-11-12 03:57 PM
1.3.1
125kB
Copialinex
07-25-12 08:12 PM
1.2.7
142kB
Copialinex
07-14-12 02:52 PM
1.3.0
122kB
Copialinex
07-05-12 05:03 AM
1.2.6
142kB
Copialinex
12-10-11 11:17 AM
1.2.5
140kB
Copialinex
08-28-11 08:26 PM
1.2.4
140kB
Copialinex
08-23-11 01:27 PM
1.2.3
140kB
Copialinex
07-25-11 01:35 AM
1.2.2
143kB
Copialinex
06-29-11 11:05 AM
1.2.1
143kB
Copialinex
06-27-11 03:54 AM
1.1.8
121kB
Copialinex
04-28-11 02:45 AM
1.1.7
120kB
Copialinex
03-15-11 09:23 AM
1.1.6
120kB
Copialinex
02-16-11 03:15 PM
1.1.4
120kB
Copialinex
02-13-11 03:27 PM
1.1.3
119kB
Copialinex
01-12-11 08:09 AM
1.1.2
113kB
Copialinex
11-28-10 03:15 AM
1.1.1
113kB
Copialinex
11-15-10 05:10 AM
1.1.0
137kB
Copialinex
11-13-10 06:14 PM
1.0.8
134kB
Copialinex
11-13-10 06:12 PM
1.0.7
132kB
Copialinex
10-27-10 05:59 AM
1.0.6
121kB
Copialinex
10-13-10 12:11 PM
1.0.5
121kB
Copialinex
10-13-10 08:19 AM
1.0.4
122kB
Copialinex
10-05-10 04:40 PM
1.0.3
120kB
Copialinex
09-30-10 04:32 PM
1.0.2
120kB
Copialinex
09-26-10 06:44 PM
1.0.1
114kB
Copialinex
09-14-10 06:22 PM
1.0.0 Beta
108kB
Copialinex
09-11-10 12:31 PM


Post A Reply Comment Options
Old 02-25-11, 05:34 AM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 76
Uploads: 6
Originally posted by Cowt
Is there any short script I could use for a macro, that would toggle the 'Enabled' state of the addon; or one for Enabling, and one for disabling?

Been going through the code, but I'm no LUA wiz. Also been trying to add a keybind for the function to the keybind menu, but with no luck.

Code:
/script BalancePowerTrackerBackgroundFrame:Hide();
and
/script BalancePowerTrackerBackgroundFrame:Show();
--Does work, but as the addon updates upon shifting, I have to run the script everytime I change form.

Think you could lend a hand?
You need to call BalancePowerTracker_SharedInfo.Enabled function:
Code:
ON: /script BalancePowerTracker_SharedInfo.Enabled(true);
OFF: /script BalancePowerTracker_SharedInfo.Enabled(false);
I removed the /bpt option command because I thought there was no need for it, if you don't mind the question, why are you using it? Does bpt show when it's not intended to?
Copialinex is offline Report comment to moderator  
Reply With Quote
Old 02-25-11, 12:03 AM  
Cowt
A Kobold Labourer

Forum posts: 0
File comments: 38
Uploads: 0
Is there any short script I could use for a macro, that would toggle the 'Enabled' state of the addon; or one for Enabling, and one for disabling?

Been going through the code, but I'm no LUA wiz. Also been trying to add a keybind for the function to the keybind menu, but with no luck.

Code:
/script BalancePowerTrackerBackgroundFrame:Hide();
and
/script BalancePowerTrackerBackgroundFrame:Show();
--Does work, but as the addon updates upon shifting, I have to run the script everytime I change form.

Think you could lend a hand?
Cowt is offline Report comment to moderator  
Reply With Quote
Old 02-17-11, 06:15 AM  
Cowt
A Kobold Labourer

Forum posts: 0
File comments: 38
Uploads: 0
Not so much a lack of feature, than an inconvenience having to adjust the code with each update; would you consider for future releases, to have Bar Width adjustable by single units, rather than in steps of 5?

Due to my very compact and aligned UI, I find myself wanting it precisely 306 wide.
Cowt is offline Report comment to moderator  
Reply With Quote
Old 02-16-11, 12:00 PM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 76
Uploads: 6
Originally posted by Cowt
Been experiencing an issue with BPT ever since I downloaded v 1.1.4.

It won't allow me to keep the text off. Unchecking the box, it will disappear, but after reloading or relogging, the power text is back, and the box is still checked.

The weird part is, even when I attempt to alter the .LUA document (saved variables, and the addon itself), it still will not reflect the changes. It leaves me to think that this might be an issue on my end, with Windows 7 not giving me permission. However, I am the owner of the files, and no other addon is giving me this error.

Is this a known issue?

EDIT: Looking further into the issue; the addon will update upon some things, such as me moving it. - Which is not reset by reloading.

I can properly toggle the display of Icons, but not bar Visibility, for example.

EDIT2: Issue appears resolved, oddly enough. I've been struggling with it for days.
I'm aware of it, I'm working on a fix.

EDIT: Fix uploaded, thank you for your report.
Last edited by Copialinex : 02-16-11 at 03:17 PM.
Copialinex is offline Report comment to moderator  
Reply With Quote
Old 02-16-11, 04:08 AM  
Cowt
A Kobold Labourer

Forum posts: 0
File comments: 38
Uploads: 0
Been experiencing an issue with BPT ever since I downloaded v 1.1.4.

It won't allow me to keep the text off. Unchecking the box, it will disappear, but after reloading or relogging, the power text is back, and the box is still checked.

The weird part is, even when I attempt to alter the .LUA document (saved variables, and the addon itself), it still will not reflect the changes. It leaves me to think that this might be an issue on my end, with Windows 7 not giving me permission. However, I am the owner of the files, and no other addon is giving me this error.

Is this a known issue?

EDIT: Looking further into the issue; the addon will update upon some things, such as me moving it. - Which is not reset by reloading.

I can properly toggle the display of Icons, but not bar Visibility, for example.

EDIT2: Issue appears resolved, oddly enough. I've been struggling with it for days.
Last edited by Cowt : 02-16-11 at 04:23 AM.
Cowt is offline Report comment to moderator  
Reply With Quote
Old 02-10-11, 02:54 PM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 76
Uploads: 6
Re: Awesome addon

Originally posted by Eolsurion369
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 =)
Ok, I've tested it and it's working fine for me, I'm not sure about what do you mean with "play well", can you be a little more explicit, please?

On the glyph bug, I've seen some threads on other addons with the same bug and searching a little more I found wowace, so I think it's a bug on Blizzard's side.
Copialinex is offline Report comment to moderator  
Reply With Quote
Old 01-25-11, 08:44 AM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 76
Uploads: 6
Originally posted by Lorune
I would to know if it would be possible to build the option in to change the arrow to either the Starfire or Wrath icon depending on which side your building towards. Or perhaps add the Starfire / wrath icon middle top of the bar itself, basicly a visual indication of which spell you should be casting ?

I know this might sound silly, but for a non to experienced balance druid this might be a very nice aid. (toggleable ofcourse for those that think its not needed)
I don't want BPT to become a "press this button" addon (I've got plans to update the one I made somewhere in the future), if you want, you can achieve something similar by changing the icons of Eclipse for Wr and Sf and enabling "big icons", you can have the bar colored based in the eclipse you're building, or you always can use other mods like ShadowsEclipseMonitor.
Although I won't deny that customizable arrow is a good idea.
Copialinex is offline Report comment to moderator  
Reply With Quote
Old 01-24-11, 10:21 AM  
Lorune
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I would to know if it would be possible to build the option in to change the arrow to either the Starfire or Wrath icon depending on which side your building towards. Or perhaps add the Starfire / wrath icon middle top of the bar itself, basicly a visual indication of which spell you should be casting ?

I know this might sound silly, but for a non to experienced balance druid this might be a very nice aid. (toggleable ofcourse for those that think its not needed)
Lorune is offline Report comment to moderator  
Reply With Quote
Old 01-21-11, 07:32 AM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 76
Uploads: 6
Re: Awesome addon

Originally posted by Eolsurion369
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 =)
I'll check as soon as I can, I'm really busy with exams now.
I don't think the two are related because to include BPT in the Options UI I use the functions Blizzard provides, but you've given me an idea, BPT includes a library to make the options dialog broader, maybe I should test it without the library.
Copialinex is offline Report comment to moderator  
Reply With Quote
Old 01-20-11, 06:44 AM  
Eolsurion369
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 06:57 AM.
Eolsurion369 is offline Report comment to moderator  
Reply With Quote
Old 11-30-10, 06:26 AM  
Orenn
A Kobold Labourer
 
Orenn's Avatar

Forum posts: 1
File comments: 15
Uploads: 0
Originally posted by Shadowlycaon
Video of Balance Power Tracker and Shadow's Eclipse Monitor addons working here. Thanks for the PvP lib update.
That is pretty brilliant

Thanks again for a magnificent addon. I appreciate the work you've put into it!
Orenn is offline Report comment to moderator  
Reply With Quote
Old 11-28-10, 05:49 PM  
Shadowlycaon
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 4
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 05:50 PM.
Shadowlycaon is offline Report comment to moderator  
Reply With Quote
Old 11-25-10, 11:56 AM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 76
Uploads: 6
Originally posted by Shadowlycaon
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?
I'm glad it worked, I advise you to wait till I update LibBalancePowerTracker with the PvP bonus (maybe till Saturday or Sunday GMT) so you include the last version.
Copialinex vs Kurohoshi: Use the one you like more, I will answer at both
Thanks for using LibBalancePowerTracker, and giving me credit!
Copialinex is offline Report comment to moderator  
Reply With Quote
Old 11-25-10, 06:24 AM  
Shadowlycaon
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 4
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 is offline Report comment to moderator  
Reply With Quote
Old 11-25-10, 03:17 AM  
Copialinex
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 76
Uploads: 6
Originally posted by Shadowlycaon
[b]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_ENERGIZE
SPELL_MISS
SPELL_DAMAGE
Am I missing one? Or perhaps just missing something all together?
LBPT uses the same events to recalculate energy, so if your client fires first your addon's events, when checking the LBPT vars will find nothing has changed.

Originally posted by Shadowlycaon
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
You only need 1 of those functions:
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 is offline 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.