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 05:18 PM
Downloads:97,207
Favorites:537
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 08: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 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 02-16-09, 02:03 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 873
Uploads: 2
Originally posted by Alkar
Just wondering if u plan on adding a feature to scale it some? would like mine just a bit bigger but all in all great addon
Scale as in increase the time range of the cooldowns, or scale as increasing the width/height? I already said no time scaling, and there's already a way to resize the bar (unlock -> drag resize button).
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 02-16-09, 10:06 AM  
Alkar
A Chromatic Dragonspawn
 
Alkar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 195
File comments: 103
Uploads: 4
Just wondering if u plan on adding a feature to scale it some? would like mine just a bit bigger but all in all great addon
__________________
Alkar is offline Report comment to moderator  
Reply With Quote
Unread 02-16-09, 04:45 AM  
plastic_toy
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 3
Uploads: 1
Originally posted by totalpackage
If you're asking that, then you should be able to strip all that yourself. It's not much, anything with ShowOptions, db, and smed.
Thank you for tips. Stripped and modified those bytes, everything seems to be working well. Now only 15 kb mem-usage.
plastic_toy is offline Report comment to moderator  
Reply With Quote
Unread 02-16-09, 12:57 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 873
Uploads: 2
Originally posted by plastic_toy
...One question: do you have its version without any lib-deps, gui and savedVars? So that all options could be set up through lua...
If you're asking that, then you should be able to strip all that yourself. It's not much, anything with ShowOptions, db, and smed.
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 02-16-09, 12:36 AM  
plastic_toy
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 3
Uploads: 1
totalpackage, thanks for a great addon. Works smooth and great. I really like it.

One question: do you have its version without any lib-deps, gui and savedVars? So that all options could be set up through lua.

Again, awesome work.
plastic_toy is offline Report comment to moderator  
Reply With Quote
Unread 02-15-09, 12:43 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 873
Uploads: 2
The other cooldown mods mentioned in the description allows you to adjust the scale; check those out.

CoolLine main use is to show what spells/items you do have on cooldown and about when they will be ready, not just spells that are about to be ready. Zero to 10m mark probably covers 95% of all the spells with cooldowns.
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 02-15-09, 06:02 AM  
KhabalShatteredHand
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
TotalPackage did an awesome job at coding this addon, which made it very easy for me to modify. I modified these sections of core.lua to change the scale of the bar. Seems to work perfectly. Beware though, I did delete the part of the code that made the icons get bigger during the last .3 seconds, and also the fading out part. As soon as the cooldown hits zero the spell icon instantly disappears. The scale is 0s-1s-2s-3s-4s-20s-2m, and I like it a whole lot better.

Code:
		tick0 = createfs(tick0, "0", 0, "LEFT")
		tick1 = createfs(tick1, "1", section)
		tick10 = createfs(tick10, "2", section * 2)
		tick30 = createfs(tick30, "3", section * 3)
		tick60 = createfs(tick60, "4", section * 4)
		tick120 = createfs(tick120, "20", section * 5)
		tick300 = createfs(tick300, "120", section * 6, "RIGHT")
Code:
local ctime = GetTime()
	isactive, throt = false, 1.5
	for name, frame in pairs(cooldowns) do
		local remain = frame.endtime - ctime
		local alpha = .8
		if remain < 3 then
			if remain > 2 then
				SetupIcon(frame, section * (2 + (remain - 2) / 1), alpha, 0, true, ctime)
			elseif remain > 1 then
				SetupIcon(frame, section * (1 + (remain - 1) / 1), alpha, 0, true, ctime)
			elseif remain > 0.3 then
				SetupIcon(frame, section * remain, alpha, 0, true, ctime)
			elseif remain > 0 then
				
				SetupIcon(frame, section * remain, alpha, 0, true, ctime)
			else
				throt, isactive = min(throt, 0.2), true
				ClearCooldown(frame)
			end
		elseif remain < 4 then
			SetupIcon(frame, section * (3 + (remain - 3) / 1), alpha, 0, true, ctime)
		elseif remain < 20 then
			SetupIcon(frame, section * (4 + (remain - 4) / 16), alpha, 0.05, true, ctime)
		elseif remain < 120 then
			SetupIcon(frame, section * (5 + (remain - 20) / 100), 0.4, .15, true, ctime)
		else
			SetupIcon(frame, 6 * section + db.h, 0, 1.5, false, ctime)
		end
	end
KhabalShatteredHand is offline Report comment to moderator  
Reply With Quote
Unread 02-15-09, 04:43 AM  
KhabalShatteredHand
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Nice mod, but a smaller scale would make it a lot nicer. If I could adjust the scale, I probably put it at 0-1-2-3-4-5-10.
KhabalShatteredHand is offline Report comment to moderator  
Reply With Quote
Unread 02-14-09, 10:24 PM  
Eas
A Rage Talon Dragon Guard
 
Eas's Avatar
AddOn Author - Click to view AddOns

Forum posts: 311
File comments: 6
Uploads: 4
Very nice addon. Been looking for something like this for awhile!
Eas is offline Report comment to moderator  
Reply With Quote
Unread 02-14-09, 08:12 PM  
gothicknight
A Flamescale Wyrmkin
 
gothicknight's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 131
File comments: 95
Uploads: 1
Originally posted by Feist
Can this track buff/debuff fades along with cooldowns?

If so, I'm in love.
Quoted from the description page

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.
__________________

gothicknight is offline Report comment to moderator  
Reply With Quote
Unread 02-11-09, 05:23 PM  
Feist
A Murloc Raider

Forum posts: 6
File comments: 15
Uploads: 0
Can this track buff/debuff fades along with cooldowns?

If so, I'm in love.
Feist is offline Report comment to moderator  
Reply With Quote
Unread 02-09-09, 10:45 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 873
Uploads: 2
Originally posted by Sarmion
This change has not helped me
No idea then, sorry.
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 02-09-09, 08:27 PM  
Sarmion
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Originally posted by totalpackage
If you can, edit and test a change by replacing lines 310 and 311 in core.lua with this:
Code:
local cooldown1 = gsub(SPELL_RECAST_TIME_MIN, "%%%.%d[fg]", "(.+)")
local cooldown2 = gsub(SPELL_RECAST_TIME_SEC, "%%%.%d[fg]", "(.+)")
Edit: Nevermind, try testing the latest update instead.
This change has not helped me
Last edited by Sarmion : 02-09-09 at 08:29 PM.
Sarmion is offline Report comment to moderator  
Reply With Quote
Unread 02-09-09, 08:24 PM  
Carighan
A Defias Bandit
 
Carighan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 96
Uploads: 2
Just earlier today I was telling a guildie how I'd be \o/ if someone rips out the cooldown from ForteXorcist, and removes al the unnecessary fluff and rips it down to just the logarithmic bar.

Many thanks for this mod, looks awesome after a brief setup ingame.

I do know you're not hot on feature requests, but one thing I'd like to bring up though I don't have an idea fo a solution which isn't unecessary fluff: For many classes, trinkets/items have the same icons as their abilities, making the cooldowns confusing.
And no, no clue if there as an easy and minimal way to do something about that.

But doesn't have to be changed really, love the mod already.
__________________
SQUEAK.
--(The Death of Rats, Terry Pratchett, Soul Music)
Carighan is offline Report comment to moderator  
Reply With Quote
Unread 02-09-09, 08:00 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 873
Uploads: 2
Originally posted by search66
After playing with it a bit more... Just to clarify... to EXCLUDE an item/spell....

/coolline <item>
Yea, spell or item name (not link). If it already exists in the filter, it will be removed.
Last edited by totalpackage : 02-09-09 at 08:02 PM.
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.