Download
(17Kb)
Download
Updated: 08-19-18 03:41 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-19-18 03:41 PM
Created:02-09-09 05:18 PM
Downloads:124,964
Favorites:531
MD5:

CoolLine  Popular! (More than 5000 hits)

Version: 8.0.002
by: totalpackage, Phanx, Uitat

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.

CoolLine
8.0.002 (2018-08-19)
Full Changelog Previous releases
  • Remove special treatment for obsolete DK spells
Post A Reply Comment Options
Unread 09-04-09, 06:24 PM  
Kavin
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
display at combat

I hope display at combat, hide at nocombat. Can you add the options?
Report comment to moderator  
Reply With Quote
Unread 09-04-09, 05:26 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
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: 21
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: 27
File comments: 940
Uploads: 10
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: 21
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: 112
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: 27
File comments: 940
Uploads: 10
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: 27
File comments: 940
Uploads: 10
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
Post A Reply



Category Jump: