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:105,141
Favorites:533
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 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: 22
File comments: 898
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
Unread 08-03-09, 03:21 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 898
Uploads: 2
One line, people. One line. That method can have 3 or more spells stacking as well. Maybe CoolLine is just not for those who have a problem with overlapping icons; there are plenty of clear, multi-line cooldown mods.
Report comment to moderator  
Reply With Quote
Unread 08-03-09, 12:47 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4590
Uploads: 18
That might be a good way to do it!
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 08-02-09, 08:34 PM  
evenflowdx
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hi great mod

I was wondering if it was possible to get an option put in there to have rather than the icons overlap each other when they're coming off CD at the same time, have them above/below each other on the bar, still keeping the icons the same size, eg they would clip outside of the bar a little bit above and below.
Report comment to moderator  
Reply With Quote
Unread 08-01-09, 02:29 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 898
Uploads: 2
Originally posted by daphoosa
Is there any possibility you'd add an option for outlining the text?

I'm having a hard time making the time text show clearly when it is in front of some icons.
I don't want to go overboard on text options. Visibility shouldn't be a concern since you should know by now what the text reads, and the bar is symmetrical. I've seen some people actually make the text less visible or hide them completely.

I'll hard-code in text shadow and make the shadow the same color as the background. I won't release until 3.2 unless I make any significant changes.
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 09:39 AM  
daphoosa
A Kobold Labourer
 
daphoosa's Avatar

Forum posts: 0
File comments: 12
Uploads: 0
Is there any possibility you'd add an option for outlining the text?

I'm having a hard time making the time text show clearly when it is in front of some icons.
Report comment to moderator  
Reply With Quote
Unread 07-29-09, 01:18 AM  
Heimdall
A Murloc Raider

Forum posts: 9
File comments: 10
Uploads: 0
Re: Re: change the lenght (in time) of coolline

Originally posted by totalpackage
Last version is 6 minutes, and no, you can't change it.
Thanks for the answer, i will update today
Report comment to moderator  
Reply With Quote
Unread 07-28-09, 09:37 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 898
Uploads: 2
Re: change the lenght (in time) of coolline

Originally posted by Heimdall
...I don't know if i miss the configuration option but it's possible to change the setting of the time line? Default is 9 min but i didn't find a way to change it...
Last version is 6 minutes, and no, you can't change it.
Report comment to moderator  
Reply With Quote
Unread 07-28-09, 08:07 AM  
Heimdall
A Murloc Raider

Forum posts: 9
File comments: 10
Uploads: 0
change the lenght (in time) of coolline

Hi all,
i don't know if i miss the configuration option but it's possible to change the setting of the time line? Default is 9 min but i didn't find a way to change it.

Regards
Report comment to moderator  
Reply With Quote
Unread 07-27-09, 03:27 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 898
Uploads: 2
Originally posted by Darxon
Getting this error when trying to change borders or fonts ( changing textures works fine )...
Hmm, do you have borders or fonts named with just numbers?
Report comment to moderator  
Reply With Quote
Unread 07-27-09, 03:19 PM  
Darxon
A Warpwood Thunder Caller
AddOn Compiler - Click to view compilations

Forum posts: 92
File comments: 65
Uploads: 2
Getting this error when trying to change borders or fonts ( changing textures works fine )

Code:
Interface\AddOns\CoolLine\core.lua:684: attempt to perform arithmetic on a nil value
Count: 4

Call Stack:
[C]: ?
Interface\AddOns\CoolLine\core.lua:684: in function <Interface\AddOns\CoolLine\core.lua:679>
Interface\AddOns\CoolLine\core.lua:733: in function `initFunction'
Interface\FrameXML\UIDropDownMenu.lua:69: in function `UIDropDownMenu_Initialize'
Interface\FrameXML\UIDropDownMenu.lua:715: in function `ToggleDropDownMenu'
[string "*:OnEnter"]:5: in function <[string "*:OnEnter"]:1>

Using the latest version from wowinterface
__________________
Report comment to moderator  
Reply With Quote
Unread 07-27-09, 03:10 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 898
Uploads: 2
Originally posted by Nymie
Ya it just occured to me that VT's no CD makes it the reason it doesn't show. I was in the mind-set that it functioned as FaceMelter, argh. Will customization be available down the road? (or possibly a DoT timer function?)
Still, awesome job on it. Thanks!
See description. If you want a debuff tracker, there are plenty of mods for that.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: