Simple energy ticker as a timer bar. Written as a replacement for my old addon, kEnergy. Suitable for timing your attacks in combat or for your openers. Works for both druids and rogues.
I'd recommend installing SharedMedia for a good selection of bar textures and fonts, as I only include one texture other than the built in blizzard ones.
Usage:
Configure via the Blizzard interface options menu, or open it via /ticktock.
Options:
When the bar is shown
Size
Direction
Vertical or Horizontal Orientation
Fill or Empty
Label Text (Both, Energy, Combo Points, None)
Show/Hide Timer Text
Font Face and Font Size
Bar color, texture, background color, and border style
Spark texture, color, and width
Todo:
Five second rule support
Border color, possibly
Change Log - TickTock
8:
Add support for filling rather than emptying the bar.
Allow making the bar vertical rather than horizontal.
Update LibBars to pick up the updateDelay fix (doesn't directly affect the ticktock bar though).
7:
Fix self error in options.lua when changing the label text.
Change the anchor color to be more visible, and the anchor text to say "TickTock anchor" instead of just TickTock, to avoid confusion.
Do a CheckShown in SetLocked, so the bar is shown right away upon locking, if it should be, rather than waiting for the next tick.
Do an UpdateLabelText in SetLocked, to ensure that the label text is correctly shown when locked.
Fix a flicker/jitter problem introduced by the pending check I added in the druid changes.
Do a checkshown and update label text in SetLocked, so the bar is shown right away upon locking, if it should be, rather than waiting for the next tick.
Update LibBars.
Tick code cleanup.
6:
Apply Malthus's fix for the canceltimer error.
5:
A number of druid fixups.
ShowBar: fade in from self.bar:GetAlpha() to 1, not from 0 to 1.
4:
Implement the teeny slash command without AceConsole, since it's overkill.
Add bar label text option with choices None, Both, Energy, and Combo Points.
Do a 0.1 second fadein when :ShowBar() shows the bar, to be visually consistent with the bar completion and :HideBar() 0.1 second fadeout.
3:
Update LibBars to make the bar animations smoother.
2:
Add 'spark' options, background color option, border option.
Bump the anchor font size from 11 to 12.
Bump the framestrata of the bar and the anchor.
Include a statusbar texture other than blizzard for the default.
Update to the latest LibBars for the SetTexCoord fix.
Fix ShowBar/HideBar wrt locked state.
Fix the bar stutter, it wasn't properly tracking energy expendatures until a reloadui.
1:
Initial release.
Optional Files - TickTock
Sorry, there are currently no optional files available.
Originally posted by lodewijk told you i might have overlooked something. thanks!
Should be a bit more obvious in the latest version
Up next on the todo: release the version that has an option to fill/empty the bar, and the option to make vertical instead of horizontal timer bars, and then implement five second rule support
Originally posted by Malthus
Edit: I temporarily corrected it by setting 'timer' to nil after every CancelTimer(), seems to be working well... [/b]
Applied the fix, will release v6 with it shortly. Not sure why I never got that error on the druid testing I did.. but then, I can hardly ever reproduce bugs people report for some reason :|
I am getting this error when switching the second and all subsequent times to Cat form on my druid:
Code:
AceTimer-3.0: CancelTimer(handle[, silent]): 'table: 125D2448' - no such timer registered
Count: 1
Call Stack:
Interface\AddOns\Ace3\AceTimer-3.0\AceTimer-3.0.lua:281: in function `CancelTimer'
Interface\AddOns\TickTock\tick.lua:234: in function `?'
...edia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:146: in function <...edia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:146>
[string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
[C]: ?
[string "safecall Dispatcher[2]"]:13: in function `?'
...edia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: in function `Fire'
Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:70: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:69>
Using version 5 of TickTock.
Edit: I temporarily corrected it by setting 'timer' to nil after every CancelTimer(), seems to be working well...
Originally posted by kergoth It's been pointed out that TickTock's bar animation is less smooth than kEnergy's was. Only people running >40fps will have noticed it. I'll have a release with an updated libbars, to fix it, out shortly.
It's been pointed out that TickTock's bar animation is less smooth than kEnergy's was. Only people running >40fps will have noticed it. I'll have a release with an updated libbars, to fix it, out shortly.
try basic combo points for the combo points (wowace)
i still searching for a combo pointbar / slice n dice watcher
cutup does a good job. but it don't get any updates and have alot of features i don't use.. a libbars version of that would be great!
Originally posted by SaberHawke I haven't found any bugs yet, but I do have a feature request. Could you add the combo point and energy displays like kenergy had?