Download
(19 Kb)
Download
Updated: 09-20-13 10:28 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:09-20-13 10:28 PM
Created:02-09-09 04:18 PM
Downloads:96,769
Favorites:533
MD5:
5.4
CoolLine  Popular! (More than 5000 hits)
Version: 5.4.001
by: totalpackage [More]
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.
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 (14)
File Name
Version
Size
Author
Date
5.3.002
19kB
totalpackage
06-06-13 05:20 PM
5.3.001
18kB
totalpackage
06-05-13 09:27 PM
5.2.002
18kB
totalpackage
04-28-13 05:07 PM
5.2.001
18kB
totalpackage
03-10-13 04:59 PM
5.1.001
18kB
totalpackage
12-08-12 07:33 AM
5.0.004
18kB
totalpackage
09-18-12 09:10 PM
5.0.003
18kB
totalpackage
09-11-12 07:52 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 04: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
Old 04-29-13, 05:33 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 309
File comments: 1378
Uploads: 60
Hey Total! I was wondering if I could have a small addition to coolline?

Additional options for border size and border insets as shown here:

http://pastebin.com/tx5Ks8jh

or direct download:

https://dl.dropboxusercontent.com/u/14186909/core.lua
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Old 04-22-13, 08:53 PM  
mal1ce
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
frost bomb plssss

frost bomb's cooldown wont work, and adding it wont work either. fix it and i will love u forever.
mal1ce is offline Report comment to moderator  
Reply With Quote
Old 04-13-13, 07:00 PM  
actun
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
FROST BOMB

hi, frost bomb on mages dont work whit this addon, i try to add it, /coolline frost bomb, but dont work.
actun is offline Report comment to moderator  
Reply With Quote
Old 04-03-13, 08:39 AM  
Valkari
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
This is exactly what I’ve been looking for, but the bar is constantly resizing itself automatically to a default length, about three times longer then what I set it to. I downloaded this in a generic compilation, so I was thinking maybe there is a setting somewhere that has to do with my resolution, but I can’t find it.

Is there any known issues with this addon behaving this way?
Valkari is offline Report comment to moderator  
Reply With Quote
Old 03-27-13, 03:40 PM  
Grandchamp
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hey folks,

this addon is exactly what I was searching for, since most of my Warri MS makros blocks the CD´s. But I have a major problem, I cant join queue´s. When I try to join the WoW UI blocks it. I can deactive or ignore it, but when I ignore it I wont join the queue.

Thanks in advance for your time and help.
Grandchamp is offline Report comment to moderator  
Reply With Quote
Old 03-26-13, 08:40 PM  
bizadin
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Re: Re: question

Originally Posted by Abaregi
Originally Posted by bizadin

Navigate to your Cool Line folder and make the following changes to the core.lua file:
snip
Thanks a lot! It is working great now.
No problem, glad i could help.

Originally Posted by totalpackage
I thought monochrome was recently disabled in the game.

As always, the time scale will be static as is for performance reasons.
What do you mean "performance reasons"?

You're calling the refresh of the icon at the same rate, all that changes is the formula to change the rate at which it changes per time position.

I gave lots of comments in my code snippet for you to make this dynamic. Which is a really great option.

<3 i still love and use this addon regardless =D
bizadin is offline Report comment to moderator  
Reply With Quote
Old 03-10-13, 05:55 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3977
File comments: 1913
Uploads: 38
Originally Posted by totalpackage
Mind providing the solution? I did this for another mod, but no one told me if it works...since I cannot test such a feature.
You can either do it manually using events:

Code:
CoolLine:RegisterEvent("PET_BATTLE_OPENING_START")
CoolLine:RegisterEvent("PET_BATTLE_CLOSE")

CoolLine.PET_BATTLE_OPENING_START = CoolLine.Hide
CoolLine.PET_BATTLE_CLOSE = CoolLine.Show
...or use a state driver:

Code:
local hider = CreateFrame("Frame", "CoolLinePetBattleHider", UIParent)
hider:SetAllPoints(true)
RegisterStateDriver(hider, "visibility", "[petbattle] hide; show")

CoolLine:SetParent(hider)
The state driver method is more useful if you're already calling Hide and Show on your frame in other circumstances, since it means you don't have to complicate your logic with additional checks for pet battles, while the event method doesn't require creating an additional frame. They both give the same end result.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 03-10-13 at 05:57 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Old 03-06-13, 01:37 PM  
Siannus
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 72
Uploads: 2
So, Im on my fire mage, why doesnt this addon keep track of Living Bomb?
Siannus is offline Report comment to moderator  
Reply With Quote
Old 03-03-13, 08:42 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 872
Uploads: 2
Originally Posted by Phanx
Could we get an option (or just a feature; it doesn't really need an option) to hide CoolLine during pet battles?
Mind providing the solution? I did this for another mod, but no one told me if it works...since I cannot test such a feature.
totalpackage is offline Report comment to moderator  
Reply With Quote
Old 03-02-13, 09:08 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3977
File comments: 1913
Uploads: 38
Could we get an option (or just a feature; it doesn't really need an option) to hide CoolLine during pet battles?
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Old 12-22-12, 07:53 AM  
Greensleeper
A Defias Bandit

Forum posts: 2
File comments: 30
Uploads: 0
outline

Hello,

Prolly a silly question but how do I get an outline on the font?

really cool addon (as the name suggests), it allowes me to free up a lot of real-estate on my screen !

EDIT: problem solved. thanks to a post on mmo champ.

for anyone else looking for this:

find the line
Code:
fs:SetFont(smed:Fetch("font", db.font), db.fontsize)
change it to
Code:
fs:SetFont(smed:Fetch("font", db.font), db.fontsize, "OUTLINE")
Last edited by Greensleeper : 12-23-12 at 04:40 AM.
Greensleeper is offline Report comment to moderator  
Reply With Quote
Old 12-11-12, 06:22 PM  
Abaregi
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Re: question

Originally Posted by bizadin

Navigate to your Cool Line folder and make the following changes to the core.lua file:
snip
Thanks a lot! It is working great now.
Abaregi is offline Report comment to moderator  
Reply With Quote
Old 12-09-12, 10:19 PM  
steste78
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 7
File comments: 12
Uploads: 2
Icon Expire

When the icon expires on the cool down bar it gets really big is there a way not to make it as big
steste78 is offline Report comment to moderator  
Reply With Quote
Old 12-08-12, 04:39 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 872
Uploads: 2
I thought monochrome was recently disabled in the game.

As always, the time scale will be static as is for performance reasons.
totalpackage is offline Report comment to moderator  
Reply With Quote
Old 12-04-12, 06:54 AM  
Vocal
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Is it possible to enable Monochrome on fonts? I've had a dig through the lua and didn't find any font flags or anything, maybe I'm not looking hard enough.
Vocal 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.