Download
(275 Kb)
Download
Updated: 08-15-14 03:31 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:08-15-14 03:31 AM
Created:unknown
Downloads:28,748
Favorites:174
MD5:
5.4
CooldownButtons  Updated this week!  Popular! (More than 5000 hits)
Version: 3.1.1
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.1.1 - 15. Aug. 2014
- Update cooldown sets

3.1.0 - 12. Aug. 2014
- correctly update the cooldown bars after changing some options
- allow "grow from center" if multirow is enabled
- fix spacing if buttons are sorted vertically
- always show rowspacing option
Archived Files (2)
File Name
Version
Size
Author
Date
3.1.0
282kB
Netrox
08-12-14 10:08 AM
3.0.16
275kB
Netrox
12-07-12 03:31 PM


Post A Reply Comment Options
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.
sun is offline 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.
Kvothe is offline 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.
dakota182 is offline 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
nukesistah is offline 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.
abzinthe is offline 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
dakota182 is offline Report comment to moderator  
Reply With Quote
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
Kvothe is offline Report comment to moderator  
Reply With Quote
Unread 12-26-08, 11:35 AM  
dakota182
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
Originally posted by Kvothe


EDIT: Eventually it would be nice to add an option for a minimum cooldown treshold (or set it to >10 secs for DK).
Well, on the features section for this addon, it states:

* Hide cooldowns longer than X seconds
If you figure out how to do it, let me know. I'm gonna go play around with the settings, myself.
dakota182 is offline Report comment to moderator  
Reply With Quote
Unread 12-26-08, 06:19 AM  
Kvothe
A Kobold Labourer
 
Kvothe's Avatar

Forum posts: 0
File comments: 4
Uploads: 0
Well the fix certainly did remove skills which have no dedicated cooldown.
The problem is that the API does not return the cooldown of a skill but the cooldown + the rune cd (which hopefully is subject to change as there is a bug report on the official forums).

It may be possible to write a workaround for this but not reliably since there is another bug where the rune cd does not always return correct values.
Maybe Netrox has an idea for a workaround (which would be awesome ) but I think that it's not worth the effort and hopefully fixed by blizzard in the next patch.

Until then I'm using the previous version where I can turn of mostly unwanted cds.

EDIT: Eventually it would be nice to add an option for a minimum cooldown treshold (or set it to >10 secs for DK).
Last edited by Kvothe : 12-26-08 at 06:27 AM.
Kvothe is offline Report comment to moderator  
Reply With Quote
Unread 12-25-08, 10:06 PM  
dakota182
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
The fix did nothing. Any comments?
dakota182 is offline Report comment to moderator  
Reply With Quote
Unread 12-20-08, 12:37 PM  
dakota182
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
Originally posted by Netrox
done
installing now! can't wait... will edit with results.

edit: looked cleaner for a bit... with some questionable cooldown alerts, then i got this:
Code:
Date: 2008-12-20 11:46:42
ID: 4
Error occured in: Global
Count: 1
Message: ...\AddOns\CooldownButtons\Modules\Cooldown_Manager.lua line 150:
   ?(): Invalid spell slot
Debug:
   (tail call): ?
   (tail call): ?
   [C]: ?()
   ...\AddOns\CooldownButtons\Modules\Cooldown_Manager.lua:150: CheckExpiring()
   ...\AddOns\CooldownButtons\Modules\Cooldown_Manager.lua:75: Add()
   ...e\AddOns\CooldownButtons\Modules\Spell_Cooldowns.lua:82: ?()
   ...oft\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146:
      ...oft\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146
   [string "safecall Dispatcher[1]"]:4:
      [string "safecall Dispatcher[1]"]:4
   [C]: ?
   [string "safecall Dispatcher[1]"]:13: ?()
   ...oft\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: Fire()
   ...ace\AddOns\Bagnon\libs\AceEvent-3.0\AceEvent-3.0.lua:73:
      ...ace\AddOns\Bagnon\libs\AceEvent-3.0\AceEvent-3.0.lua:72
AddOns:
  Swatter, v3.1.9 (<%codename%>)
  ACP, v3.0.0
  aftooltip, v
  Aloft, v2.6.4
  AtlasLoot, v5.02.03
  AtlasLootFu, v1.2
  AucAdvanced, v5.1.3715 (SnaggleTooth)
  AucFilterBasic, v5.1.3715 (SnaggleTooth)
  AucFilterOutlier, v5.1.3715.2531
  AucMatchUndercut, v5.1.3715.2531
  AucScanData, v5.1.3715 (SnaggleTooth)
  AucStatClassic, v5.1.3715 (SnaggleTooth)
  AucStatHistogram, v5.1.3715 (SnaggleTooth)
  AucStatiLevel, v5.1.3715 (SnaggleTooth)
  AucStatPurchased, v5.1.3715 (SnaggleTooth)
  AucStatSales, v5.1.3715.2842
  AucStatSimple, v5.1.3715 (SnaggleTooth)
  AucStatStdDev, v5.1.3715 (SnaggleTooth)
  AucStatWOWEcon, v5.1.3715.2530
  AucUtilAHWindowControl, v5.1.3715.3311
  AucUtilAppraiser, v5.1.3715.2530
  AucUtilAskPrice, v5.1.3715.3175
  AucUtilAutoMagic, v5.1.3715.3142
  AucUtilCompactUI, v5.1.3715.2530
  AucUtilEasyBuyout, v5.1.3715.3583
  AucUtilItemSuggest, v5.1.3715.3108
  AucUtilPriceLevel, v5.1.3715.2545
  AucUtilScanButton, v5.1.3715.2530
  AucUtilScanFinish, v5.1.3715.2530
  AucUtilScanProgress, v5.1.3715.2530
  AucUtilSearchUI, v5.1.3715.3483
  AucUtilSimpleAuction, v5.1.3715.3708
  AucUtilVendMarkup, v5.1.3715.2530
  AutoProfitX, v2.03
  BabelFish, v2.6 (WoW 3.0)
  Babylonian, v5.1.DEV.130
  Bagnon, v1.6.9
  BagnonForever, v1.1.1
  BagnonTooltips, v
  Bartender4, v4.2.1
  BeanCounter, v5.1.3715 (SnaggleTooth)
  Bejeweled, v1.03
  BrokerAloft, v1.0.0
  Cartographer, v2.0
  CartographerBattlegrounds, v2.0
  CartographerCoordinates, v2.0
  CartographerFoglight, v2.0
  CartographerGroupColors, v2.0
  CartographerGuildPositions, v2.0
  CartographerInstanceLoot, v2.0
  CartographerInstanceMaps, v2.0
  CartographerInstanceNotes, v2.0
  CartographerLookNFeel, v2.0
  CartographerNotes, v2.0
  CartographerProfessions, v2.0
  CartographerWaypoints, v2.0
  CartographerZoneInfo, v2.0
  Configator, v5.1.DEV.130
  CooldownButtons, v2.1.16 
  DebugLib, v5.1.DEV.130
  DHUD, vv1.5.30000i
  DoomCooldownPulse, v
  EasyMail, v
  EnhTooltip, v5.1.3715 (SnaggleTooth)
  FuBar, v
  FuBarAloftFu, v1.0.0
  FuBarBagFu, v2.0
  FuBarExperienceFu, v1.1 $Revision: 65606 $
  FuBarFriendsFu, v2.4.1-91
  FuBarGuildFu, v2.4.1-98
  FuBarMicroMenuFu, v2.0
  FuBarMoneyFu, v20400-1
  FuBarTopScoreFu, v2.0
  Gatherer, v3.1.9
  GathererDBWowhead, v1.0.2008-12-05
  Grid, v1.30000.2008112401
  Informant, v5.1.3715 (SnaggleTooth)
  MikScrollingBattleText, v5.3.32
  MobInfo2, v3.61
  Outfitter, v4.3.1
  PitBull, v
  PitBullAura, v2.0
  PitBullBarFader, v0.1
  PitBullCastBar, v2.0
  PitBullCombatIcon, v2.0
  PitBullHealthBar, v2.0
  PitBullHideBlizzard, v2.0
  PitBullLeaderIcon, v2.0
  PitBullMasterLooterIcon, v2.0
  PitBullPowerBar, v2.0
  PitBullPvPIcon, v2.0
  PitBullRaidTargetIcon, v2.0
  PitBullRangeCheck, v0.2
  PitBullRestIcon, v2.0
  PitBullSpark, v2.0
  PitBullThreatBar, v2.0
  PowerAuras, v2.5.9a
  Prat30, vRC4 
  Prat30HighCPUUsageModules, v
  Prat30Libraries, v
  Quartz, v1.0
  QuartzBuff, v1.0
  QuartzFlight, v1.0
  QuartzFocus, v1.0
  QuartzGCD, v1.0
  QuartzLatency, v1.0
  QuartzPet, v1.0
  QuartzPlayer, v1.0
  QuartzTarget, v1.0
  QuestHelper, v0.76
  Ranger, v1.8
  RangerOptions, v1.4
  RatingBuster, v
  Recount, v
  SexyMap, v
  SimpleRune, v1.0
  Stubby, v5.1.3715 (SnaggleTooth)
  Talented, v1.9.2
  UberQuest, v
  (ck=cb7)
Last edited by dakota182 : 12-20-08 at 12:48 PM.
dakota182 is offline Report comment to moderator  
Reply With Quote
Unread 12-20-08, 02:48 AM  
Netrox
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 18
Uploads: 3
done
Netrox is offline Report comment to moderator  
Reply With Quote
Unread 12-15-08, 11:30 AM  
dakota182
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
Re: Deathknight

Originally posted by Kvothe
As my login with WoWAce is somehow no longer valid (was absent for over a year) and registering a new one doesn't work for me I will post some ideas of how to "fix" the DK cds here.

I think that runes should be treated as a resource like mana.
So basically just ignore every cooldown that is purely rune related and show only skills with dedicated cooldowns completely ignoring the rune cd part.
It is not really applicable to track rune cds on a per skill base (at least for me) and in my opinion there are more specialized addons out there for tracking runes (e.g. Runica which is my favourite atm since it beautifully integrates with CDB).

This would mean that if i use a skill which has a cd of let's say 15 sec I get an announcement 15 sec later even though the spell may not be useabe due to required runes being on cd.

For the other classes their resource is not included in the cooldown of their skills so why for DKs?
If a mages blink is ready but not useable due to low mana he would still want to know it is ready.

I don't know if it's possible to implement DK cooldowns in such a way as the API returns the skills current cd (the rune cd overrides the actual cd of a skill as far as I know even if the actual cd is much longer) and therefore there's no reliable way to determine the skills cooldown and not the rune cd (which may be considered a bug and hopefully fixed).

I don't know if this is the best way for every DK out there (it certainly would be for me ) but maybe you could consider such an approach.

For what it's worth, I would also be happy with this system for my DK. I'm checking this page daily for the DK update. This mod is fantastic and I can't wait for it to work properly with my new main.
dakota182 is offline Report comment to moderator  
Reply With Quote
Unread 12-13-08, 01:38 PM  
Kvothe
A Kobold Labourer
 
Kvothe's Avatar

Forum posts: 0
File comments: 4
Uploads: 0
Deathknight

As my login with WoWAce is somehow no longer valid (was absent for over a year) and registering a new one doesn't work for me I will post some ideas of how to "fix" the DK cds here.

I think that runes should be treated as a resource like mana.
So basically just ignore every cooldown that is purely rune related and show only skills with dedicated cooldowns completely ignoring the rune cd part.
It is not really applicable to track rune cds on a per skill base (at least for me) and in my opinion there are more specialized addons out there for tracking runes (e.g. Runica which is my favourite atm since it beautifully integrates with CDB).

This would mean that if i use a skill which has a cd of let's say 15 sec I get an announcement 15 sec later even though the spell may not be useabe due to required runes being on cd.

For the other classes their resource is not included in the cooldown of their skills so why for DKs?
If a mages blink is ready but not useable due to low mana he would still want to know it is ready.

I don't know if it's possible to implement DK cooldowns in such a way as the API returns the skills current cd (the rune cd overrides the actual cd of a skill as far as I know even if the actual cd is much longer) and therefore there's no reliable way to determine the skills cooldown and not the rune cd (which may be considered a bug and hopefully fixed).

I don't know if this is the best way for every DK out there (it certainly would be for me ) but maybe you could consider such an approach.
Kvothe is offline Report comment to moderator  
Reply With Quote
Unread 12-01-08, 11:55 PM  
Netrox
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 18
Uploads: 3
Netrox 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.