Download
(275 Kb)
Download
Updated: 12-07-12 02:31 PM
Pictures
File Info
Compatibility:
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:12-07-12 02:31 PM
Created:unknown
Downloads:28,444
Favorites:170
MD5:
CooldownButtons  Popular! (More than 5000 hits)
Version: 3.0.16
by: Netrox [More]
Features:
*Monitor Spell and Item Cooldowns as Buttons (see screenshots)

* Hide cooldowns longer than X seconds

* Supports Masque button skinning

* easy to use configuration UI (use /cdb or /cooldownbuttons to open)



Projekt page
3.0.16 - 07. Dec. 2012
- toc bump

3.0.15 - 11. Nov. 2012
- added check for spells with CD >= 1hr (like Mobile Banking) that they can set to hidden in options
- added options to hide Items on cooldown. they had to be on CD once in the session
- fixed grow from center option

3.0.14 - 24. Sept. 2012
- fix Pet/Vehicle bar cooldowns

3.0.13 - 23. Sept. 2012
- fixed a Bug where LibSink-2.0 does not get correct config until options where opened once
- bugfix when clicking on an itemgroup on cooldown
- [Warrior] Cooldownset for shouts
- [Druid] Cooldownset for Incarnation

3.0.12 - 18. Sept. 2012
- code cleanup and fix for spell cooldown sets
- [Warlock] merged Cooldown of Summon Doomguard and Summon Infearnal to one cooldown (more cooldownsets will follow)

3.0.11.1 - 15. Sept. 2012
- added option to hide cooldowns completely (currently only spells, items will follow)
- removed $icon from chat post (most targets do not support icons /cry)
- fix a bugs with chat post

3.0.10 - 14. Sept. 2012
- fixed issue with cooldown ready notifications if "Show Pulse"-Option is enabled
- implemented "Chat Post" functionality

3.0.9 - 13. Sept. 2012
- updated Cooldown Type to Bar assignment
- temporary disabled cooldown group settings

3.0.8 - 12. Sept. 2012 (uploaded 13. Sept. 2012)
- Updated Cooldown detection code

3.0.7 - 11. Sept. 2012
- bugfix

3.0.6 - 11. Sept. 2012
- bugfix

3.0.5.1 - 11. Sept. 2012
- config for alpha and scale labels where swapped (functionality added)
- config for show time as seconds with ms when cd < x seconds
- config for minimum cd length to show (so you can hide spells < x seconds from CDB)

3.0.4 - 08. Sept. 2012
- try to workaround random nil for cooldown info (CD start and/or duration) while sorting...

3.0.3 - 08. Sept. 2012
- Fixed Rogue Bug
- Added functionality to "Show Anchor" Button in Bar config
- Removed Healthstone from Itemsets
- Updated Itemset for Potions with new IDs

3.0.2 - 07. Sept. 2012
- Fixed library includes

3.0.1 - 07. Sept. 2012
- Fixed externals to allow Options to be opened

3.0.0 - 06. Sept. 2012
- Updated for MoP
Post A Reply Comment Options
Old 12-27-08, 05:04 AM  
Kvothe
A Kobold Labourer
 
Kvothe's Avatar

Forum posts: 0
File comments: 4
Uploads: 0
Yeah whell the option to hide cooldowns longer than X seconds is to prevent longrunning cooldowns (like pala bubble) to show the full 40? minutes (whatever). So you can hide cooldowns longer than e.g. 5 minutes and make the cooldown show up if it is under that threshold (so you see the last 5 minutes of bubble cd).

The minimum time a cooldown has to last to show up is hardcoded to 3 seconds (as far as i could see by briefly scanning the code) so either an option to make that configurable or set it to 10 seconds if the playing class is a DK would be nice.

In the meantime you could change the code if you want to do just that:

In the file
Code:
 CooldownButtons\Modules\Spell_Cooldowns.lua:60
Change
Code:
 if enable == 1 and start > 0 and duration >= 3 then
to
Code:
 if enable == 1 and start > 0 and duration > 10 then
Kvothe is offline Report comment to moderator  
Reply With Quote
Old 12-28-08, 12:15 PM  
dakota182
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
perfect
dakota182 is offline Report comment to moderator  
Reply With Quote
Old 01-03-09, 06:28 PM  
abzinthe
A Kobold Labourer

Forum posts: 0
File comments: 38
Uploads: 0
It would be lovely to have a feature to populate all available nodes (fitting in with the multi-row, spacing, max buttons options etc) so we don't need to blow a lot of CDs to test the appearance.
abzinthe is offline Report comment to moderator  
Reply With Quote
Old 01-10-09, 08:03 PM  
nukesistah
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
hunter trap CD's still not showing.. :(

imma sad panda
nukesistah is offline Report comment to moderator  
Reply With Quote
Old 01-17-09, 01:32 PM  
dakota182
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
Originally posted by Kvothe
Yeah whell the option to hide cooldowns longer than X seconds is to prevent longrunning cooldowns (like pala bubble) to show the full 40? minutes (whatever). So you can hide cooldowns longer than e.g. 5 minutes and make the cooldown show up if it is under that threshold (so you see the last 5 minutes of bubble cd).

The minimum time a cooldown has to last to show up is hardcoded to 3 seconds (as far as i could see by briefly scanning the code) so either an option to make that configurable or set it to 10 seconds if the playing class is a DK would be nice.

In the meantime you could change the code if you want to do just that:

In the file
Code:
 CooldownButtons\Modules\Spell_Cooldowns.lua:60
Change
Code:
 if enable == 1 and start > 0 and duration >= 3 then
to
Code:
 if enable == 1 and start > 0 and duration > 10 then
along these same lines, would it be possible to add a condition to the if statement to check the player's class?

ie,

Code:
 if PlayerClass == "Death Knight" then
      minimumTime = 10;
else
      minumumTime =3;

 if enable == 1 and start > 0 and duration >= minimumTime then
edit: I did some research and found blizzard's UnitClass function. I'm gonna throw a few lines into the code and see if it works.
Last edited by dakota182 : 01-17-09 at 01:53 PM.
dakota182 is offline Report comment to moderator  
Reply With Quote
Old 01-18-09, 07:05 AM  
Kvothe
A Kobold Labourer
 
Kvothe's Avatar

Forum posts: 0
File comments: 4
Uploads: 0
That would cerntainly be possible

At the beginning of Spell_Cooldowns.lua add the following line (where all the lines start with local just insert this one somewhere)

Code:
local _, playerclass = UnitClass("player")
And replace the duration check with

Code:
        -- Some dirty fixes for deathknight cooldowns
        local mintime = 3        
        if(playerclass == "DEATHKNIGHT") then            
            mintime = 10
            -- to show mindfreeze cd set mintime to 9 since mindfreeze has a cooldown of 10 seconds
            if (GetSpellName(spellIndex, BOOKTYPE_SPELL) == "Mind Freeze") then
                mintime = 9
            end
        end
        
        if enable == 1 and start > 0 and duration > mintime then
I haven't tested this but it should work perfectly.
Kvothe is offline Report comment to moderator  
Reply With Quote
Old 01-23-09, 04:55 AM  
sun
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 104
Uploads: 1
3.0.8

i tried this addon again with 3.0.8 hoping that the DK rune cooldown would be fixed but it's not...

on a side note the omnicc display cooldown is fixed (without the addon getting updated) AND MSBT cooldown works fine for DK, so i think someone should look at how MSBT did it and implement the same logic for this addon.
sun is offline Report comment to moderator  
Reply With Quote
Old 01-26-09, 11:28 PM  
shobu
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 83
Uploads: 1
This addon is great, but one thing that niggles me is that the cooldown actually ends one second after CooldownButtons reports "zero".

In other words, it goes like this:

Three... Two... One... Zero... Cooldown Ready.

When it should go:

Three... Two... One... Cooldown Ready.

It may sound finnicky, but this is the best cooldown addon I can find and it just feels odd waiting an extra second for every cooldown.
shobu is offline Report comment to moderator  
Reply With Quote
Old 01-28-09, 12:23 AM  
SilverKnight16
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Originally posted by Kvothe
That would cerntainly be possible

At the beginning of Spell_Cooldowns.lua add the following line (where all the lines start with local just insert this one somewhere)

Code:
local _, playerclass = UnitClass("player")
And replace the duration check with

Code:
        -- Some dirty fixes for deathknight cooldowns
        local mintime = 3        
        if(playerclass == "DEATHKNIGHT") then            
            mintime = 10
            -- to show mindfreeze cd set mintime to 9 since mindfreeze has a cooldown of 10 seconds
            if (GetSpellName(spellIndex, BOOKTYPE_SPELL) == "Mind Freeze") then
                mintime = 9
            end
        end
        
        if enable == 1 and start > 0 and duration > mintime then
I haven't tested this but it should work perfectly.
YES. That worked!
SilverKnight16 is offline Report comment to moderator  
Reply With Quote
Old 02-03-09, 01:22 PM  
Mingo
A Defias Bandit

Forum posts: 2
File comments: 5
Uploads: 0
First I'd like to thank you for this sweet piece of kit! I'm loving it, but would like to offer a couple of suggestions if I may.

1) What's the possibility of adding an option to "group" certain cooldows together and have them grow from a specific spot just like the primary group so that we don't have to manually position those cooldows that we don't want within the main window? My main is a hunter and I'd love to be able to have all my melee CD's etc grow from different positions.

2) Also, an options to implement having the buttons remain static in the same order that they appear? The constant switching dependant upon timers can sometimes be confusing, especially when this happens just as a CD finishes and it's button disappears.

Other than that, I echo the comments of others to enable showing/hiding of all saved buttons at once and the possibility of auto-populating all at once for config purposes.

No worries if any of this is just too difficult to implement, I admit to having little knowledge of what is and isn't possible.

Cheers.
Last edited by Mingo : 02-03-09 at 01:31 PM.
Mingo is offline Report comment to moderator  
Reply With Quote
Old 02-05-09, 01:21 AM  
Mingo
A Defias Bandit

Forum posts: 2
File comments: 5
Uploads: 0
I've just changed pets and I now have Charge and Pin abilities. Neither of these abilities are showing a cooldown button. I've reset settings, deleted any saved variables and re-installed but still no joy.
I can see both Cower and Intervene cooldowns which I couldn't before I reinstalled, but still no Charge or Pin.

I'm pretty sure I've seen Charge before on a previous pet some time back, but it's been a while since using a pet with that ability so I couldn't say for sure.

Any ideas?
Mingo is offline Report comment to moderator  
Reply With Quote
Old 03-02-09, 10:26 AM  
Taryble
A Molten Giant
 
Taryble's Avatar

Forum posts: 811
File comments: 37
Uploads: 0
Shobu, thing is, that's how the Blizzard timers work. Things don't run out after "1", they run out after "0". He's hooking the timers that Blizz already has built in and using the times they report. Watch buff/debuff timers carefully - you'll see this happening all the time (especially on those annoying stun/daze/knockdown/fear timers). WoW's had this behaviour going for a very long time. Most cooldown addons add 1sec to their timers so that it ends after the "1" instead of the "0".

Originally posted by shobu
This addon is great, but one thing that niggles me is that the cooldown actually ends one second after CooldownButtons reports "zero".

In other words, it goes like this:

Three... Two... One... Zero... Cooldown Ready.

When it should go:

Three... Two... One... Cooldown Ready.

It may sound finnicky, but this is the best cooldown addon I can find and it just feels odd waiting an extra second for every cooldown.
Taryble is offline Report comment to moderator  
Reply With Quote
Old 03-27-09, 10:13 AM  
Grobs
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
hi.

is there a way to change the icon border style without using BF?
I checked the lua code but does not find the line where i could change it.

can you give me a hint?

sorry for my bad english. i'm from EU =)

best regards

grobs
Grobs is offline Report comment to moderator  
Reply With Quote
Old 03-30-09, 04:56 AM  
daeger
A Murloc Raider

Forum posts: 4
File comments: 167
Uploads: 0
Originally posted by Taryble
Shobu, thing is, that's how the Blizzard timers work. Things don't run out after "1", they run out after "0". He's hooking the timers that Blizz already has built in and using the times they report. Watch buff/debuff timers carefully - you'll see this happening all the time (especially on those annoying stun/daze/knockdown/fear timers). WoW's had this behaviour going for a very long time. Most cooldown addons add 1sec to their timers so that it ends after the "1" instead of the "0".
Do you know how to do that with CooldownButtons?
daeger is offline Report comment to moderator  
Reply With Quote
Old 06-28-09, 07:48 PM  
JFDLT10
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Moving duration

Hello everyone. I know this is a ridiculous question, but here it goes anyway. I was able to configure the display of CD's and place them where I like, etc. However, there's this timed bar that actually counts down the time remaining before the ability can be used. I've poured through the options, and cannot for the life of me find the one that allows me to modify/move it around. It's the one only displayed once an ability goes on cooldown, and is like a count down meter. Any help would be greatly appreciated.

Thanks in advance.
Last edited by JFDLT10 : 06-28-09 at 07:49 PM.
JFDLT10 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.