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,907
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 11-27-11, 11:43 AM  
Siannus
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 90
Uploads: 2
I have only 2 things.

1) Is this going to be updated for 4.3?

2) Is there any way to remove SavedVariablesPerCharacter in it so that it only uses SavedVariables?

This way I can utilize it as a global setting for my UI. Some of the addons Ive used has had SavedVariablesPerCharacter, I simply changed it to SavedVariables and it works flawlessly, however, in this addon, it has both.

Thanks...
Report comment to moderator  
Reply With Quote
Unread 11-11-11, 04:18 PM  
twopro
A Defias Bandit

Forum posts: 3
File comments: 187
Uploads: 0
problem

coolline isn't showing my killing spree cooldown or adrenaline rush cd



weird nevermind, it fixed itself somehow? shrug
Last edited by twopro : 11-11-11 at 06:01 PM.
Report comment to moderator  
Reply With Quote
Unread 10-30-11, 11:34 PM  
twopro
A Defias Bandit

Forum posts: 3
File comments: 187
Uploads: 0
another question

is there a way to do separate profiles cause i set up coolline on rogue and same bar shows up on all my characters.
Report comment to moderator  
Reply With Quote
Unread 10-30-11, 06:54 PM  
twopro
A Defias Bandit

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

hey, can you tell me if i'm overlooking an option


i would like to show cool down timers in this order


0 -------1------3--------10--------30--------60


normaly i do pvp when i do pvp i normaly don't wait on any cd past 60seconds given the nature of content


is there a way to switch it up on /coolline?

if not i can deal with it i guess
Report comment to moderator  
Reply With Quote
Unread 09-18-11, 06:58 AM  
bizzy100
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 1
Is it possible to add trinket/proc internal cooldowns to the bar?
Report comment to moderator  
Reply With Quote
Unread 09-17-11, 08:10 AM  
Pyrates
A Cliff Giant
 
Pyrates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 77
File comments: 280
Uploads: 4
Thanks for your help I didn't know about OnUpdate on hidden frames, that's very usefull, thanks!

Originally posted by totalpackage
For your "thicker and thinner" issue, that's because of anti-aliasing. If you have a decent graphics card, you can enable anti-aliasing in the graphics options.
I tried doing that, but it didn't help. I also forced AA off and tried every other setting (qualities are available), but nothing changed. I'm using tukui, could that be related to the pixel-perfect issue that's somehow worked around?
__________________
" ... 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-17-11 at 08:10 AM.
Report comment to moderator  
Reply With Quote
Unread 09-15-11, 08:39 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
For your "thicker and thinner" issue, that's because of anti-aliasing. If you have a decent graphics card, you can enable anti-aliasing in the graphics options.

You're in the right direction and seems like you do not need my help enabling/disabling. You do not need to nil out the OnUpdate script; just hide the frame since OnUpdate doesn't run on a hidden frame.
Report comment to moderator  
Reply With Quote
Unread 09-15-11, 03:17 PM  
Pyrates
A Cliff Giant
 
Pyrates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 77
File comments: 280
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.
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: 213
File comments: 83
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!
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.
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
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.
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: 27
File comments: 940
Uploads: 10
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.
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.
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: 262
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: