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,937
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 12-01-12, 06:00 PM  
bizadin
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Warlock "Special Spells"

I noticed a few spells were missing, was quite suprised this worked...

Code:
	
	elseif class == "WARLOCK" then
		specialspells = {
			[GetSpellInfo(87151) or "blah"] = 87151,  -- Dark Soul
			[GetSpellInfo(110913) or "blah"] = 110913,  -- Dark Bargain
			[GetSpellInfo(108416) or "blah"] = 108416,  -- Sacrificial Pact
			[GetSpellInfo(18540) or "blah"] = 18540,  -- Summon Doomguard
			[GetSpellInfo(48020) or "blah"] = 48020,  -- Demonic Circle: Teleport
			[GetSpellInfo(1122) or "blah"] = 1122,  -- Summon Infernal
		}
Report comment to moderator  
Reply With Quote
Unread 11-22-12, 08:14 PM  
Abaregi
A Kobold Labourer

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

First, I love this addon, it is simple small and just great. Thanks for the work.

I just want to bump this post as it would be a great feature:

Originally Posted by twopro
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 10-06-12, 11:02 AM  
abraXas-
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
Hi,
I can't add the Mages' Frost Bomb cooldown to CoolLine. It just won't show up. Is this problem specific to me?
Report comment to moderator  
Reply With Quote
Unread 09-19-12, 10:00 AM  
SinaC
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
RegisterUnitEvent

Hi,
I've seen you made some optimizations in latest version, really nice ... I love optimizations
What do you think about using RegisterUnitEvent("UNIT_XXX", "player") for each UNIT_XXX event instead of using RegisterEvent and check if unit is "player" in event handler ? BliČ added this in patch 5 and I found it really useful, something I wanted since I've started coding addon

Just my 2 cents =)
Last edited by SinaC : 09-19-12 at 10:01 AM.
Report comment to moderator  
Reply With Quote
Unread 09-18-12, 09:17 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
Re: Broken Vehicle Cooldown

Originally Posted by oldcat
With 5.0.X patch, VehicleMenuBar is replaced by OverrideActionBar
So in core.lua line #578 must be changed like below.

VehicleMenuBarActionButton >> OverrideActionBarButton


PS. Sorry, I'm not good at English.
Thanks. I've implemented this but didn't test.
Report comment to moderator  
Reply With Quote
Unread 09-18-12, 10:55 AM  
oldcat
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Broken Vehicle Cooldown

With 5.0.X patch, VehicleMenuBar is replaced by OverrideActionBar
So in core.lua line #578 must be changed like below.

VehicleMenuBarActionButton >> OverrideActionBarButton


PS. Sorry, I'm not good at English.
Last edited by oldcat : 09-18-12 at 11:08 AM.
Report comment to moderator  
Reply With Quote
Unread 09-16-12, 08:00 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
Yeah thanks, undocumented and I did not even find it used in WoW's own interface, but I'm glad it exists now! I will implement it early this week. It won't be a simple copy and paste.

For debuffs that adds/extends cooldown, it will appear normally if the spell has a base cooldown.
Report comment to moderator  
Reply With Quote
Unread 09-16-12, 02:35 AM  
SinaC
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
Originally Posted by oldcat
Hi totalpackage

current 5.0.003 version cache spells code caches all spells only in spell tab 2.
so I made some change in cache spells code.

changed code uses GetSpellBaseCooldown(spellID) API.

please, Look & Test this code.

http://pds21.egloos.com/pds/201209/16/59/core.lua
I love discovering undocumented API such as GetSpellBaseCooldown, nice one
BTW, what's the behaviour of CoolLine when a debuff adds a cooldown to your spells ? I remember a few boss fights where it happens but cannot name them ...
Last edited by SinaC : 09-16-12 at 02:37 AM.
Report comment to moderator  
Reply With Quote
Unread 09-15-12, 07:34 AM  
oldcat
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Hi totalpackage

current 5.0.003 version cache spells code caches all spells only in spell tab 2.
so I made some change in cache spells code.

changed code uses GetSpellBaseCooldown(spellID) API.

please, Look & Test this code.

http://pds21.egloos.com/pds/201209/16/59/core.lua
Last edited by oldcat : 09-15-12 at 12:52 PM.
Report comment to moderator  
Reply With Quote
Unread 09-13-12, 09:57 AM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
Re: Re: Re: Bug + request for ICD

Originally Posted by SinaC
Originally Posted by totalpackage
Originally Posted by SinaC
...
I also have a request, do you think it would be possible to add easily ICD using LibInternalCooldown ?
That is beyond the scope, but if one reads CoolLine's page, it gives a door for an external mod to do such features.
Okay. I'll do it by myself then First version implemented, you can download it at CoolLine-ICD on Curse or CoolLine-ICD on WowInterface

In the latest version, you've not fixed the bug with Thrash and Mangle (probably other spells). GetSpellCooldown must be done on spellname and not on spellid to fix this.
This is because you cache cat version of spell which don't have any CDs but bear version have CDs.
Finally someone made one.

Misread your previous comment. Thought you were trying to block it from showing. I guess that problem occurs when spells share the same name. I'll look into it.
Report comment to moderator  
Reply With Quote
Unread 09-12-12, 09:27 AM  
SinaC
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
Re: Re: Bug + request for ICD

Originally Posted by totalpackage
Originally Posted by SinaC
...
I also have a request, do you think it would be possible to add easily ICD using LibInternalCooldown ?
That is beyond the scope, but if one reads CoolLine's page, it gives a door for an external mod to do such features.
Okay. I'll do it by myself then First version implemented, you can download it at CoolLine-ICD on Curse or CoolLine-ICD on WowInterface

In the latest version, you've not fixed the bug with Thrash and Mangle (probably other spells). GetSpellCooldown must be done on spellname and not on spellid to fix this.
This is because you cache cat version of spell which don't have any CDs but bear version have CDs.
Last edited by SinaC : 09-12-12 at 11:49 AM.
Report comment to moderator  
Reply With Quote
Unread 09-11-12, 08:01 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
Re: Bug + request for ICD

Originally Posted by SinaC
...
I also have a request, do you think it would be possible to add easily ICD using LibInternalCooldown ?
That is beyond the scope, but if one reads CoolLine's page, it gives a door for an external mod to do such features.
Report comment to moderator  
Reply With Quote
Unread 09-11-12, 07:58 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
Yeah, for some reason, the tooltip appears blank for those rogue abilities. Removing the tooltip check is probably the best solution, which I did in the lastest update. Thanks.
Report comment to moderator  
Reply With Quote
Unread 09-11-12, 12:26 PM  
SinaC
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
Originally Posted by maneki
Since last update of CL I've been trying to figure out what's going wrong and how to fix it but to no avail yet. It does fine for my mage but not for my rogue.

What does it do?
With my rogue I only can see cooldown icons of adrenaline rush (perfectly works with restless blades), evasion and stuff in bags/hearthstone/trinkets but none of the other class cds like shadowstep, cloak, killing spree, vanish etc.

What did I do to try to make it work as intended?
- deactivated all other addons but CL, didn't help.
- un- and reinstalled CL (incl personal settings) via Curse client, without avail.
- have a friend install CL (to make sure it's not my installation of wow which is to blame), deactivate all other addons on his machine and let him try with his priest and his rogue. Results: priest was fine, some soulword had a wrong icon when first used but had the right one on a second try. His rogue had the same problems as mine, some (same) cds showed up, most did not.
- spent 3 days on figuring out what which line in CL's core.lua-file does
I thought it might have sth to do with messed up spell ids and/or language (german) so I tried to write sth similar to the priest lines in CL's core.lua but didn't work (well, would've been surprised if it did, me noob ) so I put back in the original .lua and...
- tried the workaround of SinacC, still no difference.
- installed ForteXorcist to see if other addons had the same problem but it shows all of my cds. But it is a monster of an addon and I don't want to keep it.

What else can I do? Any advice/suggestions/help is welcome!
I have found where the problem comes from but I cannot fix it.
Most rogue abilities (maybe other classes) are filtered in function CacheBook because they fail the test on CheckRight
If you add following code

Code:
print(tostring(name).."  "..tostring(i).."  "..tostring(btype).."  "..tostring(stype).."  "..tostring(id).."  "..tostring(sb[name]))
print(tostring(CLTipTextRight1 and CLTipTextRight1:GetText() or "nil").."  "..tostring(CLTipTextRight2 and CLTipTextRight2:GetText() or "nil").."  "..tostring(CLTipTextRight3 and CLTipTextRight3:GetText() or "nil").."  "..tostring(CLTipTextRight4 and CLTipTextRight4:GetText() or "nil"))
after
Code:
CLTip:SetSpellBookItem(i, btype)
near the end of the function, you'll see that tooltip are not filled correctly by previous instructions. No tooltip, mean no cooldown timer found in tooltip ==> filtered (not added to valid spell list)
A brutal workaround would be to remove tests on tooltip but it's against the philosophy of this cache
Report comment to moderator  
Reply With Quote
Unread 09-11-12, 06:39 AM  
maneki
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Since last update of CL I've been trying to figure out what's going wrong and how to fix it but to no avail yet. It does fine for my mage but not for my rogue.

What does it do?
With my rogue I only can see cooldown icons of adrenaline rush (perfectly works with restless blades), evasion and stuff in bags/hearthstone/trinkets but none of the other class cds like shadowstep, cloak, killing spree, vanish etc.

What did I do to try to make it work as intended?
- deactivated all other addons but CL, didn't help.
- un- and reinstalled CL (incl personal settings) via Curse client, without avail.
- have a friend install CL (to make sure it's not my installation of wow which is to blame), deactivate all other addons on his machine and let him try with his priest and his rogue. Results: priest was fine, some soulword had a wrong icon when first used but had the right one on a second try. His rogue had the same problems as mine, some (same) cds showed up, most did not.
- spent 3 days on figuring out what which line in CL's core.lua-file does
I thought it might have sth to do with messed up spell ids and/or language (german) so I tried to write sth similar to the priest lines in CL's core.lua but didn't work (well, would've been surprised if it did, me noob ) so I put back in the original .lua and...
- tried the workaround of SinacC, still no difference.
- installed ForteXorcist to see if other addons had the same problem but it shows all of my cds. But it is a monster of an addon and I don't want to keep it.

What else can I do? Any advice/suggestions/help is welcome!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: