Download
(1Kb)
Download
Updated: 12-30-09 03:50 PM
Updated:12-30-09 03:50 PM
Created:12-26-09 05:41 AM
Downloads:5,423
Favorites:28
MD5:

ncCooldown  Popular! (More than 5000 hits)

Version: 1.4
by: nobgul, Nobgul

ncCooldown is a little addon that modifies the way cooldowns are shown in WoW. Instead of a cooldown spiral(yes, INSTEAD) it shows the cooldown as text. This addon works on everything that has a cooldown spiral, for example actionbuttons and buffs. If the cooldown spiral is owned by an actionbutton it fades the actionbutton out. Inspired by OmniCC.

Upcoming features:
- None
Suggest features!

Usage:
There is no in-game config, all config can be found in the .Lua file. The config looks like this:

lua Code:
  1. -- if set to true buttons will fade when they are on cooldown
  2. local fade = true
  3.  
  4. -- if the cooldown remainder is less than this in seconds the tresholdcolor will be applied and the cooldown will be shown in decimals
  5. local treshold = 6.5
  6.  
  7. -- the color of the cooldowntext in red, green, blue values
  8. local color = {255/255, 255/255, 255/255}
  9.  
  10. -- the color of the cooldowntext when below the treshold in red, green, blue values
  11. local tresholdcolor = {255/255, 0/255, 0/255}

1.4
--
Fixed the issue of cooldowns not clearing.

1.3
--
Added decimal support under the treshold

1.2
--
Fixed a fading issue

1.1 & 1.1a
--
Fixed major bug with the number rendering black and minor variable issue

1.0
--
Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 12-31-09, 12:05 PM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Originally posted by nightcracker
I can't see the image. And please PM me the git
here's the URL to it, hope you'll be able to DL it directly from rapdishare:

img-link
Report comment to moderator  
Reply With Quote
Unread 12-31-09, 11:38 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by Garagar
I still have the t8.24 which had your addon included and upgraded it with your latest code.

I did a few random instances with the DK, and after a while tried to drop smth-ing from the bags and found it like this, so have no idea what triggered it.


ps: if you wanna have a look, I can send you the github url where i keep a copy of the code i'm running.

Edit: "/console reloadui" fixes it, as expected.
I can't see the image. And please PM me the git
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-31-09, 10:08 AM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Originally posted by nightcracker
Tukz implements my new script in T9, not in some T8.xxx.
I still have the t8.24 which had your addon included and upgraded it with your latest code.

I did a few random instances with the DK, and after a while tried to drop smth-ing from the bags and found it like this, so have no idea what triggered it.


ps: if you wanna have a look, I can send you the github url where i keep a copy of the code i'm running.

Edit: "/console reloadui" fixes it, as expected.
Last edited by Garagar : 12-31-09 at 10:18 AM.
Report comment to moderator  
Reply With Quote
Unread 12-31-09, 08:28 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by Garagar
I am / was convinced that I also copied the "upgraded" tukui 8.24 to my WoW directory, but I'm testing it again now.

Edit: not sure anymore did 3 portal-jumps from shatt to ironforge and it's working OK .. i'll keep my eyes open and see what i do / if it happens again. (don't be too concerned yet about it, maybe i didn't have enough coffee in my system when i posted this morning)
Tukz implements my new script in T9, not in some T8.xxx.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-31-09, 07:42 AM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Originally posted by nightcracker
Did you update to the latest version already?
I am / was convinced that I also copied the "upgraded" tukui 8.24 to my WoW directory, but I'm testing it again now.

Edit: not sure anymore did 3 portal-jumps from shatt to ironforge and it's working OK .. i'll keep my eyes open and see what i do / if it happens again. (don't be too concerned yet about it, maybe i didn't have enough coffee in my system when i posted this morning)
Last edited by Garagar : 12-31-09 at 07:47 AM.
Report comment to moderator  
Reply With Quote
Unread 12-31-09, 03:15 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by Garagar
I did an experiment today, dropped an ez-thro dynamite on the ground (the dynamite is accessible from my actionbars); jumped through a teleport from Shatt to Ironforge, and the cooldown timer on the in-bag item-icon got stuck at 21sec, but the cooldown on the actionbar finished the count-down successfully.

Edit: re-did the test with my last dynamite, to my surprise the cooldown "lock" text appeared on my "Mechanical Greench"
Did you update to the latest version already?
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-31-09, 02:49 AM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
I did an experiment today, dropped an ez-thro dynamite on the ground (the dynamite is accessible from my actionbars); jumped through a teleport from Shatt to Ironforge, and the cooldown timer on the in-bag item-icon got stuck at 21sec, but the cooldown on the actionbar finished the count-down successfully.

Edit: re-did the test with my last dynamite, to my surprise the cooldown "lock" text appeared on my "Mechanical Greench"
Last edited by Garagar : 12-31-09 at 02:58 AM.
Report comment to moderator  
Reply With Quote
Unread 12-30-09, 04:47 PM  
kwok
A Kobold Labourer
 
kwok's Avatar

Forum posts: 0
File comments: 9
Uploads: 0
I like small and simple addons!
Please forgive me for my poor English, my native language is Chinese.
Report comment to moderator  
Reply With Quote
Unread 12-30-09, 09:27 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by Garagar
I don't know if there is any difference between the 2 forms, but if you change:
Code:
local methods = getmetatable(ActionButton1Cooldown).__index
hooksecurefunc(methods, "SetCooldown", startcd)
with
Code:
local methods = getmetatable(_G['ActionButton1Cooldown']).__index
hooksecurefunc(methods, "SetCooldown", startcd)
does it change anything for your hunter?
The problem is that if a player uses readiness, it uses some other function then SetCooldown to hide it, so I'm trying to find that function.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-30-09, 08:01 AM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Originally posted by Skylinee
This still happens i'm afraid, atleast during heavy combat. CD and fadeout on Rapid Fire etc still appear after using Readiness. It sometimes clears itself up after a few seconds, but still.

Edit: Clears itself up after using any ability with CD it seems.
Edit 2: nvm, completely random
I don't know if there is any difference between the 2 forms, but if you change:
Code:
local methods = getmetatable(ActionButton1Cooldown).__index
hooksecurefunc(methods, "SetCooldown", startcd)
with
Code:
local methods = getmetatable(_G['ActionButton1Cooldown']).__index
hooksecurefunc(methods, "SetCooldown", startcd)
does it change anything for your hunter?
Report comment to moderator  
Reply With Quote
Unread 12-29-09, 01:51 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Originally posted by Skylinee
Fade working fine except for a small bug. I used Rapid Fire on my hunter triggering the 3 min CD and the button faded out. I then used Readiness to clear all CD's, but the button stays faded out.
This still happens i'm afraid, atleast during heavy combat. CD and fadeout on Rapid Fire etc still appear after using Readiness. It sometimes clears itself up after a few seconds, but still.

Edit: Clears itself up after using any ability with CD it seems.

Edit 2: nvm, completely random
Last edited by Skylinee : 12-29-09 at 02:13 PM.
Report comment to moderator  
Reply With Quote
Unread 12-29-09, 01:36 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by richerich
I did, it's not the first time and it still gave me the error
Try using this:
Code:
text:SetFont([[Fonts\MORPHEUS.ttf]], 0.5*height, "THINOUTLINE")
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-28-09, 07:11 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Originally posted by nightcracker
Make sure your changing line 71:
Code:
text:SetFont("Fonts\\FRIZQT__.ttf", 0.5*height, "THINOUTLINE")
to (for example):
Code:
text:SetFont("Fonts\\MORPHEUS.ttf", 0.5*height, "THINOUTLINE")
I did, it's not the first time and it still gave me the error
__________________
Livestream | Twitter | YouTube
Report comment to moderator  
Reply With Quote
Unread 12-28-09, 06:12 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by richerich
Something i've been pondering about is how the font is used...
I mean, i wanna use something else than "FRIZQT__.ttf" (even if im using a custom font), but everytime i switch font (for example "MORPHEUS.ttf" or "SKURRI.ttf"), i'm getting spammed with error says that font is not set :S
Make sure your changing line 71:
Code:
text:SetFont("Fonts\\FRIZQT__.ttf", 0.5*height, "THINOUTLINE")
to (for example):
Code:
text:SetFont("Fonts\\MORPHEUS.ttf", 0.5*height, "THINOUTLINE")
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-28-09, 04:52 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Something i've been pondering about is how the font is used...
I mean, i wanna use something else than "FRIZQT__.ttf" (even if im using a custom font), but everytime i switch font (for example "MORPHEUS.ttf" or "SKURRI.ttf"), i'm getting spammed with error says that font is not set :S
__________________
Livestream | Twitter | YouTube
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: