Quantcast
Download
(17 Kb)
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:122,817
Favorites:531
MD5:

CoolLine  Popular! (More than 5000 hits)

Version: 8.0.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.

CoolLine
8.0.002 (2018-08-19)
Full Changelog Previous releases
  • Remove special treatment for obsolete DK spells
Archived Files (14)
File Name
Version
Size
Author
Date
8.0.001
18kB
totalpackage
07-29-18 04:45 AM
7.3.001
18kB
totalpackage
03-05-18 11:11 PM
6.2.002
18kB
totalpackage
10-17-15 03:03 PM
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


Post A Reply Comment Options
Unread 10-19-20, 10:04 PM  
NukeninRB
A Kobold Labourer
 
NukeninRB's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
A couple more issues with CoolLine. Line numbers are in reference to the code in core.lua as I'm editing it and may not reflect precisely your copy. Both lines changed are fairly self-evident.

Around line 6, correct the regular expression that matches version 8.x to also match 9.x. I think this is only referenced in (possibly obsoleted?) spellcast failure code and pet bar tracking code, but just in case…
Lua Code:
  1. local IS_WOW_8 = GetBuildInfo():match("^[89]")

If you're a hunter, you've probably noted that no pet abilities are being tracked. This is simply remedied, around line 466 (in the CacheBook function):
Lua Code:
  1. elseif spellID and (spellType == "SPELL" or spellType == "PETACTION") and spellID ~= lastID then

Hopefully this and the preceding posts will help any anxious to get CoolLine working again and impatient for an "official" release.
__________________
--/\/
Report comment to moderator  
Reply With Quote
Unread 10-18-20, 06:09 AM  
NukeninRB
A Kobold Labourer
 
NukeninRB's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by roninseven
It's not just the backdrop template that needs to be added, but the addon now has to account for multiple class spell tabs (base + spec), otherwise only the base spells will show up on the bar.

Fixed here, https://github.com/ronin-seven/sl-cool-line, just follow the README to install. I haven't done extensive testing, works fine on my hunter and monk.

Let me know if you encounter errors.
My fix for this was simply changing the line
local _, _, offset, numSpells = GetSpellTabInfo(2)
to
local _, _, offset, numSpells = GetSpellTabInfo(GetNumSpellTabs())
Your solution tries to iterate over each spell tab independently but this is slightly defeated by the second for loop (i):
Code:
		for spellTabIdx = 2, numOfSpellTabs do
			local _, _, offset, numSpells, _, offspecId = GetSpellTabInfo(spellTabIdx)
			if offspecId == 0 then
				for i = 1, offset + numSpells do
Basically for each tab, as long as that tab is not an offspec tab, you're iterating over every spell starting with the first spell in the General tab (i.e. 1) to the last spell in the current (spellTabIdx) tab.

If you want to iterate over each tab like this, I suggest the following changes:
Code:
		for spellTabIdx = 1, numOfSpellTabs do
			local _, _, offset, numSpells, _, offspecId = GetSpellTabInfo(spellTabIdx)
			if offspecId == 0 then
				for i = offset + 1, offset + numSpells do
Iterating spellTabIdx starting at 1 (instead of 2) will ensure the General tab spells are cached, and then to ensure that only the spells of a given tab are considered in the inner (i) loop, iterate i starting at offset + 1. (offset is set to the index of the last spell of the preceding tab, so offset + 1 is the index of the first spell of the current tab.)

Again, my quick hack fix was to simply replace the hardcoded "2" with "GetNumSpellTabs()":
local _, _, offset, numSpells = GetSpellTabInfo(GetNumSpellTabs())
as the original "for i = 1, offset + numSpells" loop will then ensure every spell from the first spell in the General tab to the last spell of the last tab is cached.

I'm a nitpicker, I apologize. 😎
Report comment to moderator  
Reply With Quote
Unread 10-17-20, 04:31 AM  
Sorenzedark
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by roninseven
Sorry about that, the project was set to private. Should be accessible now.
Yeah cool that's accessible. Good fix btw (good catch for the spec spell tabs), thank you.

Cheers
Report comment to moderator  
Reply With Quote
Unread 10-16-20, 05:07 PM  
JullzGood
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
It worked!

Originally Posted by roninseven
Sorry about that, the project was set to private. Should be accessible now.
Works perfectly now! Thank you so much guys, yall are the best! I was so worried I would have to clutter my screen again with cd icons. Not sure why these bar addons aren't more popular, they are so much nicer and sleek looking. Good luck in Shadowlands!
Report comment to moderator  
Reply With Quote
Unread 10-16-20, 04:50 PM  
roninseven
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Sorry about that, the project was set to private. Should be accessible now.
Report comment to moderator  
Reply With Quote
Unread 10-16-20, 04:45 PM  
Sorenzedark
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Well I did pretty much up to no testing as it seemed to work fine with my lvl 10 dev toon basic spells. But given your comment and that of roninseven, there is indeed a greater problem.
@roninseven, you seem to have a fix for this but your link is 404 and i can't find you nor your project on github.

Going to bed, bye
Report comment to moderator  
Reply With Quote
Unread 10-16-20, 04:09 PM  
JullzGood
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: Shadowlands Prepatch

Originally Posted by Sorenzedark
Originally Posted by JullzGood
Unfortunetly this is not working in the Shadowlands Prepatch right now. Anyone know a fix or an update?
Yes, there is actually a pretty easy fix.
There is but two lines to fix in C:\Program Files (x86)\World of Warcraft\_retail_\Interface\AddOns\CoolLine\core.lua (or wherever you put your Wow and addons folders).
Change line 99 to:

and line 411 to:


For those interested, they simply removed the inherent inheritance of the frames from BackdropTemplate (see WowUI devs changelog https://github.com/Stanzilla/WoWUIBu...system-changes). You now have to add it manually when creating a from that will use bacldrops.
Would have proposed a fix, but I did not find any mean through wowinterface.

Cheers
Thank you so much! How in the world did you figure this out! I just have one more problem with this addon now. So it is showing up and working, but for some reason it isn't tracking all my cooldown spells. For example, it doesn't track my Holy Fire, Prayer of Mending, Circle of Healing, etc. But it does track my Psychic Scream, Shadow Word: Death, Mass Dispel, Arcane Torrent and Desperate Prayer. I figured it was a filtering issue, so I changed that with the /Coolline (Name of spell) command in game, but it still wont work. Any idea on how to fix that?
Last edited by JullzGood : 10-16-20 at 04:10 PM.
Report comment to moderator  
Reply With Quote
Unread 10-16-20, 03:53 PM  
roninseven
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
It's not just the backdrop template that needs to be added, but the addon now has to account for multiple class spell tabs (base + spec), otherwise only the base spells will show up on the bar.

Fixed here, https://github.com/ronin-seven/sl-cool-line, just follow the README to install. I haven't done extensive testing, works fine on my hunter and monk.

Let me know if you encounter errors.
Report comment to moderator  
Reply With Quote
Unread 10-16-20, 03:30 PM  
Sorenzedark
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Shadowlands Prepatch

Originally Posted by JullzGood
Unfortunetly this is not working in the Shadowlands Prepatch right now. Anyone know a fix or an update?
Yes, there is actually a pretty easy fix.
There is but two lines to fix in C:\Program Files (x86)\World of Warcraft\_retail_\Interface\AddOns\CoolLine\core.lua (or wherever you put your Wow and addons folders).
Change line 99 to:
self.border = self.border or CreateFrame("Frame", nil, self, BackdropTemplateMixin and "BackdropTemplate")
and line 411 to:
f = CreateFrame("Frame", nil, CoolLine.border, BackdropTemplateMixin and "BackdropTemplate")
For those interested, they simply removed the inherent inheritance of the frames from BackdropTemplate (see WowUI devs changelog https://github.com/Stanzilla/WoWUIBu...system-changes). You now have to add it manually when creating a from that will use bacldrops.
Would have proposed a fix, but I did not find any mean through wowinterface.

Cheers
Report comment to moderator  
Reply With Quote
Unread 10-14-20, 12:08 PM  
JullzGood
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Shadowlands Prepatch

Unfortunetly this is not working in the Shadowlands Prepatch right now. Anyone know a fix or an update?
Report comment to moderator  
Reply With Quote
Unread 01-02-20, 10:57 AM  
LazyMage
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Anprionsa
LazyMage! Thanks, it looks great so far. I see that in your repository you were working on an ElvUI wrap. Can that be modded to work with classic?
Hi

I have a set of modifications working with ElvUI, it is 2 separate projects, you can find them here.

https://www.curseforge.com/wow/addons/coolline-classic-updated
https://www.curseforge.com/wow/addons/elvui-coolline-wrapper

As previously said, CoolLine rights are not mine, so this might be discontinued without further notice.
Last edited by LazyMage : 01-04-20 at 05:30 AM.
Report comment to moderator  
Reply With Quote
Unread 11-28-19, 10:52 AM  
Anprionsa
A Kobold Labourer
 
Anprionsa's Avatar

Forum posts: 1
File comments: 12
Uploads: 0
LazyMage! Thanks, it looks great so far. I see that in your repository you were working on an ElvUI wrap. Can that be modded to work with classic?
Report comment to moderator  
Reply With Quote
Unread 11-02-19, 02:58 PM  
LazyMage
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
CoolLine for Wow Classic (1.13)

Hello all,

You can check there for a working Wow Classic version https://github.com/LoneWanderer-GH/CoolLine (branched from the original https://github.com/phanx-wow/CoolLine)

The code is a bit crappy since I just wanted it to work for my character.
The classic/retail build identification may be reworked.

Addon's maintainers' choice to integrate modifications or not. I most probably won't create and maintain the classic branch.
Edit 2019-11-08: Of course, since the CoolLine license is indicated as
All Rights Reserved unless otherwise explicitly stated.
I hope current CoolLine owners/contributors are Ok with the proposal/github branch existence.

Regards.

PS: if anyone already did that job, I could not find it myself, so sorry for duplicate.
Last edited by LazyMage : 11-08-19 at 01:26 PM.
Report comment to moderator  
Reply With Quote
Unread 09-21-19, 09:59 AM  
Myskillkills
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Cooline for classic

My dearest friend!
I beg you so much to adapt that super-best addon for wow classic, please!
On private servers I used a handmade version, but it doesnt work for now as the code has changed, so I have neither 1.12 (private servers) version nor retail classic version for use.

Beg you, sir!
Report comment to moderator  
Reply With Quote
Unread 11-19-18, 11:30 PM  
teedog
A Deviate Faerie Dragon

Forum posts: 13
File comments: 29
Uploads: 0
CoolLine seems to cause a stutter or FPS lag spike whenever I cast an AOE healing spell that affects a lot of players. It is very obvious when I cast Holy Word: Salvation, or Divine Hymn, or even Holy Nova.

I disabled all my addons and gradually enabled them one by one. That allowed me to narrow it down to this addon specifically. As soon as I disabled CoolLine, the stutter from casting those AOE spells disappeared. As soon as I enabled CoolLine, the stutter/lag returned.

Hope that helps others who have been suffering from this problem. This seems to have started with the BFA expansion, I've been using CoolLine for years and never had this problem until BFA.

Keywords for Google: BFA Holy Word Salvation lag stutter
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: