Download
(59Kb)
Download
Updated: 05-29-09 07:16 AM
Pictures
File Info
Updated:05-29-09 07:16 AM
Created:10-27-08 06:48 AM
Downloads:56,931
Favorites:251
MD5:

CooldownWatch  Popular! (More than 5000 hits)

Version: 1.16a
by: Tifi [More]

Bad news, everyone: I quit WoW, my account expires on August 11th. So tick that "Load out of date AddOns" check box and hope for the best!
I just wanted to say thanks for using my AddOns and for all the support, feedback, bug reports, and kind words. Very much appreciated. Bye!


Description
Displays cooldowns of your spells, items or equipment slots. Every cooldown has an icon, the time left, an optional bar, and an optional, user-defined label ("trinket 1" for example).
I wrote this AddOn because I wanted to get rid of all those action buttons, taking up a big part of my screen. I use hotkeys for almost every spell I have, so I don't need buttons. After I hid all those buttons, I was missing two things: Range detection and cooldowns. This AddOn takes care of the cooldown part.

Features
- Speed: I have a slow computer, and I like optimizing code, so I designed the addon to be as fast as possible.
- Watches cooldowns of spells, items or equipment slots
- Fixed, user-defined order: I don't want my cooldowns sorted by time. If I need to know the cooldown of Taunt, I don't want to spend time looking for it, I need it to always be in the same place.
- Disable the bars: If you don't like bars (or want to make the addon run even faster), you can disable them. CooldownWatch will only display the icon and the time left.
- Auto-hide (optional): Hides the cooldown frame if the ability or item is off cooldown to save screen real estate.
- Customizable layout: You can change the bar texture, bar colors, the text color, and the font. Some of these features require SharedMediaLib/SharedMedia-1.0 (not included). Try the addon SharedMedia if you're interested.
You can also change the list layout, i.e. the order of the cooldowns in the list. The default is top to bottom, available options are bottom->top, left->right, right->left.
- Drag-and-drop interface: See below. Or just try it out.

Usage
Enter /cooldownwatch or /cw to toggle the config mode. A small anchor frame is visible if you're in config mode. CooldownWatch automatically activates the config mode if it runs for the first time on a toon. In config mode you can do the following:
Move the cooldown frames: Drag the anchor.
Add a cooldown: Drag and drop a spell or item to the anchor frame to add it at the end of the list.
Or drop it on another cooldown to insert it at that position, and use that cooldown's settings.
Note: If you drag an item from your bags, the item itself will be added as the cooldown. If you drag an item from your character frame, the equipment slot it came from will be watched. That way, you can watch for example the cooldowns of the trinkets you're currently wearing.
Remove a cooldown: Middle click the cooldown frame.
Reorder cooldowns: Drag the cooldown frame.
Access cooldown specific options: Right-click the cooldown frame.
Access global options: Right-click the anchor frame.

IMPORTANT: While you're in config mode, cooldowns won't get updated. You have to leave config mode in order to make cooldowns work.

Things you might be missing (ToDo list)
- Currently there's only one list of cooldowns. Maybe I will add multiple lists someday.

Features CooldownWatch doesn't have, and never will (NoDo list)
- Cooldowns of other players or mobs.
- Automatically add cooldowns.
- Automatic sorting.
- You can't change the format or graining of the time displayed. For example if the cooldown is 2h34m11s, CooldownWatch will display 3h (which means 3h or less) until it's less than 120m. At that point of time it will switch to minutes, and at less than 120s it will display seconds. It's unlikely that I'm going to change this.
- Localization of the config menus. I don't see a real need.

Bugs/Issues
- Drag and drop doesn't work for pet spells, not sure why they disabled this in WoW. Pet spells are not supported at the moment.
- If one spell triggers multiple cooldowns, the results may be unexpected, because CooldownWatch tries to avoid scanning all watched spell cooldowns. Let's say you're watching Shield Bash and Pummel: If you use Pummel, only the cooldown frame of Pummel will be updated. However, if you hide and show the interface (Alt-Z), or reload the UI, or exit config mode, CooldownWatch has to scan all watched cooldowns, and will detect that Shield Bash is on cooldown, too. There's no way for CooldownWatch to know that multiple spells share the same cooldown, unless I add all those combinations manually. Which I'm not going to do.

Notes
The main feature of CooldownWatch is speed. Cooldowns have to use OnUpdate code, which is executed in every frame, i.e. every time WoW redraws the screen.
Most timer addons update the text that displays the time left in every frame. The default interface also does this if you enable the display of buff/debuff duration. Let's say a cooldown has 15 minutes left, so for the next few minutes, the text will only change once per minute. Let's say you have a frame rate of 15fps, that's 900 frames per minute. That means 899 out of 900 times, updating the text is just wasting CPU, because the text won't change anyways. CooldownWatch, on the other hand, only updates the text when it's needed.
Another example: Let's say the cooldown bar has a width of 90 pixels. Again, other cooldown addons would update this bar every frame. For longer cooldowns, most of these updates won't actually change the bar, just waste CPU. It's 90 pixels, so the bar only needs 90 updates, which is exactly what CooldownWatch will do.
One more example: There's an option in CooldownWatch to disable the bar of a cooldown. Most addons would work like this: In every frame they would check if the cooldown has a bar, and update it if there is one. Checking for that bar is CPU overhead; the addon (and your frame rate) becomes a little slower, just because hiding the bar is optional. Most addons look up options in their database, which requires multiple table lookups. Now image you're a programmer. You would know beforehand if you want a bar or not. Since you're a programmer, you can write the code accordingly; you don't need to check if there's a bar or not, you just write the code to update the bar if there is one, or leave that code out, if there is no bar. CooldownWatch works exactly like this, it actually writes the code itself. That way, CooldownWatch can have optional features, without spending time on these checks.

As a small test, I compared CooldownWatch to the addons "Cooldown Timer Bars" and "Cooldown Bars 2.0" from curse. I configured them all to have bars of size 90x18. Then I triggered four cooldowns, and measured the CPU times for each addon with WoW's CPU profiling feature for 30s while all four cooldowns were still running.
CooldownBars 257.6ms
CooldownTimers2 99.2ms
CooldownWatch 15.4ms

1.16a
Bugfix: Item and equipment slot cooldowns cannot be unlearned anymore (e.g. Managems).
Bugfix: CooldownWatchConfig is not always loaded, only when entering config mode.
Bugfix: After learning a tracked cooldown talent, the frame is now initialized properly (auto-hide).

1.16
Added setting to adjust the spacing between bars.
Bugfix: The icon height equals the frame's height now.

1.15
Learning/unlearning talents will now show/hide the corresponding cooldown frames.
Bugfix: Unlearned spells are now initialized properly as collapsed.
TOC interface version bump to 3.1.

1.14b
New: Added option to toggle the Blizzard default icon border.

1.14a
Bugfix: If an ability comes off cooldown earlier (Readiness, Sword&Board, etc), the corresponding frame now resets properly.

1.14
New: The layout being mirrored (icons left, bars shrink from left to right)
is now optional, but still the default.

1.13
Bugfix: If the computer was running for more than 10 days, the addon would
stop working.

1.12
New slash command options:
/cw debug <level>: Sets the debug level, 3 is a good start.
/cw debug: Disables debugging.
/cw log: Shows an ugly frame to copy the debug output.
Ignore cooldowns that are triggered but not started (like Feign Death, Inner Focus, etc).

1.11
If the texture or font was not found (for example because the addon providing
it was deleted), revert do default.
Bugfix: If a cooldown started before the computer was booted, the remaining
time displayed was wrong. (Untested on Mac and Linux).
Bugfix: Faerie Fire (Feral) should work now.

1.10
Bugfix: Spells with a cooldown that doesn't start immediately should work
correctly now (like Inner Focus, but also potions in combat).

1.9
Fixed stuff for 3.0.
.toc version bump.
Added LibSharedMedia-3.0 as an optional dependency.
Removed Dongle.
Bugfix: If the addon was disabled, the anchor's position was reset.
Optional Files (0)


Post A Reply Comment Options
Unread 12-11-08, 11:20 PM  
Tifi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 94
Uploads: 4
Glad you like the addon. At the moment there's no option to mirror the layout. I'll think about adding it. I'm always a bit reluctant to add options I'm never going to use myself, but this one might be pretty straightforward.
Report comment to moderator  
Reply With Quote
Unread 12-11-08, 05:43 PM  
kreial
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
This is a great addon and I love it so far, exactly what I was looking for. I'm just wondering if there's any way to change the justification of the bars/icons. I'd love to have the icons on the left side, and the bars drain down that way. Where I want to put everything it looks odd having everything on the right side.

I want to add that I think it's awesome you've put so much work and thought into keeping the CPU usage down. A lot of authors don't realize how many people need to squeeze every drop they can from their processing power.
Report comment to moderator  
Reply With Quote
Unread 12-09-08, 11:51 AM  
StarStormCat
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Completely understood. A shame, but it cannot be helped.

Now I need some sort of advanced pet action bar addon.
Report comment to moderator  
Reply With Quote
Unread 12-07-08, 09:12 AM  
Tifi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 94
Uploads: 4
Originally posted by Ceromus 2nd update: Rebooting the computer fixed it.[/b]
May I ask how long your computer has been running before to the reboot?

Edit: I found a bug which would cause the addon to stop working if the computer was running for more than ~10 days. Rebooting the computer would fix it. I just posted a new version, I hope that bug is gone now. Thank you guys for reporting it.
Last edited by Tifi : 12-07-08 at 03:55 PM.
Report comment to moderator  
Reply With Quote
Unread 12-06-08, 06:13 PM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 196
Uploads: 0
Originally posted by Tifi
I remember you posting on curse. The SavedVar resetting should be fixed now. Unfortunately I don't know how to help you with your other problem. You didn't provide much information, just "it doesn't work". Since you're already familiar with the addon I assume you know that you have to exit config mode for the cooldowns to work? Could you try out the addon with a racial ability? I don't know which classes you play, but racials are easily reproduced, and all races have one ability with a cooldown. Please send me your config (SavedVar file) in a PM.
Well, since no errors are popping i can't give much more then "don't work"

I deleted all SV's and reinstalled the addon.

Type /cw, pick a spell with a cooldown and drag it to the "hole" (Prayer of Mending in my case) set the name to "Mending" and set it to "autohide frame" then type /cw again to exit setup and cast "mending" and no cooldown shows, no errors no nothing.

Added "Shadowmeld" and sending SV's.
Last edited by Kerecha : 12-06-08 at 06:18 PM.
Report comment to moderator  
Reply With Quote
Unread 12-06-08, 01:56 PM  
Ceromus
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 38
Uploads: 1
Same problem for me. My Cooldownwatch stopped working out of the blue. Also I have noticed my hitsmode is now giving me errors on occasion. I can't think of anything that could be triggering this. However I will post my list of mods if someone having the same issue can point out mods they are also using that may have some sort of conflict....scratch that I just tested cooldownwatch with no other mods running and it wasn't working either.

Update: Ok this is just about the strangest thing I have ever seen. I removed all the saved variables and redownloaded your mod with no other mods enabled. Its not working at all. I do /cw and I add cooldowns and its not seeing when I use them at all. The server I play on is Mal'Ganis stuff like OmniCC still functions.

2nd update: Rebooting the computer fixed it. This is very interesting. I was unable to duplicate this problem by repeating the things ive done on my comp.
Last edited by Ceromus : 12-06-08 at 03:18 PM.
Report comment to moderator  
Reply With Quote
Unread 12-05-08, 12:01 PM  
Tifi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 94
Uploads: 4
Originally posted by Kerecha
But this time is different, when i type /cw all cooldowns i have set up to track are showing in the list, but nothing happends when i trigger any of them.
I remember you posting on curse. The SavedVar resetting should be fixed now. Unfortunately I don't know how to help you with your other problem. You didn't provide much information, just "it doesn't work". Since you're already familiar with the addon I assume you know that you have to exit config mode for the cooldowns to work? Could you try out the addon with a racial ability? I don't know which classes you play, but racials are easily reproduced, and all races have one ability with a cooldown. Please send me your config (SavedVar file) in a PM.

And to the hunters out there: I didn't add pet cooldowns yet because drag&drop doesn't work for pet spells in WoW, I can't do anything about that. And not only would I have to track the cooldowns, but also the pet itself. Information on pet spells (icon/texture and cooldown) is only available if the pet exists (is not dismissed). Different pets have different abilities. I'll see what I can do about it, but don't hold your breath.
Last edited by Tifi : 12-05-08 at 09:18 PM.
Report comment to moderator  
Reply With Quote
Unread 12-03-08, 08:33 PM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 196
Uploads: 0
I have a very strange problem.

Every now and then CW just stops showing my cooldowns.

When that happened in the past i would type /cw and the config would show that all settings were just gone, empty and i had to set everything up again.
(that on its own is strange, why would the SV's suddenly go blank oout of the blue?)

But this time is different, when i type /cw all cooldowns i have set up to track are showing in the list, but nothing happends when i trigger any of them.


Edit: i deleted SV's and reinstalled but no cooldowns are displaying.
Last edited by Kerecha : 12-04-08 at 11:15 AM.
Report comment to moderator  
Reply With Quote
Unread 11-26-08, 11:37 PM  
Algebar
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Pet Cooldowns

Thanks for a great addon, Is it possible to add a method for tracking pet cooldowns as well? Hunters have a number of pet abilities that boost group DPS and it would be great to be able to track these cooldowns conveniently.
Report comment to moderator  
Reply With Quote
Unread 11-24-08, 04:07 AM  
Ais
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hello Tifi that's an amazing addon. Great Job.
Is it possible that you implement with the next version the multiple lists?

Ais
Report comment to moderator  
Reply With Quote
Unread 11-19-08, 08:23 AM  
StarStormCat
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I very much like this addon, although there is one request I would like to make:

As a hunter, I do like to keep track of my pet's cooldowns as well. Is it possible for that to be implemented?
Report comment to moderator  
Reply With Quote
Unread 11-14-08, 11:05 PM  
Tifi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 94
Uploads: 4
The new version is up. The new feature is debugging, in case something is not working.
/cw debug 3
Enable debugging, then reload the interface
/console reloadui
You'll notice some debug messages getting printed, especially when a tracked cooldown is triggered. Then use
/cw log
A frame will pop up containing all those debug messages that you can copy&paste now. Please don't post very long logs here in the forums, but send them to me a private message.
When you're done,
/cw debug
will disable debugging. Reload the UI again for this to take effect.

I should add that I probably won't spend much time programming in the next couple of days. I just hope the addon works now for everyone.
Last edited by Tifi : 11-14-08 at 11:08 PM.
Report comment to moderator  
Reply With Quote
Unread 11-14-08, 11:40 AM  
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member

Forum posts: 133
File comments: 75
Uploads: 0
Is it still doing that with AutoHide turned on?

- Auto-hide (optional): Hides the cooldown frame if the ability or item is off cooldown to save screen real estate.
Report comment to moderator  
Reply With Quote
Unread 11-13-08, 09:36 PM  
TrashBear
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Is there any way to make it so the cooldown bars+icon only appear when those skills are actually on cooldown? Right now all the skills that I track always have the bar+icon up.
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 09:32 AM  
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member

Forum posts: 133
File comments: 75
Uploads: 0
Originally posted by Tifi
No, not really. Registering for events can't be the problem, addons do that independently of each other. It's more likely that I made a mistake. I'll try to get a release ready for tomorrow where I'll include some debugging options.
BTW what's your locale?
en-us ... I'll hold off additional debugging til then. CooldownTimers is definitely a bit of overkill for what I'd like to track -- would much prefer to use yours .
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: