Download
(257Kb)
Download
Updated: 10-28-16 09:39 AM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.5)
Legion (7.0.3)
Updated:10-28-16 09:39 AM
Created:unknown
Downloads:36,007
Favorites:177
MD5:

CooldownButtons  Popular! (More than 5000 hits)

Version: 3.4.3
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.4.3 - 28. Okt. 2016
- toc bump

3.4.2 - 23. Okt. 2016
- Detect spells with recharge as spells with cooldown

3.4.1 - 08. Aug. 2016
- Fix display of spells that get a cooldown after learning a talent. e.g "Mind Control" after learning "Dominate Mind"

3.4.0 - 31. Jul. 2016
- update item group for non-health potion (add legion potions)
- update item group for health potion (add legion potions)
- remove cooldown set for shaman shocks
- remove cooldown set for hunter traps

3.3.1 - 30. Jul. 2016
- Bump Toc for Options Addon/Module...

3.3.0 - 29. Jul. 2016
- Bump Toc for Legion
- Fix a bug with Chat Post notifications
-> If you find issues with CDB in Legion feel free to open a ticket: http://www.wowace.com/addons/cooldownbuttons/tickets/
Post A Reply Comment Options
Unread 12-27-08, 06: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
Report comment to moderator  
Reply With Quote
Unread 12-28-08, 01:15 PM  
dakota182
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
perfect
Report comment to moderator  
Reply With Quote
Unread 01-03-09, 07: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.
Report comment to moderator  
Reply With Quote
Unread 01-10-09, 09:03 PM  
nukesistah
A Kobold Labourer

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

imma sad panda
Report comment to moderator  
Reply With Quote
Unread 01-17-09, 02: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 02:53 PM.
Report comment to moderator  
Reply With Quote
Unread 01-18-09, 08: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.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 05: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.
Report comment to moderator  
Reply With Quote
Unread 01-27-09, 12:28 AM  
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.
Report comment to moderator  
Reply With Quote
Unread 01-28-09, 01:23 AM  
SilverKnight16
A Kobold Labourer

Forum posts: 0
File comments: 11
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!
Report comment to moderator  
Reply With Quote
Unread 02-03-09, 02: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 02:31 PM.
Report comment to moderator  
Reply With Quote
Unread 02-05-09, 02: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?
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 11:26 AM  
Taryble
A Molten Giant
 
Taryble's Avatar

Forum posts: 811
File comments: 40
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.
Report comment to moderator  
Reply With Quote
Unread 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
Report comment to moderator  
Reply With Quote
Unread 03-30-09, 04:56 AM  
daeger
A Murloc Raider

Forum posts: 4
File comments: 141
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?
Report comment to moderator  
Reply With Quote
Unread 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.
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.