Download
(276Kb)
Download
Updated: 06-04-07 01:07 PM
Pictures
File Info
Updated:06-04-07 01:07 PM
Created:unknown
Downloads:10,983
Favorites:25
MD5:

kEnergy  Popular! (More than 5000 hits)

Version: 0.9
by: kergoth [More]

kEnergy is an energy ticker which maintains a running average and standard
deviation to ensure that the tick interval matches when your energy is really
coming in. Unfortunately, energy ticks do not occur at precise 2 second
intervals, nor do they always come in increments of exactly 20 energy, so a
more adaptive solution was sought. By maintaining the average and throwing
out outlying tick offsets, this addon is able to be more accurate than most
(if not all) other energy tickers out there, particularly in environments with
high network latency.

Most aspects of its display can be configured, including color, texture, size,
font size, and bar text (energy, combo points, or both).

Please report any bugs you find to me, as I cannot fix problems which I'm not
aware of! Note that if you run into a problem with the tick offset being
too high (bar ticking too slow):
- Reset the tickoffset (/ke tickoffset 0)
- Enable debugging (/ke debug)
- Fight until the problem is reproduced (assuming it is indeed reproducable)
- Reload your UI or logout.
- Send me the kEnergy.lua from your SavedVariables, as debug mode enabled a
full log of your energy activity over time, so the problem can be isolated.
Be warned, do not keep /ke debug enabled in critical environments, as it is
consuming small amounts of ram (new entry in the energy log) for each energy
gain/loss.

Release ChangeLog:

0.9:
* Make use of the LoadManagers field in the .toc. Only supports ForkliftGnome
as a LoadManager for now.
* Add transparent texture for those only wanting to display the spark, courtesy evl.
* Drop the Metrognome library in favor of AceEvent, and drop SurfaceLib in
favor of SharedMediaLib, courtesy Ammo.
* Respond to talents being trained, for talents that affect energy cost of
abilities, rather than only doing it at load time.
* Predict shiv's energy cost in the energy tracking (special due to the cost
being based on offhand weapon speed).
* Fix debuglevel option to be hidden when debugging is enabled, and to step by 1.

0.81:
* Disable LoadOnDemand.. accidentally got enabled when updating the svn from
my addon set.

0.8:
* Fix the 'Reset bar position.' option.
* Updated deDE translation, courtesy Viperb0y.
* Standby fixup: Hide the bartext on disable, and reset self.barticking
on enable when we reset the rest of the state.
* Add bartext info to readme and clean up relnotes.
* Locking fixups:
* Method modified to behave more sensibly, fixing the unlock to no longer show
a spark on the bar, and to make bartext never, ever show up before the bar
does.
* Ensure that the code properly handles being locked/unlocked at all times (now
properly handles receiving energy ticks while unlocked).
* Ensure that our knowledge of the tick isn't lost when locking/unlocking.
Previously, if you locked and unlocked, you'd have to go cause an
energy tick for the bar to start ticking again.

0.7:
* By request, add options to display energy / combo points as text on the
bar, and appearance options for that text.
* Kill legacy Combat Potency handling from pre 2.0.3 wow versions.
* Handle 'Shadowmeld' handling for the display when in stealth option.
* Bump Interface # in .toc.
* Add deDE translation, courtesy trh_.
* Fix the missing self.tickamount variable for druids.
* Fix bug which could result in a tickoffset which is too large, if high
latency was encountered during the initial world entry.
* Fix issue reported by Guillotine where the bar never came back after leaving
cat form.
* Work around a Blizzard annoyance - apparently, when shifting into cat form,
you can receive a UNIT_ENERGY event before getting the PLAYER_AURAS_CHANGED
which tells us we're now in cat form.
* Substantial rework of the way our ticks were being simulated and how that
interacted with real energy ticks. There is no longer a small period of
time between one timer bar completing and the next one starting. It now
starts the next one immediately, and adjusts the end time of that next one
when the expected energy event arrives.
* General cleanup and enhancements to the code.

0.61:
* Add the missing debug level localization.. oops.

0.6:
* Add option to fill the bar rather than emptying it.
* Fix handling of adrenaline rush.
* Fix the bug resulting in one extra bar tick upon reaching max energy (it should stop immediately now).
* Fix 'standby'.
* Store spell costs by name -and- rank.
* Ensure that energy ticks from units other than 'player' (i.e. party members) don't throw off our ticking.
* Maintain spell cost state using _SENT to ensure that multiple _SUCCEEDED spellcast events from a single cast don't throw off our energy predictions (was mainly an issue with mutilate).
* Set the player's max energy correctly for druids upon entering cat form, as the UNIT_MAXENERGY event is not fired upon shapeshifting.

* Maintain an energy activity log in saved vars (wiped on each ui load) when debugging is enabled, so when a problem is encountered, the user can enable debugging and send me the log.
* Fix ordering of our options.
* Add option to set the debug level (a level of 2 shows the energy log in the chat frame).
* SurfaceLib support: kill Surface_Registered handling, as it's unnecessary now, and add handling of Surface_SetGlobal.

0.5:
* Switch the prints to debug output, so will not spam by default anymore.
* Fixed handling of Combat Potency on live servers.
* Properly reset the tick cycle on player death.
* Alter the logic in self:tick() to fix some bar stutter.
* Rename a variable to avoid stepping on the toes of AceOO/AceConsole, which was resulting in the "standby" and profile options missing from our configuration menu / chat.
* Properly reset the tick cycle upon losing the Cat Form buff -- should fix the tick times getting screwed up on shapeshifts (thanks for the bug report folks, I don't have a druid that I play regularly).

0.4
* Added right click menu for configuration while unlocked.
* Added option to reset bar position to default.
* Completely reworked the averaging code -- we now maintain a running average (mean) and running standard deviation, and throw away outliers (bad values which will screw up the average).
* Added handling of a few circumstances which it was unable to deal with in the past: it more intelligently handles the final tick in a sequence of ticks, it tracks user energy usage to ensure that a 20 energy gain from a 2 charge Arcane Torrent is not misinterpreted as an energy tick, etc.
* Added an option to manually set the tick offset value (can easily reset it back to 0).
* Had druid functionality tested and confirmed happy.

0.3
* Add option for when to show the bar.
* Add more bar textures.
* Show only when in cat form for druids.
* Use a weighted average for the tick time to attempt to compensate for latency.

0.2
* Updated to no longer rely upon SupplyAndDemand for loading (no longer a LoadOnDemad addon) to avoid confusion.

0.1
* Initial version.

Optional Files (0)


Post A Reply Comment Options
Unread 12-10-06, 08:50 AM  
Strychnos
A Murloc Raider

Forum posts: 5
File comments: 2
Uploads: 0
When I download this and stick it in my Addons folder, I don't get any errors, but none of the slash commands are registered and I don't see the energy ticker anywhere.

Anybody else having similar problems?
Report comment to moderator  
Reply With Quote
Unread 12-10-06, 05:19 PM  
falornan
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Originally posted by Strychnos
When I download this and stick it in my Addons folder, I don't get any errors, but none of the slash commands are registered and I don't see the energy ticker anywhere.

Anybody else having similar problems?
I had the same problem... I had it loaded in the addons, but ace didn't load it in game. I had to use the ace commands to load in game.

If I remember correctly, the command was `/ace enable kenergy`

Hope that helps...
Report comment to moderator  
Reply With Quote
Unread 12-12-06, 08:49 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Originally posted by falornan
I had the same problem... I had it loaded in the addons, but ace didn't load it in game. I had to use the ace commands to load in game.

If I remember correctly, the command was `/ace enable kenergy`

Hope that helps...
This issue should be fixed in 0.2.
Report comment to moderator  
Reply With Quote
Unread 12-17-06, 06:13 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
The stuttering of the bar which people had reported in previous versions has been fixed in version 0.3. It should now be much more stable. There will be a small amount of stuttering in the initial fight for some users as the averaged tick time adjusts for your network latency, after which it will be more accurate and stable.
Last edited by kergoth : 12-17-06 at 06:13 PM.
Report comment to moderator  
Reply With Quote
Unread 12-24-06, 12:47 AM  
KamuiGT
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
I'm wondering if you could tell me what the main difference is between this and gonoffbar. Thanks.
Report comment to moderator  
Reply With Quote
Unread 01-01-07, 10:30 AM  
o_o
A Kobold Labourer

Forum posts: 0
File comments: 40
Uploads: 0
On my druid it stop working when shapeshifting. It display a "Warning!: Unexpected energy difference of..." and start ticking at a slow rate
Report comment to moderator  
Reply With Quote
Unread 01-01-07, 03:10 PM  
Retlaw
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
Option suggestion

The option to turn off the spamming of removing outliers and non-20 energy ticks would be really handy.
Report comment to moderator  
Reply With Quote
Unread 01-03-07, 11:50 AM  
mindtrix
A Murloc Raider

Forum posts: 7
File comments: 9
Uploads: 0
I agree with Ret. That is the one part about it that REALLY pisses me off. Especially in BG's when I'm trying to read instructions and warnings and all I see is Kenergy spam. Until you add the option to disable it i'm sticking with EnergyWatch2
Report comment to moderator  
Reply With Quote
Unread 01-03-07, 03:58 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Originally posted by mindtrix
I agree with Ret. That is the one part about it that REALLY pisses me off. Especially in BG's when I'm trying to read instructions and warnings and all I see is Kenergy spam. Until you add the option to disable it i'm sticking with EnergyWatch2
You're behind. The 0.5 release from yesterday no longer spams
Report comment to moderator  
Reply With Quote
Unread 01-13-07, 12:52 AM  
dlr554
A Kobold Labourer

Forum posts: 0
File comments: 55
Uploads: 0
kEnergy 0.6

Addon won't load. I'm getting this error on login.

Code:
[2007/01/12 22:49:41-756-x1]: kEnergy\addon.lua:155: AceLocale(kEnergy): Translation "Debug level" does not exist.
AceAddon-2.0-33505 (kEnergy):455: in function <...ce\AddOns\kEnergy\Libs\AceAddon-2.0\AceAddon-2.0.lua:432>
<in C code>: ?
AceEvent-2.0-33505 (kEnergy):320: in function `TriggerEvent'
AceEvent-2.0-33505 (kEnergy):962: in function <...ce\AddOns\kEnergy\Libs\AceEvent-2.0\AceEvent-2.0.lua:955>

  ---
Report comment to moderator  
Reply With Quote
Unread 01-13-07, 01:01 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Re: kEnergy 0.6

Originally posted by dlr554
Addon won't load. I'm getting this error on login.

Code:
[2007/01/12 22:49:41-756-x1]: kEnergy\addon.lua:155: AceLocale(kEnergy): Translation "Debug level" does not exist.
AceAddon-2.0-33505 (kEnergy):455: in function <...ce\AddOns\kEnergy\Libs\AceAddon-2.0\AceAddon-2.0.lua:432>
<in C code>: ?
AceEvent-2.0-33505 (kEnergy):320: in function `TriggerEvent'
AceEvent-2.0-33505 (kEnergy):962: in function <...ce\AddOns\kEnergy\Libs\AceEvent-2.0\AceEvent-2.0.lua:955>

  ---
Oops, my bad. Sorry about that, guys. Version 0.61 is pending approval. It has the missing localizations.
Report comment to moderator  
Reply With Quote
Unread 01-13-07, 03:15 PM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Combo points?

Any chance of adding combo point tracking to this?
Report comment to moderator  
Reply With Quote
Unread 01-15-07, 03:31 PM  
krattan
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
errormsg

Hi I'm using version -r25290 of your mod and am experiencing some errors.

First when I am changing into catform I get an error saying http://hexism.mine.nu/wow/druid/catform.jpg

And then when ever there is a tick for energy I get this error: http://hexism.mine.nu/wow/druid/tick.jpg

A full list of my addons can be found here:
http://hexism.mine.nu/wow/druid/addons.txt
Report comment to moderator  
Reply With Quote
Unread 01-21-07, 05:33 AM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Version 0.7

Version 0.7 is now released. As you can see in the changelog, quite a bit changed. This should fix the druid issues reported recently, as well as add optional display of energy, combo points, or both in the form of text on the bar. It also now has a german (deDE) translation.
Last edited by kergoth : 01-21-07 at 06:26 AM.
Report comment to moderator  
Reply With Quote
Unread 01-21-07, 12:29 PM  
Viperb0y
A Murloc Raider
 
Viperb0y's Avatar

Forum posts: 8
File comments: 10
Uploads: 0
Doesn't work

Hi,

your Addon doesn't work for me. If I set debug level to 3 everything is displayed in the log.. but the bar doesn't works.. it doesn't count. I changed visibility to all of the 3 methods but no one works.

P.S. I use a german client
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: