Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(19 Kb)
Download
Updated: 10-20-14 09:39 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Escalation (5.3)
Updated:10-20-14 09:39 PM
Created:02-09-09 05:18 PM
Downloads:98,194
Favorites:536
MD5:

CoolLine  Popular! (More than 5000 hits)

Version: 6.0.001
by: totalpackage, Phanx

Install CoolLine Fix for fixes to spells with charges and pet battles.

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 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.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 (12)
File Name
Version
Size
Author
Date
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 04-27-09, 01:29 PM  
ant1pathy
A Murloc Raider

Forum posts: 5
File comments: 83
Uploads: 0
The 0 on my bar kinda overlaps the edge of the bar. Can this be moved in 4 or 5 pixels?

ant1pathy is offline Report comment to moderator  
Reply With Quote
Unread 05-23-09, 03:52 AM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 835
Uploads: 14
Thanks for the great CD tracker, totalpackage. I've been using it since one of the first releases here on WoWI.

Just wanted to throw out my own layout for anyone needing ideas:

(Really old screeny from when I was in the middle of tweaking my oUF layout, which looks a lot cleaner now, but it's still about the same general setup. Why Carbonite was enabled there, I'll probably never remember...)

CoolLine is set to fade completely when it's not showing anything, near EventHorizon and my target's status. Works quite well for me, and it all looks and feels great in practice. My only complaint is that my oUF layout still isn't perfect.
Taroven is offline Report comment to moderator  
Reply With Quote
Unread 05-29-09, 07:15 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4568
File comments: 2090
Uploads: 42
I'd love to ditch the enormous Forte_Cooldown in favor of something smaller, but a few things are stopping me from switching to CoolLine at the moment, and I'm wondering if they're things you'd consider implementing/changing:

1) The icons, due to their low opacity, are very difficult to identify at a glance without making the bar really big. Currently the cooldown color's alpha channel doesn't seem to affect anything; could you make this control the icon's opacity?

2) Having the time text overlap the icons also makes them difficult to identify at certain points along the bar. I'd much rather have the icons on top.

3) The maximum displayed duration is fixed at 9 minutes (), with no way to change it. On my hunter, for example, the longest cooldown I care about has a 5-minute duration, so half of the bar is never used.

4) A minor cosmetic issue; the "pulse" effect when a cooldown finishes looks somewhat awkward. Rather than smoothly pulse in and fade out like other addons with similar effects, the pulse-in is rather jumpy (this is especially noticeable when it's happening at the same time as an OmniCC pulse; maybe your OnUpdate is throttled too much?) and then just hangs at the maximum size for a second before disappearing.
Last edited by Phanx : 05-29-09 at 07:15 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 05-29-09, 08:17 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 882
Uploads: 2
Originally posted by Phanx
...1) The icons, due to their low opacity, are very difficult to identify at a glance without making the bar really big. Currently the cooldown color's alpha channel doesn't seem to affect anything; could you make this control the icon's opacity?

2) Having the time text overlap the icons also makes them difficult to identify at certain points along the bar. I'd much rather have the icons on top.

3) The maximum displayed duration is fixed at 9 minutes (), with no way to change it. On my hunter, for example, the longest cooldown I care about has a 5-minute duration, so half of the bar is never used.

4) A minor cosmetic issue; the "pulse" effect when a cooldown finishes looks somewhat awkward. Rather than smoothly pulse in and fade out like other addons with similar effects, the pulse-in is rather jumpy (this is especially noticeable when it's happening at the same time as an OmniCC pulse; maybe your OnUpdate is throttled too much?) and then just hangs at the maximum size for a second before disappearing.
1) I already changed the alpha on my local copy (I end up not liking it, too). Removing the dynamic alpha will help CPU performance as well.

2) The icon alpha change mentioned in #1 will probably solve #2 along with font tweaking in the options. I'm sure some will hate the icon covering the time text.

3) The 9m is really 10m since the text is inside the bar, and "10m" takes up too much space. All the main classes I use including some others have 10m cooldowns. It's a compromise. I don't know why the 10m length bothers people so much...the 3m-10m is a small section of the bar and supports many cooldowns. This mod main purpose is to let you know what spells are on cooldown and their ETA, not which spells are about to be ready.

4) The pulse effect issue is probably just lag caused by other cooldown related mods. The icon doubles in size then immediately fades away...no pauses and not throttled at that point. Try running CoolLine by itself to see if it still happens.

I'll release an update later this evening after some testing.
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 06-01-09, 06:45 AM  
Copper1956
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 23
Uploads: 1
Profiles?

Are you going to make a profile system so one can configure the mod differently for alts?
Last edited by Copper1956 : 06-01-09 at 06:46 AM.
Copper1956 is offline Report comment to moderator  
Reply With Quote
Unread 06-02-09, 12:55 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 882
Uploads: 2
Re: Profiles?

Originally posted by Copper1956
Are you going to make a profile system so one can configure the mod differently for alts?
Nope, see alternatives for this feature.
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 06-11-09, 06:40 PM  
Phazix
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Scale the icon size upon cooldown end

I just downloaded this mod for my hunter and am loving it! I am new to LUA and not very good at it. I am looking to increase the size of the icon upon cooldown finishing. I would like it to be a bit larger to draw more attention to it. Any help would be greatly appreciated. 8)
Phazix is offline Report comment to moderator  
Reply With Quote
Unread 06-13-09, 02:31 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 882
Uploads: 2
Re: Scale the icon size upon cooldown end

Originally posted by Phazix
I just downloaded this mod for my hunter and am loving it! I am new to LUA and not very good at it. I am looking to increase the size of the icon upon cooldown finishing. I would like it to be a bit larger to draw more attention to it. Any help would be greatly appreciated. 8)
Play with lines 274-276; it's more about math than coding. I'll probably hard code a size increase in the next release (not anytime soon).
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 06-14-09, 04:46 PM  
Led ++
A Frostmaul Preserver
 
Led ++'s Avatar
AddOn Compiler - Click to view compilations

Forum posts: 254
File comments: 68
Uploads: 2
Nice addon, ForteLight .. just what I needed.

Anyway I have just 1 little "problem". I would want to use the Pixelfont I use in the rest of my UI but it has to have size 9 to look sharp, problem is the addon doesnt support that as it goes from 8 to 10 and so forth. Perhaps an easy way to fix this? A line I just have to change in .lua?
Led ++ is offline Report comment to moderator  
Reply With Quote
Unread 06-15-09, 02:19 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 882
Uploads: 2
Originally posted by Led ++
Nice addon, ForteLight .. just what I needed.

Anyway I have just 1 little "problem". I would want to use the Pixelfont I use in the rest of my UI but it has to have size 9 to look sharp, problem is the addon doesnt support that as it goes from 8 to 10 and so forth. Perhaps an easy way to fix this? A line I just have to change in .lua?
I'll add this in the next major release (I don't like to release some unimportant changes), but for you can replace lines 740-742 with this:
Code:
					for i = 5, 12, 1 do
						AddSelect(lvl, i, "fontsize", i)
					end
					for i = 14, 28, 2 do
						AddSelect(lvl, i, "fontsize", i)
					end
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 06-16-09, 05:15 AM  
Led ++
A Frostmaul Preserver
 
Led ++'s Avatar
AddOn Compiler - Click to view compilations

Forum posts: 254
File comments: 68
Uploads: 2
Worked like a charm. Thank you.
Led ++ is offline Report comment to moderator  
Reply With Quote
Unread 06-17-09, 05:01 PM  
Samqqa
A Kobold Labourer

Forum posts: 0
File comments: 43
Uploads: 0
Death Knight

Hey I just tried your nice addon but came across a little problem. I was wondering that is it possible to filter cooldowns on runes? For example when my blood runes are on cooldown then I see a random icon on 10 sec cooldown. Is there anyway around this since I find it pretty annoying :C I'm using ouf unitframes and ouf_runebar
Samqqa is offline Report comment to moderator  
Reply With Quote
Unread 06-17-09, 05:20 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 882
Uploads: 2
Re: Death Knight

Originally posted by Samqqa
...I was wondering that is it possible to filter cooldowns on runes?...
No way to determine if a spell is on cooldown because it was used, was spell locked, or has shared cooldowns. You can put some spells that have a cooldown and requires Runes into the filter (such as Death Gate), but it would be crap for other spells (ie. Rune Tap).
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 06-23-09, 10:17 PM  
lastpawn
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
While I love this addon and use it religiously, using it with my DK (newly created) drives me nuts.

When the blood runes are on cooldown, the Blood Presence icon runs down. Now, this would be OK (though I'd prefer to leave runes off of CoolLine) except that unholy and frost runes are do NOT appear while on cooldown.

I read your earlier comment that you'd be unable to filter runes (what I hoped for), so is it at least possible to make the other runes' cooldowns appear as well? This way there would be consistency.

Anyway, thanks for the work you put into this, like I said earlier, it's very useful.
lastpawn is offline Report comment to moderator  
Reply With Quote
Unread 06-24-09, 02:33 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 882
Uploads: 2
Originally posted by lastpawn
...When the blood runes are on cooldown, the Blood Presence icon runs down. Now, this would be OK (though I'd prefer to leave runes off of CoolLine) except that unholy and frost runes are do NOT appear while on cooldown...
There's really no way around this, and it's too complex to explain. Only spells with a cooldown are scanned (Blood Strike is never scanned since it doesn't have an on-use cooldown, but Rune Tap is since it has a 30 second cooldown). In other words, if it doesn't say in the tooltip that it has a cooldown, it won't show.

No other class trigger cooldowns due to lack of power (mana, energy) like DK's runes. Things get more complicated if you consider death runes.

I haven't seen any cooldown mod that supports this behavior, and I can't imagine it being doable. Only suggestion is to disable it for your DK. I use it for my DK, but I'm paying more attention to my runes and runic power.
totalpackage is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.