Download
(3Kb)
Download
Updated: 07-17-21 12:08 AM
Pictures
File Info
Compatibility:
The Burning Crusade Classic (2.5.1)
Classic Patch (1.13.7)
Updated:07-17-21 12:08 AM
Created:unknown
Downloads:5,827
Favorites:37
MD5:
Categories:Classic - General, The Burning Crusade Classic

CursorCooldown  Popular! (More than 5000 hits)

Version: 2.8
by: orionshock [More]

CursorCooldown

Adds a small texture to the bottom right side of the cursor showing the Global Cooldown and the spell that caused it.

No options to configure scale or size, must edit lua file to do that.

Thanks to cncfanatics for the push in the right direction and ideas to start off on.

11/26/2020
2.7
Not sure if this works in retail, but this now works in Classic as expected (sorry only playing classic)


7/13/2010 - Update WoWI Description to indicate compatibility with 3.3

2.6:
Add in slash command /ccd to change the cooldown texture from spell to a static image of the wow icon.
use /ccd texture for spell texture or /ccd solid for the wow icon.
--You can change this icon, line 151 to something else.
Optional Files (0)


Post A Reply Comment Options
Unread 11-21-10, 02:16 PM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 72
Uploads: 4
@faelyn

The Cata-beta release of this addon here on WoWI has these fixes
__________________
"I was there in the beginning... and things were very different back then" --An Echo from a time before.
Report comment to moderator  
Reply With Quote
Unread 10-23-10, 07:02 PM  
faelyn
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 4
Uploads: 1
If anyone was wondering how to fix this for Cataclysm, simply go to CursorCooldown.lua, look for this part:
Code:
        if GSC_GSI(1126) then            --Druid    Mark of the Wild    ~done
            spell = GetSpellInfo(1126)
        elseif GSC_GSI(1494) then            --Hunter    Track Beasts    ~done    acts weird with AutoShot but works fine..
            spell = GetSpellInfo(1494)
        elseif GSC_GSI(168) then            --Mage    Frost Armor    ~done
            spell = GetSpellInfo(168)
        elseif GSC_GSI(465) then            --Pally    Devotion Aura    ~done
            spell = GetSpellInfo(465)
        elseif GSC_GSI(1243) then            --Priest    Power Word: Fortitude    ~done
            spell = GetSpellInfo(1243)
        elseif GSC_GSI(1752) then            --Rouge    Sinister Strike    ~done
            spell = GetSpellInfo(1752)
        elseif GSC_GSI(8017) then            --shammy    Rockbiter Weapon    ~done
            spell = GetSpellInfo(8017)
        elseif GSC_GSI(687) then            --Warlock    Demon Skin    ~done
            spell = GetSpellInfo(687)
        elseif GSC_GSI(49895) then            --Deathknight: Death Coil
            spell = GetSpellInfo(49895)
        elseif GSC_GSI(6673) then            --Warrior    Battle Shout    ~done; Nothing working at l1
            spell = GetSpellInfo(6673)
        end
and replace with with this

Code:
        if GSC_GSI(1126) then            --Druid    Mark of the Wild    ~done
            spell = GetSpellInfo(1126)
        elseif GSC_GSI(1494) then            --Hunter    Track Beasts    ~done    acts weird with AutoShot but works fine..
            spell = GetSpellInfo(7302)
        elseif GSC_GSI(7302) then            --Mage    Frost Armor    ~done
            spell = GetSpellInfo(168)
        elseif GSC_GSI(465) then            --Pally    Devotion Aura    ~done
            spell = GetSpellInfo(465)
        elseif GSC_GSI(21562) then            --Priest    Power Word: Fortitude    ~done
            spell = GetSpellInfo(21562)
        elseif GSC_GSI(1752) then            --Rouge    Sinister Strike    ~done
            spell = GetSpellInfo(1752)
        elseif GSC_GSI(8017) then            --shammy    Rockbiter Weapon    ~done
            spell = GetSpellInfo(8017)
        elseif GSC_GSI(687) then            --Warlock    Demon Skin    ~done
            spell = GetSpellInfo(687)
        elseif GSC_GSI(47541) then            --Deathknight: Death Coil
            spell = GetSpellInfo(47541)
        elseif GSC_GSI(6673) then            --Warrior    Battle Shout    ~done; Nothing working at l1
            spell = GetSpellInfo(6673)
        end
Basically the only thing that broke it were updated spell IDs.
Report comment to moderator  
Reply With Quote
Unread 07-24-10, 12:21 AM  
Bula
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 2
this is an excellent addon. great work!
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 03:27 AM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 72
Uploads: 4
Re: Moving icon?

Originally posted by Caramirdan
Hi, is there an easy way to move the GCD icon to a point above the cursor? When I have my cursor on the cast bar, the GCD icon falls off the bottom of the screen.
Either way, thanks for this--should be a Blizz option LOL
At line 126 --
Code:
frame:SetScript("OnUpdate", function(self, update)

	x, y = GetCursorPosition();

	x = x + 15

	y = y - 40

	Scale = UIParent:GetScale();

	sX = x / Scale;

	sY = y / Scale;

	self:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", sX, sY);
Lines, 128, 129, 133, are the lines you want to adjust. Ln 128/129's end numbers are the offsets, if you want to move the texture to the other side of the mouse you'll need to redo the SetPoint(...) call on line 133

http://www.wowwiki.com/API_Region_SetPoint

should help
__________________
"I was there in the beginning... and things were very different back then" --An Echo from a time before.
Report comment to moderator  
Reply With Quote
Unread 08-07-09, 06:45 PM  
Caramirdan
A Kobold Labourer
 
Caramirdan's Avatar

Forum posts: 0
File comments: 47
Uploads: 0
Moving icon?

Hi, is there an easy way to move the GCD icon to a point above the cursor? When I have my cursor on the cast bar, the GCD icon falls off the bottom of the screen.
Either way, thanks for this--should be a Blizz option LOL
Report comment to moderator  
Reply With Quote
Unread 06-18-09, 06:30 AM  
trclocke
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 108
Uploads: 1
beautiful.

Thanks a ton for this. Very helpful as a healer with raid frames in an area of my screen nowhere near my keybinds.
Report comment to moderator  
Reply With Quote
Unread 06-14-09, 07:29 PM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 72
Uploads: 4
local solidTexture = "Interface\\Icons\\Temp"

Look up on wowwiki for an icon or provide one yourself. You'll need to just change the "Interface\\Icons\\Temp" part to where the image is in your interface\addons folders.

This thread might help

http://forums.wowace.com/showthread.php?t=15439
__________________
"I was there in the beginning... and things were very different back then" --An Echo from a time before.
Last edited by orionshock : 06-15-09 at 05:27 PM.
Report comment to moderator  
Reply With Quote
Unread 06-13-09, 02:40 PM  
Zveroboi
A Murloc Raider

Forum posts: 5
File comments: 69
Uploads: 0
U have done gr8 thing man, thx a lot for 2.6.

P.S. as i can see those lines are setting texture on frame

local solidTexture = "Interface\\Icons\\Temp"
local function setTexture(name)
if addon.useSpellTexture then
local tex = select(3, GetSpellInfo(name))
texture:SetTexture(tex)
frame:Show()
else
texture:SetTexture(solidTexture)


but where is this texture? can i find file with it? how i can draw my own texture? coz "texture:SetTexture(solidTexture)" looks undone for me - where this way leads?...
Last edited by Zveroboi : 06-13-09 at 02:54 PM.
Report comment to moderator  
Reply With Quote
Unread 06-09-09, 06:21 PM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 72
Uploads: 4
Originally posted by Zveroboi
1st of all i wanna say "thx a lot" for this simple GCD tracer ;P And for 2nd i wanna ask - how i can 1)replace square with circle? 2)how i can remove spell icon and replace it with solid black(or any other color) background?

P.S. i mean what i need to change in .lua for this things
Well you'll need to partially gut the functions that check and set the textures, and you'll need a round texture also. I'll look into it, see what i come up with.
__________________
"I was there in the beginning... and things were very different back then" --An Echo from a time before.
Report comment to moderator  
Reply With Quote
Unread 06-08-09, 07:20 AM  
Zveroboi
A Murloc Raider

Forum posts: 5
File comments: 69
Uploads: 0
1st of all i wanna say "thx a lot" for this simple GCD tracer ;P And for 2nd i wanna ask - how i can 1)replace square with circle? 2)how i can remove spell icon and replace it with solid black(or any other color) background?

P.S. i mean what i need to change in .lua for this things
Last edited by Zveroboi : 06-08-09 at 07:23 AM.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 05:38 PM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 72
Uploads: 4
Originally posted by Hei-di
Awesome.

But is there a possibility to add functionality, that if no castbar is triggered, the gcd is shown?
would be great, so that if i cast an instant heal, i know when to shot the next one.

but having gcd shown all the time is a pain :/
Im sorry but your questions seem to be like you havn't downloaded the addon. Your request is a basic fundamental of the addon, as i myself wanted that specific aspect. while i don't play every class, it could be that the spell set for your class might not be working correctly. tho if you play a priest, i can guarrentee it works i play a priest full up.

Any spell that triggers the GCD causes the frame to show up, if that spell has a cast or a channel then the frame stays up.
__________________
"I was there in the beginning... and things were very different back then" --An Echo from a time before.
Last edited by orionshock : 05-28-09 at 05:45 PM.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 02:10 AM  
Hei-di
A Defias Bandit

Forum posts: 3
File comments: 28
Uploads: 0
Awesome.

But is there a possibility to add functionality, that if no castbar is triggered, the gcd is shown?
would be great, so that if i cast an instant heal, i know when to shot the next one.

but having gcd shown all the time is a pain :/
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 01:48 AM  
Hei-di
A Defias Bandit

Forum posts: 3
File comments: 28
Uploads: 0
great addon, but is there a possibility to change the addon to not watch the GCD, but the casttime? would be awesome for healers whacking their grid
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 01:38 AM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 72
Uploads: 4
Re: Re: Not Working with Instants

Originally posted by orionshock
I guess there will be another update after i test it a bit.. [/b]
Did some more testing... unfortunately Hearthstone only works as long as you don't use it, this to me is not a viable option.

However i did find the DK Spell i can use. But I cannot reproduce the problem with the priest. I removed all the tracking spell stuff, only one that works is hunter with tracking spells.
__________________
"I was there in the beginning... and things were very different back then" --An Echo from a time before.
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 04:32 PM  
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 72
Uploads: 4
Re: Not Working with Instants

Originally posted by goldensword52
Edit #2: Heres an even better solution: ignore everything else I said and just replace the numbers on lines 66 and 67 with the number: "8690". This uses the spell cast by your hearthstone, which shares a GCD with all other important spells. I also tested this and it works great for me, better than my earlier solution because the hearthstone isn't in a spell school that can be interrupted like other spells. You don't even need to have a hearthstone in your inventory for it to work.
? ZOMG i never thought about that...

I guess there will be another update after i test it a bit..
__________________
"I was there in the beginning... and things were very different back then" --An Echo from a time before.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: