CooldownCount
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
Enjoy!
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
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
libs
LibActionButton-1.0
LibActionButton-1.0.lua:1032>\nLibActionButton-1.0-15:909: in function <...er4
libs
LibActionButton-1.0
LibActionButton-1.0.lua:903>\nLibActionButton-1.0-15:899: in function `method'\nInterface
FrameXML
RestrictedFrames.lua:721: in function <Interface
FrameXML
RestrictedFrames.lua:713>:\n<in C code>: ?\n<in C code>: ?\nInterface
FrameXML
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
FrameXML
RestrictedExecution.lua:441: in function <Interface
FrameXML
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
FrameXML
RestrictedExecution.lua:441: in function <Interface
FrameXML
RestrictedExecution.lua:412>:\n(tail call): ?:\nInterface
FrameXML
SecureHandlers.lua:113: in function <Interface
FrameXML
SecureHandlers.lua:108>:\n<in C code>: ?\n<in C code>: in function `SetAttribute'\nInterface
FrameXML
SecureStateDriver.lua:114: in function <Interface
FrameXML
SecureStateDriver.lua:95>:\nInterface
FrameXML
SecureStateDriver.lua:127: in function <Interface
FrameXML
SecureStateDriver.lua:119>:\n\nLocals:|r\n(*temporary) = <function> defined =[C]:-1\n = <function> defined @Interface
FrameXML
Cooldown.lua:2\n = <function> defined @Interface
AddOns
Cooldowns
Cooldowns.lua:114\n\n
-",[2]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.
And when there are 0 seconds left it is ready and you shouldn't display a 0.
The current version of a flashing 0 looks silly (and I HATE the decimals), so hope you'll add an option there :)
The cooldown counting down to 0 or to 1?
I mean, currently, when there is from 1 to 1.999 seconds remaining you see 1, and from 0 to 0.999 you see 0.
Do you prefer to see 0 or 1 from 0 to 0.999? (this is in the mode without the decimals)
I think I'll put an option for that, everybody will be able to choose.
The shine size option is still present, but I can't get it to work =(
I used to base myself on the oversized shine, without having to look down at the bar to see the numbers.
I'll take a look at the shine option, but in my last tests, it was working.
Here is what I just changed:
- Fixed warning blinking issue
- Fixed timer being sometimes offset by 1 second- Added an option to enable/disable decimal below 1 second
- Added an option to configure the speed at which warning blinking occurs
Either enable the flash, or the decimals, or nothing (I personally prefer nothing^^).
Just tell me if you have the time to do it, or I will :)
THanks!
But there is another addon that doesn't show up under similar addons that does exact the same thing as cooldowncount!
http://wow.curse.com/downloads/wow-addons/details/cooldowns.aspx
Works perfect for me.