SexyCooldown
Upgrade Notice
Users upgrading from versions prior to 0.6.6 will lose any aura blacklist settings. A change was made to aura identification to resolve conflicts with skills such as Sacred Shield. Please re-blacklist any auras you aren't interested in after upgrading.
About
SexyCooldowns is a logarithmic cooldown bar. What's that, you say? Well, most timer bars you're used to are linear. That is, the distance between 0 seconds and 10 seconds is the same as the distance between 50 seconds and 60 seconds. A logarithmic cooldown bar is somewhat different - it represents cooldowns on a compressed timeline, so that cooldowns that are closer to being ready are represented as more active on the bar. This lets you represent a large amount of data on a single bar, and have it remain useful.
In short, SexyCooldown is a single consolidated timer bar for all your spell, pet's spell, item, and proc cooldowns, as well as buffs, debuffs, and totem timers. It's very flexible, and can be customized to fit into your UI as best you see fit.
Features
- Spawn as many bars as you want, and show the specific information you want on each.
- Supports spell and talent cooldowns, explicit and internal item cooldowns, buffs on you, debuffs on you, and debuffs on your target or focus.
- Very highly configurable look and feel. Build bars that will fit into any UI.
- Bars may be oriented horizontally or vertically, and move in either direction.
- Extensible - can support virtually any kind of timer. Currently works as a cooldown, buff, and debuff timer, but the possibilities are endless.
Demo
Here you can see that I have set up three separate bars, one for my cooldowns at the bottom, one for short buffs on me (<45 seconds) above my unit frame, and one for my debuffs on my target above the target unit frame.
In a raid setting (Click for HD):
Nice work - thanks.
Still getting pet-spell errors.
Around the end of core.lua you are calling GetSpellName/Cooldown/Link with the bookType parameter set to
"BOOKTYPE_PLAYER"
and"BOOKTYPE_PET"
. The bookType parameter should actually be set to"spell"
or"pet"
. (see http://wowprogramming.com/docs/api/GetSpellName )Changing CacheSpells to :
fixes it for me.
Error after cooldown splashing:
[2009/10/10 00:22:02-436-x1]: SexyCooldown-1.0\prototype.lua:317 attempt to index field 'icon' (a nil value)
Locals:
---
From v0.5.3-6-g4fe10ea, Still the same error. Message: Interface\AddOns\SexyCooldown\prototype.lua:370: bad argument #2 to 'format' (string expected, got nil) Time: 10/09/09 13:58:57 Count: 53 Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> (tail call): ? [C]: in function `format' Interface\AddOns\SexyCooldown\prototype.lua:370: in function `CreateCooldown' Interface\AddOns\SexyCooldown\core.lua:170: in function `AddCooldown' Interface\AddOns\SexyCooldown\core.lua:249: in function `?' ...zle\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146: in function <...zle\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146> [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4> [C]: ? [string "safecall Dispatcher[1]"]:13: in function `?' ...zle\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: in function `Fire' ...ace\AddOns\Fizzle\Libs\AceEvent-3.0\AceEvent-3.0.lua:119: in function <...ace\AddOns\Fizzle\Libs\AceEvent-3.0\AceEvent-3.0.lua:118>
Locals: (*temporary) = "%s:%s" (*temporary) = "spell" (*temporary) = nil (*temporary) = "string expected, got nil"
## X-Curse-Packaged-Version: v0.5.3-5-ga3e06c0
The timeline is not spread accros the bar, all cooldown hug the center of the bar. :(
Edit: found the bug, bar orientation is NOT set by default! just set it to left-2-right and works find now :)
Message: Interface\AddOns\SexyCooldown\prototype.lua:226 bad argument #2 to 'format' (string expected, got nil)
Time: 10/09/09 19:13:19
Count: 16
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip"]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip"]:4>
(tail call): ?
[C]: in function `format'
Interface\AddOns\SexyCooldown\prototype.lua:226 in function `CreateCooldown'
Interface\AddOns\SexyCooldown\core.lua:140 in function `AddCooldown'
Interface\AddOns\SexyCooldown\core.lua:219 in function `?'
...ion\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146 in function <...ion\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[C]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
...ion\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91 in function `Fire'
...arAutomation\libs\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119 in function <...arAutomation\libs\Ace3\AceEvent-3.0\AceEvent-3.0.lua:118
Locals: (*temporary) = "%s:%s"
(*temporary) = "spell"
(*temporary) = nil
(*temporary) = "string expected, got nil"
Alpha v0.5.3-3-g9a58102 should have both pet support fixed, as well as profile-switching support in the options menu. :)
I'm a warlock. I think this is the same one Ayst is receiving while attempting to use pet abilities:
Message: Interface\AddOns\SexyCooldown\prototype.lua:226: bad argument #2 to 'format' (string expected, got nil) Time: 10/08/09 21:39:18 Count: 61 Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> (tail call): ? [C]: in function `format' Interface\AddOns\SexyCooldown\prototype.lua:226: in function `CreateCooldown' Interface\AddOns\SexyCooldown\core.lua:140: in function `AddCooldown' Interface\AddOns\SexyCooldown\core.lua:219: in function `?' ...zle\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146: in function <...zle\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146> [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4> [C]: ? [string "safecall Dispatcher[1]"]:13: in function `?' ...zle\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: in function `Fire' ...ace\AddOns\Fizzle\Libs\AceEvent-3.0\AceEvent-3.0.lua:119: in function <...ace\AddOns\Fizzle\Libs\AceEvent-3.0\AceEvent-3.0.lua:118>
Locals: (*temporary) = "%s:%s" (*temporary) = "spell" (*temporary) = nil (*temporary) = "string expected, got nil"
Also how did you set up the custom bars in the pic's, I don't see an option for stuff like that, or did you use something like KGPanels
The bars are entirely done in the mod's config. If you have SharedMedia installed, then you'll get a bunch of extra textures and fonts to use to customize the bar with.
Firstly, I was drawn to this addon because the idea just seemed so weird. But it makes a tremendous amount of sense. This is such a clever and mostly well-executed idea. Keep up the good work!
I'm getting the same Lua error that Ayst has reported. I have both Darkmoon Faire trinkets (Greatness and Death) and I thought it might have something to do with those effects. I have a Death Knight, by the way, you can armory Vocah @ Barthilas if you want to see what items I might have that are causing the bug.
I love that we can create a black list. That makes it so simple to keep the bar free of clutter.
The one thing that is sort of frustrating at the moment is the fact that I have to manually edit the WTF file to manage profiles. I'm a big fan of using exactly the same settings for all of my characters. A GUI for the AceProfile stuff would be terrific. :)
function mod:CacheSpells()
cacheSpellsForBook(spells.PLAYER, "spell")
cacheSpellsForBook(spells.PET, "pet")
end
Antiarc: All my spell cause it. I'm hunter. Or .. what do you meen.
dont work ir RU version
dont work in RU version