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)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:10-20-14 09:39 PM
Created:02-09-09 05:18 PM
Downloads:97,759
Favorites:539
MD5:
6.0.2
CoolLine  Updated less than 3 days ago!  Popular! (More than 5000 hits)
Version: 6.0.001
by: totalpackage [More]
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 09-15-11, 03:17 PM  
Pyrates
A Theradrim Guardian
 
Pyrates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 134
Uploads: 4
Hey great addon, thanks for making it Two questions, though:

Since you're using OnUpdate-throttling, the icons move in visible steps through the bar. It's not really bad by itself, but the border of the icon becomes thicker and thinner, which is kinda unnice to look at. Do you have any idea how to fix that? Or is it a problem on my side?

Secondly (and somewhat more important to me ), I'd like to disable CoolLine from another addon and then enable it again. My idea is to use

Code:
CoolLine:UnregisterAllEvents()
CoolLine:SetScript("OnUpdate",nil)
CoolLine:Hide()
to disable it. It's not enough, I'd need to deal with the spellthrot frame, so I'd probably use "CoolLine.spellthrot=spellthrot" to make it available and then add "CoolLine.spellthrot:SetScript("OnUpdate",nil)" to the above.

To enable, I'd use

Code:
CoolLine:PLAYER_LOGIN()
CoolLine:PLAYER_ENTERING_WORLD()
CoolLine.spellthrot:SetScript("OnUpdate",CoolLine.spellthrot.onupdate)
to enable it again, where I defined the function CoolLine.spellthrot.onupdate appropriately in core.lua. Would that work? I could fiddle with the blocked stuff and inactivealpha to hide it, but then the event handler would be called all the time... I'd really appreciate help on this, I'm not sure I've really caught everything

(e) Ok, just another thing I thought of. When starting the addon, you collect all spells with a CD in spells[btype]. Then you check (on throttled update) the cooldown and use NewCooldown as appropriate, if the spell is not blocked. Wouldn't it be better to just collect the non-blocked spells in spells[btype] so you don't use GetSpellCooldown on blocked spells that often?
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Last edited by Pyrates : 09-15-11 at 03:21 PM.
Pyrates is offline Report comment to moderator  
Reply With Quote
Unread 08-21-11, 03:11 AM  
nin
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 210
File comments: 76
Uploads: 1
This addon is ace!

I have a question though if you wouldn't mind pointing me in the right direction.

I would love too be able too hook my cooldowncount timers that i usually have on my icons too the icons in coolline.. hope that makes sense

thanks!
nin is offline Report comment to moderator  
Reply With Quote
Unread 08-04-11, 09:16 PM  
samishii23
An Aku'mai Servant

Forum posts: 33
File comments: 1
Uploads: 0
Neat

This addon looks to me like "Sexy Cooldown".
Which btw I liked but it wasn't kept up to date though so was a few patches behind. Gonna have to try it out.
samishii23 is offline Report comment to moderator  
Reply With Quote
Unread 07-30-11, 11:41 AM  
handrogue
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hello,

First, i just found this addon, and it's just ideal. Simple but it really does the work done.
I saw a small visual bug (i think) : when two icons overlap, sometimes the one on top change and in a fewer times, it's happening until the end of the cooldown.

After some use, a few ideas came in mind :
- At the end of a cooldown, the icon grows at the beginning of the timeline. A nice feature would be to chose the location of this, and the duration.
- Possiblity to change the time steps of the timeline. For exemple, i change it to 1-5-10-30-60-120-360
- Add the compatibilty with buttonfacade for the icons

For the first two, i have changed the lua to my needs, but as i changed it, other may need it also.

For the third, it's purely cosmetic, but if you have the time, it would be great

Anyway, this adon is almost perfect, and i managed to solve the few need i had so thank you
handrogue is offline Report comment to moderator  
Reply With Quote
Unread 07-30-11, 08:31 AM  
Bhauk
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
It seems for me that any time I switch to holy/ret I have to reload the UI or holy shock/crusader strike won't show on coolline.
Bhauk is offline Report comment to moderator  
Reply With Quote
Unread 07-23-11, 11:39 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 879
Uploads: 2
Re: suggestion

Originally posted by oldcat
i love this addon and i have some suggestion.

in core.lua
line #423

else
CLTip:SetSpellBookItem(i, btype)

>>
elseif not IsPassiveSpell(i, btype) then
CLTip:SetSpellBookItem(i, btype)

it may decrease cpu time to search tooltip.
thx totalpackage.
Thanks, I prioritize performance, so I'll look into this when I get the chance.
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 07-23-11, 06:37 AM  
oldcat
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
suggestion

i love this addon and i have some suggestion.

in core.lua
line #423

else
CLTip:SetSpellBookItem(i, btype)

>>
elseif not IsPassiveSpell(i, btype) then
CLTip:SetSpellBookItem(i, btype)

it may decrease cpu time to search tooltip.
thx totalpackage.
oldcat is offline Report comment to moderator  
Reply With Quote
Unread 07-10-11, 05:34 PM  
zoktar
A Cliff Giant
AddOn Compiler - Click to view compilations

Forum posts: 72
File comments: 265
Uploads: 1
hey love your addon, it works really well with deathknight cooldowns, it accually shows when a rune cost cooldown is off its cooldown and not just off cooldown and having the rune avaible. most other types of line cd addons, start pushing out everything that has a rune cost into it just cause wow says its off cooldown when runes are. deathstrike, scourge strike, plague strike, etc. sorry bit off topic of my question ;P.

anyways, i was wondering have you considered masque/buttonfacade support?. and or is there any reasonably easy way to alter the icons?.

http://www.wowace.com/addons/masque/

tho buttonfacade isnt beeing updated, masque is the new replacement, also capable of loading almost all old buttonfacade icon packs.

edit also one small improvement would possibly be to be able to move the cooldown finnish icon. at the end of the bar, usually like that closer to the middle where my char is =).

cheers.

edit2: thought of another small improvment, having icons not stack, and rather just line up as is. might not be convenent if you dont have a decent width on coolline but if you do its a little easyer to tell whats up.
Last edited by zoktar : 07-10-11 at 05:54 PM.
zoktar is offline Report comment to moderator  
Reply With Quote
Unread 06-14-11, 05:02 PM  
Forage
A Murloc Raider

Forum posts: 6
File comments: 26
Uploads: 0
Message: Interface\AddOns\CoolLine\core.lua:786: attempt to perform arithmetic on field 'a' (a nil value)
Time: 06/14/11 16:06:34
Count: 1
Stack: Interface\AddOns\CoolLine\core.lua:786: in function <Interface\AddOns\CoolLine\core.lua:781>
Interface\AddOns\CoolLine\core.lua:799: in function `initFunction'
Interface\FrameXML\UIDropDownMenu.lua:69: in function `UIDropDownMenu_Initialize'
Interface\FrameXML\UIDropDownMenu.lua:792: in function `ToggleDropDownMenu'
Interface\AddOns\CoolLine\core.lua:853: in function `?'
Interface\FrameXML\ChatFrame.lua:4221: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3832: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3870: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: lvl = 1
text = "Texture Color"
value = "bgcolor"
dbc = <table> {
1 = 0
2 = 0
3 = 0
4 = 0.64000001549721
}
(*temporary) = <table> {
hasOpacity = 1
hasColorSwatch = true
}
(*temporary) = <table> {
hasOpacity = 1
hasColorSwatch = true
}
(*temporary) = <table> {
hasOpacity = 1
hasColorSwatch = true
}
(*temporary) = <table> {
hasOpacity = 1
hasColorSwatch = true
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on field 'a' (a nil value)"
db = <table> {
hidebag = false
bgcolor = <table> {
}
border = "Blizzard Tooltip"
statusbar = "Cilo"
fontsize = 20
block = <table> {
}
spellcolor = <table> {
}
hideinv = false
nospellcolor = <table> {
}
inactivealpha = 0.5
bordercolor = <table> {
}
w = 405
y = -563
font = "Impact"
dbinit = 1
hidefail = true
x = 1
h = 44
fontcolor = <table> {
}
activealpha = 1
}
info = <table> {
hasOpacity = 1
hasColorSwatch = true
}
SetColor = <function> defined @Interface\AddOns\CoolLine\core.lua:726
AddButton = <function> defined @Interface\AddOns\CoolLine\core.lua:745



Started getting this just recently not sure what the exact cause is. That is with only coolline enabled.
Last edited by Forage : 06-14-11 at 05:08 PM.
Forage is offline Report comment to moderator  
Reply With Quote
Unread 05-30-11, 09:44 AM  
Abaregi
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Change timer to max 20 sec?

Great addon, really like it.
Is there a way to change the timer? Would just like it to go up to 20sec.
Can't seem to find it in the config.
Thanks for any help!
Abaregi is offline Report comment to moderator  
Reply With Quote
Unread 05-17-11, 11:36 PM  
lynlyn
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Bear Swipe

For some reason, swipe(bear form) does not appear for me, I have tried adding it with:

/script CoolLine.NewCooldown('swipe(bear form)','Interface\\Icons\\INV_Misc_MonsterClaw_03',3,true);

but it did not work =/ Is this a problem on my side or is there a way to possibly add it?
Last edited by lynlyn : 05-17-11 at 11:36 PM.
lynlyn is offline Report comment to moderator  
Reply With Quote
Unread 03-02-11, 02:40 PM  
yeoie
A Defias Bandit

Forum posts: 2
File comments: 7
Uploads: 0
Circle of Healing

Im really hoping someone can explain to me how to add Circle of Healing to Coolline, the only real addon lua type knowledge i have is how to make and edit my unit frames. So im having a hard time understanding how Coolline works.

Any help would be AMAZING.

Thanks for the great addon and all the support!

Keep up the good work.
yeoie is offline Report comment to moderator  
Reply With Quote
Unread 03-01-11, 02:08 AM  
Jealousy
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
background

how do you change the background to something cool?
Jealousy is offline Report comment to moderator  
Reply With Quote
Unread 02-19-11, 02:35 AM  
PookieJunk
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I'm not sure if this has been answered before, but there are two moves I'm trying to filter off of the bar. One of them is Bloodthirst, which when used, puts an icon of an axe across coolline. I'm not sure what the name of the icon is going across the bar so I can't filter it. I'm having the same problem with pummel. If I filter it, instead of the pummel icon coming up, it's the shield bash one. I've tried 'coolline Pummel' and 'coolline Shield Bash' and the icon still comes up, just like with Bloodthirst. Is this a bug or is there something else going on that I'm not aware of?
PookieJunk is offline Report comment to moderator  
Reply With Quote
Unread 02-17-11, 03:44 PM  
Yakvi
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Can this addon track beacon on target? when it finishes.
Yakvi 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.