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,897
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 04-19-09, 05:23 AM  
the_mort
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Dual Spec

I tried your addon again today, the biggest problem i have is that i need to track different cooldowns in frost than in unholy spec (Unbreakable Armor - Summon Gargoyle). If i add both of them to the bar i need to ReloadUI everytime i switch specs and have some ugly holes in my bar.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 04-19-09, 05:16 AM  
Tifi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 94
Uploads: 4
Just tick the "Enable out-dated addon" thingy in the addon menu.
Report comment to moderator  
Reply With Quote
Unread 04-18-09, 03:48 PM  
gambooj
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Out of Date

Hey, just got the latest version of this great addon, but after installing and loading WoW, it states it's out of date, I also tried getting the config up but no luck there either, on this website it currently states it should work for 3.1
Last edited by gambooj : 04-18-09 at 03:49 PM.
Report comment to moderator  
Reply With Quote
Unread 04-09-09, 05:43 PM  
jalthi
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Items not working

I went to test it a little more and it seems to work ok now. I put up the cooldowns to the actual items the way you said instead of from the character dummy. It created the same overlapping issues the first time i used them but then I left for a few minutes and came back to WoW and tried using the abilities again, now it works like it should. After a couple days testing it, I cant seem to get it to overlap again.

I guess if this problem occurs, track the item cooldowns themselves then let them expire a few times and wait and it should clear up.


Originally posted by Tifi
Sounds to me like the On-Use boots enchant is the problem, is that correct? Could you try to find a minimal config where the problem still occurs? Does it happen if you only watch the boots and a Totem?

If you find a way to reproduce it, please reload the UI (WoW writes the config to the harddrive), then send me the contents of the file
<WoW folder>\WTF\Account\<account>\<server>\<char>\SavedVariables\CooldownWatch.lua
in a PM. You can open that file in any text editor, like wordpad for example.
Screenshots would also be great, you can upload them to http://www.hdimage.org/ for example.

To be honest I don't really know how On-Use enchants are supposed to work. There are the boots from Karazhan for example that already have an On-Use effect (integrated Hearth Stone). I have no idea how WoW handles that.

What you could also try is watching the boots themselves instead of the currently equipped boots. To do that you remove the boots from CW, unequip them, then drag the boots from your backpack onto CW (not from your character window).
Last edited by jalthi : 04-10-09 at 08:11 PM.
Report comment to moderator  
Reply With Quote
Unread 04-08-09, 04:08 AM  
Tifi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 94
Uploads: 4
Re: Items not working

Originally posted by jalthi
Please fix this if possible and let me know if I can supply more info!
Sounds to me like the On-Use boots enchant is the problem, is that correct? Could you try to find a minimal config where the problem still occurs? Does it happen if you only watch the boots and a Totem?

If you find a way to reproduce it, please reload the UI (WoW writes the config to the harddrive), then send me the contents of the file
<WoW folder>\WTF\Account\<account>\<server>\<char>\SavedVariables\CooldownWatch.lua
in a PM. You can open that file in any text editor, like wordpad for example.
Screenshots would also be great, you can upload them to http://www.hdimage.org/ for example.

To be honest I don't really know how On-Use enchants are supposed to work. There are the boots from Karazhan for example that already have an On-Use effect (integrated Hearth Stone). I have no idea how WoW handles that.

What you could also try is watching the boots themselves instead of the currently equipped boots. To do that you remove the boots from CW, unequip them, then drag the boots from your backpack onto CW (not from your character window).
Report comment to moderator  
Reply With Quote
Unread 04-06-09, 06:55 AM  
jalthi
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Items not working

I love CW and have used it for the past few months with no problems. I just picked up engineering and encountered an issue. I've had my Medallion of the Alliance trinket on CW since I began using the mod with no problems, however when I place my Gnomish Lightning Generator, boots enchanted with the engi nitro boosts, and gloves with hyperspeed accelerators onto CW, it creates errors. This only occurs when the glove, boot, and 2nd trinket cooldowns begin, though they overlap unrelated spells as described below.

Specifically, the cooldown bars appear but they are overlapping other cooldown bars that should not have even been triggered. One interesting note is that if I try to go into config mode and delete those overlapped bars I can right-click on a bar and it's title is one thing, then when I to go specify a name, it has the name of the overlapped bar in the box where you type the name in. (e.g. The boot nitro boost cooldown begins but is overlapping my earthbind totem cooldown, which shouldn't be activated at all. Right-clicking in config mode yields a config menu with 'Boots' as the title, but if I click the box where you input a name, 'Earthbind Totem' is already typed in.)

I've tried renaming etc, but something is clearly wrong because once the overlap error occurs I can't delete all of the bars and it persists until I reload the ui.

Please fix this if possible and let me know if I can supply more info!
Last edited by jalthi : 04-06-09 at 06:59 AM.
Report comment to moderator  
Reply With Quote
Unread 04-06-09, 04:00 AM  
the_mort
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Is it possible to add an option to move the timers into the icon? I really like the addon but would like to use it in a horizontal setup without bars, a timer on the left side costs too much screen space.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 03-25-09, 02:46 AM  
kai75
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
random resets

Thanks for this mod, I really like this for it's efficiency and flexibility in it's design, however it randomly (between every 1 to 5 days) resets to blank as if I had never set it up, aside from the location.

I did see some posts ahead of mine where you resolved this problem was fixed, but apparently not in my case. Any troubleshooting tips? I am using Vista, and I do keep my computer on for days at a time, but not 10 like the earlier bug you resolved.

Cheers
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 08:24 AM  
mattcoops
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by Tifi
mattcoops, this feature is called "Auto-hide frame", you can find it in the bar's config menu. You can even see it in this getting-started picture on the main page.
I'm wondering though. CooldownWatch should automatically upgrade its SavedVar (the settings database) when you upgrade to a newer version. When you redid your UI, did you delete the WTF folder? If not, could you please find out for me what version you were using? It's in the .toc file. Thanks.
I did delete my WTF folder in the process so don't worry about that and thanks for pointing me in the right direction with regards to my issue, had a feeling it would be something I should have known by myself but oh well. keep up the great work Tifi this is a superb addon

edit: Just to add something I was thinking about the other day. I've seen a similar mod (I assume its not the same one, unless again I'm missing something obvious) that colours the bars through green > yellow > red as the cooldown ticks away. Not that the regular bar isn't fine as is... just wondered if this is doable for a future update, if there is any support for such a feature from anyone but me. just gives another more immediately visible reference for how close a CD actually is. Just a thought on an otherwise perfect addon. cheers
Last edited by mattcoops : 03-16-09 at 08:42 AM.
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 06:58 AM  
Tifi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 94
Uploads: 4
Reloading the UI after learning/unlearning a spell should fix it.
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 03:22 AM  
menisult
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi there, nice addon.
I made a bar for penance and that was fine, then I went shadow spec and now the penance bar has gone and when I try to make a new one it says "penance already exists".
It's easily fixed by deleting a few lines in my saved variables, but it's still annoying.

Cheers.
Report comment to moderator  
Reply With Quote
Unread 03-15-09, 12:46 AM  
HeSaveDave
A Defias Bandit

Forum posts: 3
File comments: 13
Uploads: 0
nevermiond
Last edited by HeSaveDave : 03-15-09 at 12:47 AM.
Report comment to moderator  
Reply With Quote
Unread 03-14-09, 04:02 AM  
Tifi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 94
Uploads: 4
mattcoops, this feature is called "Auto-hide frame", you can find it in the bar's config menu. You can even see it in this getting-started picture on the main page.
I'm wondering though. CooldownWatch should automatically upgrade its SavedVar (the settings database) when you upgrade to a newer version. When you redid your UI, did you delete the WTF folder? If not, could you please find out for me what version you were using? It's in the .toc file. Thanks.
Report comment to moderator  
Reply With Quote
Unread 03-12-09, 08:00 PM  
Hat
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
Awesome addon!

I personally love how the bars stay up even when they're off cooldown - reminds me to blow stuff again. Couple of feature requests:

Linked cooldowns don't work. For example, if I use my Cat Feral Charge, the cooldown on my Bear Feral Charge is triggered, but both bars don't start counting down. The two have different cooldowns, so just showing a collective cooldown for both wouldn't work. Similarly with Frost/Fire wards for mages - if you use one, the other one's bar doesn't start going down. You can't just display, say, Frost Ward's bar because it won't start counting down when you use Fire Ward. Something needs to be done about that.

Second, it'd be nice if you could set the number of columns to show cooldowns on, or perhaps set a max length before the cooldowns go onto another column. I'm currently tracking 16 cooldowns with this addon and there're a couple more I'd like to add, too - having them in two columns would be much prettier than one.
Report comment to moderator  
Reply With Quote
Unread 03-09-09, 09:27 PM  
mattcoops
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Question Quick question

First off... thank you for a fantastic addon. Not sure what I'd do without CW any more :P

Now to my question, and this may be something simple in the options that I'm over looking, but I have searched pretty hard so I'm either dumb, or it doesn't exist. See until recently I've been using an old version of CW from a friends interface pack and it's worked great. Recently I've rebooted by UI and downloaded the latest versions of everything. CW still works fine, the only difference (which bugs me) is that now all my various CD bars for my abilities are on my screen permanently, even when they're not on CD. when I do use them the timer and bar starts ticking down as it should do, but the bar + icon remain even once the CD is up.

Is there any way to hide the bars while an ability is not on CD? this is how it always used to be (for me anyway). Not sure if this was an intended change to the mod, or if I'm doing something wrong. anyway its just aesthetics really, but also a bit of space saving :P

thanks in advance for any suggestions and thanks again for the continued work on this addon! much appreciated
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: