Quantcast
Download
(18 Kb)
Download
Updated: 10-17-15 03:03 PM
Pictures
File Info
Compatibility:
Fury of Hellfire (6.2)
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-17-15 03:03 PM
Created:02-09-09 05:18 PM
Downloads:108,400
Favorites:534
MD5:

CoolLine  Popular! (More than 5000 hits)

Version: 6.2.002
by: totalpackage, Phanx

CoolLine is a spell/item cooldown mod that displays icons on a single bar/line to give you an idea of when it will be ready. No statusbar timer and no text timer.

CoolLine is inspired by Forte_Cooldown (a module in the ForteXorcist package). CoolLine is basically a stripped down and standalone version written from scratch. The name comes from putting "cooldown" and "timeline" together (yes, lame).

YouTube Intro

How to Use

  • Change settings - "/coolline" or check Interface Options -> AddOns
  • Change position and size - unlock to make it draggable and resizable
  • Filter/unfilter a spell or item cooldown - "/coolline Spell Item Name Link"
  • Add more fonts/texture - CoolLine uses LibSharedMedia

External Support
  • CoolLine.NewCooldown(name, icon, endtime, isplayer)
    • name - unique string id of the cooldown, used as a look-up id
    • icon - string icon path used to display image on the bar
    • endtime - numerical time when the icon should expire, based on GetTime()
    • isplayer - boolean value used to determine if the icon is colored by spell
  • CoolLine.ClearCooldown(unused, name)

Notes
  • Only one spell/item will be shown in an event that multiple spells/items share the same cooldown (whichever appeared first).
  • By design, icons will often overlap; if you do not like it, this type of cooldown mod is not for you.
  • What you see is what you get. If you like the idea of this mod but want more, I highly suggest checking out ForteXorcist or Ellipsis. I'll most likely ignore requests to make CoolLine more similar to them.
  • CoolLine only does spell/item cooldowns and NOT buff/debuff cooldowns, flight timers, time til enrage, etc; this will NOT change so don't ask.

Recently, I (TotalPackage) had some requests for donation info, so here it is. Do not feel obligated; donations (or lack of) will not determine what features I do or do not implement.

6.2.002 10/16/2015:
- Greatly improved detection of cooldowns for talents and spec-specific abilities

6.0.004 01/22/2015:
- Fixed detection of talent spells with non-integer cooldowns in languages that use a comma as a decimal separator

6.0.003 01/02/2015:
- Fixed detection of talent spells with long cooldowns

6.0.002 12/08/2014:
- Fixed detection of talent spells (and potentially other "morphing" spells) with cooldowns
- Added support for spell charges
- Added pet battle hiding
- CoolLine Fix is no longer needed!

6.0.001 10/20/2014:
- updated for 6.0
- install CoolLine Fix for support for pet battle and spells with charges

5.4.001 09/21/2013 - updated for 5.4
5.3.002 06/06/2013 - added options for bar border inset
5.3.001 06/05/2013 - updated for 5.3
5.2.001 04/28/2013 - fix Frost Bomb
5.2.001 03/10/2013 - updated for 5.2
5.1.001 12/08/2012 - updated for 5.1

5.0.004 09/18/2012:
- fix for cooldowns that share the same spell name
- performance fixes

5.0.003 09/11/2012 - workaround for several spells not showing
5.0.002 09/05/2012 - fixed cooldowns for grouped spells (ie. totems)
5.0.001 09/04/2012 - updated for 5.0.4

4.3.002 07/24/2012:
- fix support for priests' Chakra/Holy Word spells
- changed the "1m" tick to "30" seconds
- tweaked refresh rate to be a bit smoother

4.3.001 11/29/2011 - update for 4.3
4.2.001 06/29/2011 - update for 4.2
4.1.001 04/26/2011 - update for 4.1

4.0.003 10/30/2010:
- added workarounds for priests' Archangel and Holy Word spells
- cleaned up options menu

4.0.002 10/18/2010 - fix for long wait times at loading screen
4.0.001 10/12/2010 - 4.0 compat
3.3.003 01/16/2010 - removed "30" tick and added "3" tick
3.3.002 01/11/2010 - added LibSharedMedia-3.0 callback support

3.3.001 12/08/2009:
- updated toc for 3.3
- added option to increase icon size
- added option to reset settings

3.2.005 10/30/2009 - fix an issue where cooldowns refreshed to global cooldown did not update properly (ie. Shield Slam with Sword and Board)

3.2.004 10/07/2009:
- added option to save settings per character
- make death knight rune detection more robust to cooldown changes

3.2.003 09/04/2009:
- allow external access to useful CoolLine functions
- added ConfigMode support

3.2.002 08/04/2009 - fix spell cooldowns triggering when runes are on cooldown

3.2.001 08/04/2009:
- toc to 3.2
- fade icons out a bit faster
- text now have a shadow

3.1.006 07/24/2009:
- switched to a 6-minute time scale instead of 10
- performance tweaks
- added more font size values

3.1.004 05/30/2009:
- icons' alpha now constant
- slightly reduced icon fade time

3.1.003 05/22/2009 - slightly tweaked layout

3.1.002 04/24/2009:
- added an optional visual that lets you know if and where a spell is on cooldown when you attempt to cast it

3.1.001 04/14/2009:
- updated for 3.1
- slightly improved performance

3.0.005 03/25/2009:
- prevent error caused by default variables
- replaced "10m" with "9m" because of the offset and size, bar is still 10m long
- added AddonLoader support, set to "delay" by default

3.0.004 02/22/2009 - several minor performance tweaks

3.0.003 02/14/2009:
- slash command to add/remove filter now accepts spell or item links
- added coloring to distinguish player spell from pet/item cooldowns

3.0.002 02/09/2009 - attempt to make it work with other locales

3.0.001 02/09/2009 - Initial upload
Archived Files (17)
File Name
Version
Size
Author
Date
6.2.001
18kB
totalpackage
10-16-15 11:55 PM
6.0.004
18kB
totalpackage
01-22-15 06:53 AM
6.0.003
18kB
totalpackage
01-03-15 12:40 AM
6.0.002
18kB
totalpackage
12-08-14 02:04 AM
6.0.001
19kB
totalpackage
10-20-14 09:39 PM
5.4.001
19kB
totalpackage
09-20-13 10:28 PM
5.3.002
19kB
totalpackage
06-06-13 05:20 PM
5.2.002
18kB
totalpackage
04-28-13 05:07 PM
5.1.001
18kB
totalpackage
12-08-12 08:33 AM
5.0.004
18kB
totalpackage
09-18-12 09:10 PM
4.3.002
18kB
totalpackage
07-24-12 08:00 PM
4.2.001
16kB
totalpackage
06-29-11 08:08 PM
4.1.001
16kB
totalpackage
04-26-11 06:23 PM
4.0.003
16kB
totalpackage
10-30-10 07:54 PM
3.3.003
16kB
totalpackage
01-16-10 05:51 PM
3.2.005
16kB
totalpackage
10-30-09 03:27 AM
3.1.006
15kB
totalpackage
07-24-09 02:16 PM


Post A Reply Comment Options
Unread 09-04-09, 05:26 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 920
Uploads: 2
Originally posted by blanknot
I can't get any of my cooldowns to show... Penance, Pain Suppression, Power Infusion, Shadow Word: Death (just to name a few). I've tried the "/coolline [Linked Spell]" command, which toggles the spell being filtered or not, but still no joy. Trinkets and even the fishing hat cooldown show, but spells do not. What gives?
What is your client's language? You may be using a very old version of CoolLine, or you most likely have an addon conflict. Try running CoolLine by itself to see if you still have problems.
Report comment to moderator  
Reply With Quote
Unread 09-01-09, 10:14 PM  
blanknot
A Kobold Labourer
 
blanknot's Avatar

Forum posts: 1
File comments: 3
Uploads: 0
I can't get any of my cooldowns to show... Penance, Pain Suppression, Power Infusion, Shadow Word: Death (just to name a few). I've tried the "/coolline [Linked Spell]" command, which toggles the spell being filtered or not, but still no joy. Trinkets and even the fishing hat cooldown show, but spells do not. What gives?
Last edited by blanknot : 09-01-09 at 10:22 PM.
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 10:20 AM  
Trysor
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Thanks!
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 07:20 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 920
Uploads: 2
Re: Third Party changes

Originally posted by Trysor
Any chance you can make the NewCooldown function global?...
You want to be able to just call the function but don't care to hook it? I guess that's fine, but you should've asked sooner. I don't like to release insignificant changes. For now, just add the line below after the NewCooldown function (line 357). It will be there in the next major release.

Code:
CoolLine.NewCooldown, CoolLine.ClearCooldown = NewCooldown, ClearCooldown
Report comment to moderator  
Reply With Quote
Unread 08-07-09, 06:15 AM  
Trysor
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Third Party changes

Any chance you can make the NewCooldown function global?

I customize my own UI down to the very single pixel, and I sort of modify addons through a third party addon I've made for myself. I by no means intend to copy and / or change your addon (in fact I do not touch your files in any other way other than calling the functions availible through said addon). It is merely a request so that I can add my own specific cooldowns to an already really good addon.
Report comment to moderator  
Reply With Quote
Unread 08-07-09, 06:11 AM  
thebadmf
is in disguise
 
thebadmf's Avatar

Forum posts: 5
File comments: 111
Uploads: 0
Originally posted by OttoDeFe
IS there a way to ignore a cooldown? Everything I do triggers "Shoot" to show on the bar. I think it's on the Blizzard side 'cause I get a cooldown sweep on the button, too. Would like to have it not show.
It's odd as this wasn't happening before but since the patch I've been getting deadly throw and shoot after every ability when playing my rogue. It doesn't appear to happen with any of my other toons.
Report comment to moderator  
Reply With Quote
Unread 08-05-09, 03:28 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 920
Uploads: 2
Yea, the fading is a compromise. CoolLine is set on options, so no more. I already think it has too many already for what it does.
Report comment to moderator  
Reply With Quote
Unread 08-05-09, 01:12 PM  
daphoosa
A Kobold Labourer
 
daphoosa's Avatar

Forum posts: 0
File comments: 12
Uploads: 0
Originally posted by servi
Unfortunetly i dont like this change: "fade icons out a bit faster".
Tell me plz where i can change this as it was before.
Current fade out is .5 sec
Lines 297-299 in core.lua
Code:
elseif remain > -0.5 then
	SetupIcon(frame, 0, 0, true, dofl)
	frame:SetAlpha(1 + remain * 2)  -- fades
Previously it was 1 sec
Code:
elseif remain > -1 then
	SetupIcon(frame, 0, 0, true, dofl)
	frame:SetAlpha(1 + remain)  -- fades
and before that it was 1.2 sec
Code:
elseif remain > -1.2 then
	SetupIcon(frame, 0, 0, true, dofl)
	frame:SetAlpha(1 + remain * .833)  -- fades
In my opinion, it would nice to have this as an option in the settings as optimal fade time is probably pretty subjective. I'd assume that the author dropped the fade time to help people who felt that the most recently ended CD was covering up the next CD in line when multiple CD's were very close to each other.

edit: add required changes to 'if' lines
Last edited by daphoosa : 08-05-09 at 01:45 PM.
Report comment to moderator  
Reply With Quote
Unread 08-05-09, 12:44 PM  
servi
A Kobold Labourer

Forum posts: 0
File comments: 70
Uploads: 0
Unfortunetly i dont like this change: "fade icons out a bit faster".
Tell me plz where i can change this as it was before.
Report comment to moderator  
Reply With Quote
Unread 08-05-09, 11:09 AM  
daphoosa
A Kobold Labourer
 
daphoosa's Avatar

Forum posts: 0
File comments: 12
Uploads: 0
Originally posted by OttoDeFe
IS there a way to ignore a cooldown? Everything I do triggers "Shoot" to show on the bar. I think it's on the Blizzard side 'cause I get a cooldown sweep on the button, too. Would like to have it not show.
/coolline shoot
Report comment to moderator  
Reply With Quote
Unread 08-05-09, 07:15 AM  
OttoDeFe
A Chromatic Dragonspawn
 
OttoDeFe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 178
File comments: 195
Uploads: 12
IS there a way to ignore a cooldown? Everything I do triggers "Shoot" to show on the bar. I think it's on the Blizzard side 'cause I get a cooldown sweep on the button, too. Would like to have it not show.
__________________
"They say
the pen is mightier than any saber -
any sword -
but if there's a war
I just don't know if a Bic will save ya..."

-- Last Offence
Report comment to moderator  
Reply With Quote
Unread 08-05-09, 01:59 AM  
NeoSyrex
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally posted by totalpackage
I'm not sure that your method is a total fix to issues caused by rune cooldowns, but I guess it's better than nothing. Also, it's not an easy copy and paste since I'll have to look up spell ids.
Yeah, I just made it as a quick hack for my own personal usage, and it is most likely not the best implementation. There are probably better ways of doing it rather than hard-coding the abilities that require runes and have cooldowns. For example checking which abilities fit these requirements in your "CacheBook" function, storing their correct cooldowns in an array, and then doing a single equality comparison with the cooldown duration when a cooldown is added. This would have a (very) slight improvement on performance during gameplay, as well as making the addon more resilient to future modifications done by Blizzard to DK abilities.

Originally posted by totalpackage
For the text timer, this mod is more for estimation, and I already have people complaining about not seeing the icon due to overlapping. Plus ForteXorcist already does this.
Well I thought the same thing about not being able to see the icon at first but still think its worth looking into, even if only as an optional setting. Also there are always other ways to implement it, for example having the text display above or below the icon rather than inside it. Anyway its just an idea.
Report comment to moderator  
Reply With Quote
Unread 08-04-09, 09:12 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 920
Uploads: 2
Originally posted by NeoSyrex
I'm surprised you're okay with DK cooldowns being broken considering how many users have a DK. Anyway, I took a minute or two and made a fix for DK spells, add...Also, have you considered adding cooldown text to the icons on the bar? It could be useful to know exactly how much time is left, and shouldn't be too obtrusive.
I'm not sure that your method is a total fix to issues caused by rune cooldowns, but I guess it's better than nothing. Also, it's not an easy copy and paste since I'll have to look up spell ids.

For the text timer, this mod is more for estimation, and I already have people complaining about not seeing the icon due to overlapping. Plus ForteXorcist already does this.
Report comment to moderator  
Reply With Quote
Unread 08-04-09, 07:40 PM  
NeoSyrex
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
I'm surprised you're okay with DK cooldowns being broken considering how many users have a DK. Anyway, I took a minute or two and made a fix for DK spells, add
Code:
local runecd = { ["Death Gate"] = 60, ["Death and Decay"] = 15, ["Frost Presence"] = 1, ["Blood Presence"] = 1, ["Unholy Presence"] = 1, ["Army of the Dead"] = 600, ["Bone Shield"] = 60, ["Strangulate"] = 100, ["Anti-Magic Zone"] = 120, ["Ghoul Frenzy"] = 10, ["Howling Blast"] = 8, ["Unbreakable Armor"] = 120, ["Vampiric Blood"] = 120, ["Mark of Blood"] = 180, ["Rune Tap"] = 30, }
to the top of core.lua, then change line 381 from
Code:
if duration > 2.5 and not block[name] then
to
Code:
if duration > 2.5 and not block[name] and (not runecd[name] or runecd[name] <= duration and (runecd[name] > 10 or runecd[name] >= duration)) then

Also, have you considered adding cooldown text to the icons on the bar? It could be useful to know exactly how much time is left, and shouldn't be too obtrusive.
Report comment to moderator  
Reply With Quote
Unread 08-03-09, 04:22 AM  
evenflowdx
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
This is as an option that is all.

That way people who like the layout and the way your mod works can have some different functionality. Others like obviously yourself who likes the traditional method better can leave it default.

Also what are the other multi line cool down counters similar to this one?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: