Download
(107Kb)
Download
Updated: 05-15-08 04:16 PM
Pictures
File Info
Updated:05-15-08 04:16 PM
Created:unknown
Downloads:3,093
Favorites:20
MD5:

TickTock

Version: 8
by: kergoth [More]

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

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 (0)


Post A Reply Comment Options
Unread 08-19-08, 06:08 AM  
hid
A Kobold Labourer

Forum posts: 1
File comments: 40
Uploads: 0
Feature request

The only thing that prevents me from switching from Tick to this addon is that I haven't found a way to align the bar text to the center.

Please add the ability to justify text alignment to the left/center/right.
Last edited by hid : 08-19-08 at 06:08 AM.
Report comment to moderator  
Reply With Quote
Unread 07-25-08, 07:18 AM  
luxus
A Defias Bandit

Forum posts: 3
File comments: 41
Uploads: 0
it is posible to add energy letter coloring?
like in this addon?
http://wowinterface.com/downloads/info9690-mRogue.html
Report comment to moderator  
Reply With Quote
Unread 07-23-08, 04:45 PM  
godzmack
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Couldn't live without this addon.

Would be really cool if you could add an option to make the timer count down instead of up.
Report comment to moderator  
Reply With Quote
Unread 06-04-08, 06:44 PM  
Alarisha
A Murloc Raider
 
Alarisha's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 304
Uploads: 1
Omm nomnomnomnom. Nummy mod.

<3
Report comment to moderator  
Reply With Quote
Unread 05-14-08, 04:59 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
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
Report comment to moderator  
Reply With Quote
Unread 05-14-08, 01:21 PM  
lodewijk
A Deviate Faerie Dragon

Forum posts: 13
File comments: 120
Uploads: 0
told you i might have overlooked something. thanks!
Report comment to moderator  
Reply With Quote
Unread 05-12-08, 02:31 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Originally posted by lodewijk
maybe i overlooked something, but is there a way to hide the "TickTock" text on the timer?
There is no TickTock text on the bar. Perhaps you mean the anchor, which you use to drag around the bar? Lock the bar to hide that.
Report comment to moderator  
Reply With Quote
Unread 05-12-08, 01:26 PM  
lodewijk
A Deviate Faerie Dragon

Forum posts: 13
File comments: 120
Uploads: 0
maybe i overlooked something, but is there a way to hide the "TickTock" text on the timer?
Report comment to moderator  
Reply With Quote
Unread 05-11-08, 11:27 AM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
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 :|
Report comment to moderator  
Reply With Quote
Unread 05-11-08, 03:17 AM  
Malthus
A Murloc Raider
 
Malthus's Avatar

Forum posts: 8
File comments: 47
Uploads: 0
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...
Last edited by Malthus : 05-11-08 at 04:21 AM.
Report comment to moderator  
Reply With Quote
Unread 05-06-08, 07:12 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
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.
v3's noticably smoother.
Report comment to moderator  
Reply With Quote
Unread 05-06-08, 03:32 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
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.
Report comment to moderator  
Reply With Quote
Unread 05-02-08, 12:35 PM  
luxus
A Defias Bandit

Forum posts: 3
File comments: 41
Uploads: 0
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!
Report comment to moderator  
Reply With Quote
Unread 04-29-08, 06:11 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
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?
That's next on the todo Should be easy enough.
Report comment to moderator  
Reply With Quote
Unread 04-29-08, 05:20 PM  
SaberHawke
A Fallenroot Satyr
 
SaberHawke's Avatar

Forum posts: 23
File comments: 93
Uploads: 0
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?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: