Cooldowns on Bartender4

This addon displays a large yellow number (and text for numbers > 60 seconds) on spell icons for action bars, bags, character sheet, and quest icons in the tracker. Font can be modified, and the cut-off for how long a cooldown needs to be in order to display on the button can also be changed. The number begins flashing when time remaining is less than 10 seconds.

This is an update for WoW >= 3.3.5 compatibility since 4.0's new API nuked some of the code here. The original addon was created by hshh and the compatibility has been fixed by TheCheat5 and Kiki.

Additional Note: Tested and confirmed working after dependency update for Patch 6.0.2
 - updated by DigitalSorceress


You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of kiki kiki Jul 20, 2016 at 19:46 UTC - 0 likes

    @ccc38941: Go

    I'm releasing a new version, should be working. Please tell me if you have issues.

    Looks like there is an issue with auto-packaging. I tagged the repository with the new code but it looks like it's not generating the new archive for release. Ok nevermind, it just took a crap lot of time :)

    Last edited Jul 20, 2016 by kiki
  • Avatar of ccc38941 ccc38941 Jul 20, 2016 at 11:53 UTC - 0 likes

    it has broken 7.0.3 came today.

    <<code Message: Interface\AddOns\CooldownCount\CooldownCount.lua:298: hooksecurefunc(): CooldownFrame_SetTimer is not a function Time: 07/20/16 13:51:55 Count: 1 Stack: [C]: in function `hooksecurefunc' Interface\AddOns\CooldownCount\CooldownCount.lua:298: in function <Interface\AddOns\CooldownCount\CooldownCount.lua:295> (tail call): ? [C]: ? [string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5> (tail call): ? ...Ons\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:558: in function `EnableAddon' ...Ons\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:651: in function <...Ons\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:636> [C]: in function `LoadAddOn' Interface\FrameXML\UIParent.lua:391: in function `UIParentLoadAddOn' Interface\FrameXML\UIParent.lua:414: in function `CombatLog_LoadUI' Interface\FrameXML\UIParent.lua:995: in function <Interface\FrameXML\UIParent.lua:891> Locals: <none>>>
  • Avatar of holatoli holatoli Jul 10, 2016 at 08:04 UTC - 0 likes

    @kiki: Go

    I know exactly what you mean :D

    Thanks for updating this great addon!

    Last edited Jul 10, 2016 by holatoli
  • Avatar of kiki kiki Jul 08, 2016 at 11:45 UTC - 0 likes

    @horwalter: Go

    I'd say there is a 90% chance it will be :) As for all WoW extensions, I'll play for a few months before stopping again. Damned WoW!

  • Avatar of horwalter horwalter Jul 08, 2016 at 10:54 UTC - 0 likes

    Any Chance this gets updated for Legion? Would be really aprecciated :)

  • Avatar of DigitalSorceress DigitalSorceress Oct 14, 2014 at 22:10 UTC - 2 likes

    Testing with WoD (patch 6.0.2) CooldownCount was throwing errors - nailed it down to including an older version of Ace3DB

    I manually fixed that on my local copy and CoolldownCount started to work - I think if I can recall how to update the repos and get the Interface tagged for 60000 it should just plain start working again for WoD

  • Avatar of hshh hshh Apr 23, 2013 at 07:07 UTC - 1 like

    I have a new version, used new method for timer and hook. More secure, less resource usage. But I am very lazy to merge to SVN. You can try this,

    Attention! No depend libs included, only zhCN locales, but enUS ready. It depends Libstub, Ace3 and LibSharedMedia-3.0.

  • Avatar of TherianWoLf TherianWoLf Jun 27, 2011 at 16:35 UTC - 0 likes

    I'm having an issue with the shine at cooldown end.. it's not being modified, no matter what I select under the options.. Anyone else experiencing this problem?

    Can only see the Blizzard default shine. I used to have this set to a bigger scale to make it more apparent.

    Thanks and best regards.

    [Edit] It seem it's related to using ButtonFacade, that addon conflicts with this feature of CooldownCount.

    Last edited Jun 27, 2011 by TherianWoLf
  • Avatar of Whyse Whyse Nov 27, 2010 at 16:29 UTC - 0 likes

    next96, I'm starting to think that your (and my) problem isn't with our cool down mod but with either Bartender4 (or its library). I'm using a different CD mod and getting the same errors:

    Cooldowns.lua:136: attempt to compare number with nil\n<in C code>: in function `CooldownFrame_SetTimer'\nLibActionButton-1.0-15:1034: in function <...er4
    LibActionButton-1.0.lua:1032>\nLibActionButton-1.0-15:909: in function <...er4
    LibActionButton-1.0.lua:903>\nLibActionButton-1.0-15:899: in function `method'\nInterface
    RestrictedFrames.lua:721: in function <Interface
    RestrictedFrames.lua:713>:\n<in C code>: ?\n<in C code>: ?\nInterface
    RestrictedFrames.lua:740: in function `CallMethod':\n<string>:\" self:RunAttribute(\"UpdateState\", message)...\":2: in function <[string \" self:RunAttribute(\"UpdateState\", message)...\"]:1>\n(tail call): ?:\n<in C code>: ?\nInterface
    RestrictedExecution.lua:441: in function <Interface
    RestrictedExecution.lua:412>:\n...:\n<string>:\" self:SetAttribute(\"state\", newstate)...\":2: in function <[string \" self:SetAttribute(\"state\", newstate)...\"]:1>\n", [1]

    "(tail call): ?:\n<in C code>: ?\nInterface
    RestrictedExecution.lua:441: in function <Interface
    RestrictedExecution.lua:412>:\n(tail call): ?:\nInterface
    SecureHandlers.lua:113: in function <Interface
    SecureHandlers.lua:108>:\n<in C code>: ?\n<in C code>: in function `SetAttribute'\nInterface
    SecureStateDriver.lua:114: in function <Interface
    SecureStateDriver.lua:127: in function <Interface
    SecureStateDriver.lua:119>:\n\nLocals:|r\n(*temporary) = <function> defined =[C]:-1\n = <function> defined @Interface
    Cooldown.lua:2\n = <function> defined @Interface
    Cooldowns.lua:114\n\n -", [2]

  • Avatar of next96 next96 Nov 25, 2010 at 06:18 UTC - 0 likes

    Bartender4 PossessBar error

    3x CooldownCount-3.3\CooldownCount.lua:291: attempt to compare number with nil <in C code>: in function `CooldownFrame_SetTimer' LibActionButton-1.0-15:1034: in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:1032> LibActionButton-1.0-15:909: in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:903> LibActionButton-1.0-15:899: in function `method' Interface\FrameXML\RestrictedFrames.lua:721: in function <Interface\FrameXML\RestrictedFrames.lua:713>:

    fix please.



Date created
Aug 13, 2008
Last update
Jul 23, 2016
Development stage
  • deDE
  • enUS
  • frFR
  • koKR
  • ruRU
  • zhCN
  • zhTW
BSD License
Curse link
Recent files
  • R: v7.0.1 for 7.0.3 Jul 23, 2016
  • R: v7.0.0 for 7.0.3 Jul 20, 2016
  • R: v6.1.0 for 6.1.0 Mar 14, 2015
  • R: v6.0 for 6.0.2 Oct 14, 2014
  • B: v6.0_beta for 6.0.2 Oct 14, 2014



Embedded library