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!
Will this be updated to the current patch any time soon?
Will this be updated for 9.0.1?
In reply to gravitonm1:
Yes it will, I created a version during beta that I need to release.
need help with error... 11696x CooldownCount\CooldownCount-8.0.0.lua:311: Attempt to access forbidden object
please update your addon
Thanks for update man :)
hope for it ^^
In reply to Forge_User_31442285:
In reply to kiki:
In reply to kiki:
Message: Interface\AddOns\CooldownCount\CooldownCount.lua:353: attempt to concatenate a nil value
Time: Tue Aug 28 20:28:42 2018
Count: 55
Stack:
Interface\AddOns\CooldownCount\CooldownCount.lua:353:
attempt to concatenate a nil value
Interface\AddOns\CooldownCount\CooldownCount.lua:353:
in function `CreateCooldownCount'
Interface\AddOns\CooldownCount\CooldownCount.lua:323:
in function <Interface\AddOns\CooldownCount\CooldownCount.lua:310>
[C]:
in function `CooldownFrame_Set'
Interface\FrameXML\ActionButton.lua:569:
in function `ActionButton_UpdateCooldown'
Interface\FrameXML\ActionButton.lua:752:
in function `ActionButton_OnEvent'
Interface\FrameXML\ActionButton.lua:253:
in function <Interface\FrameXML\ActionButton.lua:245>
Locals: self = <table>
{
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:367
Enable = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:294
RegisterChatCommand = <function> defined @Interface\AddOns\CooldownCount\libs\AceConsole-3.0\AceConsole-3.0.lua:85
EnableModule = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:332
modules = <table> {
}
GetModule = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:210
IterateEmbeds = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:442
initFontStyle = <function> defined @Interface\AddOns\CooldownCount\CooldownCount.lua:306
SecureHook = <function> defined @Interface\AddOns\CooldownCount\libs\AceHook-3.0\AceHook-3.0.lua:336
defaultModuleLibraries = <table> {
}
UnregisterChatCommand = <function> defined @Interface\AddOns\CooldownCount\libs\AceConsole-3.0\AceConsole-3.0.lua:111
RawHookScript = <function> defined @Interface\AddOns\CooldownCount\libs\AceHook-3.0\AceHook-3.0.lua:395
Printf = <function> defined @Interface\AddOns\CooldownCount\libs\AceConsole-3.0\AceConsole-3.0.lua:69
SetDefaultModulePrototype = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:409
SetCooldown = <function> defined @Interface\AddOns\CooldownCount\CooldownCount.lua:310
name = "CooldownCount"
GetFormattedTime = <function> defined @Interface\AddOns\CooldownCount\CooldownCount.lua:437
IsEnabled = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:451
orderedModules = <table> {
}
CheckBlacklist = <function> defined @Interface\AddOns\CooldownCount\CooldownCount.lua:504
DisableModule = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:350
font = "Fonts\FRIZQT__.TTF"
CreateShineFrame = <function> defined @Interface\AddOns\CooldownCount\CooldownCount.lua:474
Shine_Update = <function> defined @Interface\AddOns\CooldownCount\CooldownCount.lua:491
GetArgs = <function> defined @Interface\AddOns\CooldownCount\libs\AceConsole-3.0\AceConsole-3.0.lua:144
Print = <function> defined @Interface\AddOns\CooldownCount\libs\AceConsole-3.0\AceConsole-3.0.lua:54
Child_OnHide = <function> defined @Interface\AddOns\CooldownCount\CooldownCount.lua:430
IsHooked = <function> defined @Interface\AddOns\CooldownCount\libs\AceHook-3.0\AceHook-3.0.lua:493
baseName = "CooldownCount"
StartToShine = <function> defined @Interface\AddOns\CooldownCount\CooldownCount.lua:464
IsModule = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:468
db = <table> {
}
SetDefaultModuleState = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:387
hooks = <table> {
}
CreateCooldownCount = <function> defined @Interface\AddOns\CooldownCount\CooldownCount.lua:338
SetEnabledState = <function> defined @Interface\AddOns\CooldownCount\libs\AceAddon-3.0\AceAddon-3.0.lua:424
Hook = <function> defined @Interface\AddOns\CooldownCount\libs\AceHook-3.0\AceHook-3.0.lua:274
enabledState = true
OnEnable = <function> defined @Interface\AddO
======================================
The addon is dead?
if possible, add a button to turn off the blink option, or add time for collors, 5 seg or less = only red. thanks!
Ok, so I finally found the error, it's indeed caused by LibActionButton-1.0 addon, which triggers "fake" cooldown event for each charge, which in turns causes CC to show the counter.
I added the lib in the default blacklist, it should work fine now (v 1.7.2)
I believe the error of showing the cooldown of a spell on your action bar when there is still a remaining stack has returned. I have seen the error in OminCC and another mod as well but no reports yet.
Anyone else confirm this issue?
same here for some reason
I got same after updating bartender4. In bt4 there is 1 library which causes that problem. LibActionButton-1.0 newest patch note says "Update for 7.1 cooldown API changes". Solved my problem by donwgrading that library. (That library is used in bt4 not cooldowncount)
I'm using BT4 too, and have the issue as well since yesterday after BT update.
I won't have the time to take a look tonight, I hope I can tomorrow, but if it's BT 's fault, I won't be able to do much ;(
Latest version I downloaded today (7.0.1) is throwing errors:
Message: ..\AddOns\CooldownCount\CooldownCount.lua line 352:
attempt to concatenate a nil value
Debug:
CooldownCount\CooldownCount.lua:352: CreateCooldownCount()
CooldownCount\CooldownCount.lua:323:
CooldownCount\CooldownCount.lua:310
[C]: CooldownFrame_Set()
..\FrameXML\ActionButton.lua:540: StartChargeCooldown()
..\FrameXML\ZoneAbility.lua:106: ZoneAbilityFrame_Update()
..\FrameXML\ZoneAbility.lua:59:
..\FrameXML\ZoneAbility.lua:31
Also, I believe a change that's now happening is that it's showing the countdown number while an ability is gaining charges (before it would only show up when the ability was completely out of charges). Can it to go back to the old way or at least have an option to toggle it to not display when there are charges available?
(A good example of this is the Artillery Strike garrison ability with 3 charges)
I tested the 'charge' thing with the monk's Roll ability, and it's working as expected (cooldown shown only when there are no charges).
I don't have control anymore on the number of charges when a cooldown is triggered, it looks like Blizzard is now filtering it in the C part of the code, before it does to lua... except maybe for some special abilities like garrison zone spells. Not sure I'll be able to do something about it. Can you try with character abilities?
For the lua error issue, I won't by able to test it myself (still no valid account, at least not an account that has access to WoD maps).
Can you do a /framestack on the ability icon when it's shown, and post the screenshot, thanks
Noticed the lua error from garrison ability also today, whilst its not a big deal here are my 2 cents again.
Regarding the 'Charge' thing; I tested it with Epidemic (DK ability with 3 charges), Roll (Monk ability with 2 or 3 charges) and Shield Block (Warrior ability with 2 charges) and all of them behaved the same way: They displayed the cooldown as soon as 1 charge was used. But as far as i remember it's always shown charges like this?
Framestack of Lua error from garrison ability with charges: http://imgur.com/a/pTWXl
Noe: The ability can be pulled to an action bar or kept in the middle of the screen as an "extra button".
I don't really know how to fix this issue, a starter account cannot join a group, so I cannot show the party/raid frames to test.
Maybe someone can try to use the "/framestack" command to display the name of the frames, and use "/cc bl add <NaameOfRaidFrame>" to blacklist it. If it works, give me the name so I can add it to the code directly.
"RaidFrame" is already blacklisted but if you say it doesn't work anymore, it means the name changed (although I checked blizzard code and saw the name didn't change... there might be something more in that)
I took some screenshots with the framestack visible, maybe these would help.
http://imgur.com/a/ftzYp
Edit: Looks like adding CompactRaidGroup1 to the blacklist fixes the huge cooldown issue, so i guess adding groups 1-8 to the default blacklist would fix this issue for all groups?