Download
(276Kb)
Download
Updated: 06-04-07 01:07 PM
Pictures
File Info
Updated:06-04-07 01:07 PM
Created:unknown
Downloads:10,985
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 03-15-07, 03:53 AM  
Tarmin
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi there,

first off: thanks for this great addon. It works so much better than my old one (and looks cooler ).

I do have a feature request, though: I think it would be nice if kEnergy had an option that would show the bar when stealthed and when in combat (and of course when my energy is less than the maximum). At the moment the bar will be hidden when I am in combat but my energy is full.

Why would I want the bar to be shown when the energy is at max and I'm not stealted? There are situations when I cannot restealth (because I'm still tagged as in-combat) but still have all the time in the world to regen my energy AND time my first attack.

For example: There are 2 mobs that I want to kill. Naturally, I will not engage them both at the same time, but sap one and start beating on the other guy. So, now after 20 seconds or so the first mob bites the dust (so about 25 seconds are left for the sap). However, I cannot restealth because I'm still in-combat (for whatever reason, probably these mobs were "linked" or something). What I do now is to wait for my energy is to regenerate to max and then start hitting the sapped mob. See my dilemma? I cannot time my first attack properly against the sapped enemy because the bar disappears.

Sorry, if there is already such an option in kEnergy but I couldn't find it. /kenergy shown did not show it.
Last edited by Tarmin : 03-15-07 at 03:55 AM.
Report comment to moderator  
Reply With Quote
Unread 03-14-07, 02:10 AM  
Noom
A Deviate Faerie Dragon

Forum posts: 12
File comments: 2
Uploads: 0
Border Option

love this addon. It's great for my Druid.

However I would like to see a border option added.
Like with AceDruidBar you can choose between None, Default or Textured.
All my other frames got a Default black border exept this one, it would be great if I could get it on this one aswell

Hope it can be added
Report comment to moderator  
Reply With Quote
Unread 03-06-07, 02:11 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Re: Doenst work

Originally posted by Shem
Hi there i just found this AddOn and installed it. But when i log in there is no Bar. I tried all Commands even to resize the bar so huge that it is impossible to dont see it but nothing. Help i need a tick addon i searched so long for a good one .(
I haven't heard about any problems in version 0.81.. Are you certain you're on the current version, and are you seeing any errors in game? If so, please get those errors to me. Thanks for the report.
Report comment to moderator  
Reply With Quote
Unread 01-27-07, 01:27 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Re: Doesn't load?

Originally posted by DaiKami
I updated from 0.7 to 0.8, and kEnergy didn't work anymore...didn't show up, and /ke commands resulted in the stock 'type 'help for...' . Reverted back to 0.7 and it loads fine.
Yeah, sorry about that folks. I accidentally got LoadOnDemand enabled in that release. I use LoD in my addon set, but not in the releases, so I must've screwed it up copying files back and forth. 0.81 fixes it.
Report comment to moderator  
Reply With Quote
Unread 01-26-07, 10:53 PM  
DaiKami
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Doesn't load?

I updated from 0.7 to 0.8, and kEnergy didn't work anymore...didn't show up, and /ke commands resulted in the stock 'type 'help for...' . Reverted back to 0.7 and it loads fine.
Report comment to moderator  
Reply With Quote
Unread 01-26-07, 03:23 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Re: Re: Re: Doesn't work

Originally posted by kergoth
For others that may be keeping tabs on this issue, we worked it out on IRC. It turns out that the issues were with the kEnergy standby feature -- the bartext wasn't properly hidden on addon disable, and one of the pieces of state that the tick retains wasn't being properly reset on re-enabling it. The bug is fixed in wowace svn, and a 0.71 release with the fixes is imminent. Thanks much to viperboy for the report and cooperation in isolating the problem!
This is fixed in version 0.8.
Report comment to moderator  
Reply With Quote
Unread 01-21-07, 02:05 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Re: Re: Doesn't work

Originally posted by kergoth
Hmm, okay. It's certainly possible that the issue is related to the German client, though I don't see how offhand. The user contributed german localization was primarily for the strings used in the addon options, as opposed to actual functionality. If you could, I'd like to see an excerpt from that energy log you mentioned. Simply logout or reloadui after enabling debug mode and fighting, and send me your kEnergy.lua from your WTF/Account/[accountname]/SavedVariables/ directory. Also, if you're willing, we could discuss this either on irc (freenode, #wowace) or aim or google talk to speed up the debugging process. If you'd like to do that, just send me a private message on here.

Thanks much for the bug report!
For others that may be keeping tabs on this issue, we worked it out on IRC. It turns out that the issues were with the kEnergy standby feature -- the bartext wasn't properly hidden on addon disable, and one of the pieces of state that the tick retains wasn't being properly reset on re-enabling it. The bug is fixed in wowace svn, and a 0.71 release with the fixes is imminent. Thanks much to viperboy for the report and cooperation in isolating the problem!
Report comment to moderator  
Reply With Quote
Unread 01-21-07, 12:39 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Re: Doesn't work

Originally posted by Viperb0y
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
Hmm, okay. It's certainly possible that the issue is related to the German client, though I don't see how offhand. The user contributed german localization was primarily for the strings used in the addon options, as opposed to actual functionality. If you could, I'd like to see an excerpt from that energy log you mentioned. Simply logout or reloadui after enabling debug mode and fighting, and send me your kEnergy.lua from your WTF/Account/[accountname]/SavedVariables/ directory. Also, if you're willing, we could discuss this either on irc (freenode, #wowace) or aim or google talk to speed up the debugging process. If you'd like to do that, just send me a private message on here.

Thanks much for the bug report!
Last edited by kergoth : 01-21-07 at 12:40 PM.
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
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-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-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-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, 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-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
Post A Reply



Category Jump: