Download
(39 Kb)
Download
Updated: 10-02-2010 03:52 AM
Pictures
File Info
Updated:10-02-2010 03:52 AM
Created:09-01-2010 09:39 PM
Downloads:2,733
Favorites:12
MD5:
ChronoBars (Cataclysm Beta)
Version: 1.12
by: ileben [More]
NOTE: There is a known bug with item cooldown tracking in Cataclysm Beta, if the item name is given instead of ID. This is due to some stupid changes to the items API. I am not fixing this yet, because I'm hoping Blizzard might fix it on their end. For now, as a workaround, please use item ID when tracking item cooldowns. Sorry for the inconvenience.

ChronoBars tracks buffs and debuffs, spell and item cooldowns, totems, spell and item usability, weapon enchants and weapon swing times. Colored bars show time left on the effect when it is active. Groups of bars can be moved anywhere on the screen. A group can include any number of bars that track different types of effects. Every bar is fully and separately configurable.

Latest Features

- New effect type "Multi Aura". Tracks a buff or a debuff on any number of units simultaneously. Clones of the same bar are created and removed automatically as new aura targets are detected. Useful for tracking DoTs or HoTs even after you deselect your target. (Keep in mind that for a single target the normal Aura bar is still more CPU friendly.)

- New effect type "Weapon Enchant". Tracks duration of the temporary weapon enchant with the given name. (Set effect name blank to match any enchant with a single bar.)

- New effect type "Auto Attack". Tracks the cooldown of your melee swing, hunter's AutoShot or wand Shoot spell.

- New fast blinking phase on the last second before the bar expires. Both the slow and the fast phase can be separately enabled/disabled in the Style->Animation config menu.

- New setting for name text alignment left / center / right

- New option to copy and paste animation settings.

Features

- unlimited number of groups
- unlimited number of bars in each group
- track buffs and debuffs
- track DoTs and HoTs on multiple units
- track multiples of the same buff (e.g. two Berserk)
- track spell, item and internal cooldowns
- track spell and item usability
- track totem duration
- track temporary weapon enchants (rogue poison, shaman weapon buffs)
- track melee swing, hunter's AutoShot or wand Shoot spell
- track custom duration triggered by a spell cast (e.g. Mirror Image, DnD)
- support for multiple effects on the same bar with a comma-separated list
- support for SpellID and ItemID
- support for summing aura stacks from all casters
- support for fixed maximum bar time
- support for profile switching (link spec to profile, switch automatically)
- smooth bar animations (slide up, down, blink, fade out)
- controllable bar layout (keep bar positions, stack active bars)
- easily accessible configuration with overview of all bars and groups
- move bars and copy/paste settings between them
- LibSharedMedia support for bar textures and fonts
- pixel-aligned graphics when full-screen or maximized (1px border is exactly 1px)

How is this different from other such addons?

I am aware of other similar or very similar addons, and indeed, they were a direct inspiration for this addon. However, I felt each of those lacked something. Either the number of bars or groups was limited, or the groups wouldn't grow and shrink, leaving gap between bars, or I couldn't put a buff and a debuff in the same group, or I couldn't track something on my target and something on my focus in the same group, or I couldn't track effects of different types on the same bar. ChronoBars allows all that and is designed to have as little restrictions as possible.

Also, ChronoBars is highly configurable in the way the bars work. They can move from left-to-right or right-to-left, they can fill up instead of deplete, you can swap the position of text and time or the side the icon is on. Pretty much you can invert the whole bar if you want. Configuration is simple and intuitive, you can move the bars up and down the group once configured and copy settings from one bar to the other so you never have to reconfigure twice just because you changed your mind about positioning of a bar.

Finally, I use these bars a lot, my raiding experience depends a lot on how they work, so I wanted to make an addon of my own that works exactly the way I want, with a codebase that I understand and can easily tweak whenever necessary. If other people find it useful too, that much better.

Creating groups and bars

Initially ChronoBars will be in "run" mode. To unlock configuration type the /chronobars or /cb command into the chat window. By doing this, ChronoBars will switch to "design" mode, where you can configure everything you need. One single bar will show up in the center of the screen. To configure it right click the bar.

A context menu will appear with lots of options. To create more bars or a new group, move your mouse over the New submenu, and select Bar or Group option. A new group is always created with one bar in it and will show up at the center of the screen. Settings are automatically copied from the current bar or group when the new one is created.

Changing size, spacing and padding

These three properties apply to all the bars in a group. To access these settings, right-click a bar and open the Group settings submenu. There you will be able to change bar width, height, spacing between bars in the group and internal padding of bars from their edge.

Tracking buffs and debuffs

To define the effect that you want your bar to track, right click the bar you want to use and choose the Effect name... command. A window will pop up asking you to enter the name of the effect. You need to be very careful with capitalization and enter the precise name of the buff or debuff. Alternatively, if you know the spell ID of the effect, you can enter that instead.

Buffs and debuffs are collectively known as "auras". To track a buff or a debug, right click the bar you want to use, open the Effect type submenu and choose the Aura option. The menu will close to update its contents.

Right click the bar again and open the Aura Settings submenu. In order for the addon to perform as efficiently as possible, you need to be very specific about what type of aura you want to track. Select Buff or Debuff in the Aura type submenu, then select the unit you want to track in the Unit to monitor submenu.

It is possible to track multiple auras with the same name, such as Berserk proc from two different weapons. To achieve this, create two bars with the same settings, then on one of the bars open the Which when multiple menu in the Aura Settings and select the option Second instead of First. You can track up to five instances of the same effect this way.

You can limit tracking to only the auras that you cast by selecting the option Only if cast by self. If you want the bar to show the sum of the aura stacks on the unit from all the casters select the option Sum stacks from all casters.

Groups can be freely dragged around the screen with mouse in design mode. When this is all set, use the /cb command again to switch back to the run mode and you are done.

Tracking DoTs and HoTs on multiple units

You can track an aura on multiple units at the same time by setting the effect type to Multi Aura. Note that the Multi Aura settings menu doesn't include the unit to monitor, because it doesn't need to. The aura matching the given effect name will be automatically tracked on any unit as soon as it is detected. New copies of the bar with the same appearance will be created automatically for every unit, and the text on each bar will show the name of the unit with the aura.

Due to the limitations of the game itself, the duration of auras can only be monitored on a small set of specific units, namely your target, focus, pet, members of your party, their targets or the unit under your mouse. However, that doesn't stop ChronoBars from remembering where an aura was detected and continuing to keep track of it.

Sometimes ChronoBars will detect the presence of an aura on a unit, but will not know the exact duration of it. If you still want the bar to show up in such cases, you can use the Estimate Duration setting to specify a starting time to apply to the bar. Of course, ChronoBars will update the bar with the exact duration as soon it become available.

Keep in mind that for a single target a regular Aura bar will still be more CPU friendly.

Tracking cooldowns

To track cooldowns, input the name of the spell or item you want to track and change the effect type of the bar to Cooldown as described above. Again for performance reasons you need to be very specific about what you are tracking. Open the Cooldown settings menu and choose Spell or Item.

Note that the word "CD" has been appended to the name of the item or spell that you entered. This is to let you know that a cooldown is being tracked rather than a buff or a debuff. If you wish to disable this, right click the bar, open the Style submenu, then Show submenu and tick off the CD option.

Tracking internal cooldowns

When you want to track internal cooldown of a "proc", what you really want to be tracking is the appearance of an effect that it triggers. Every weapon, trinket or enchantment proc will put a buff on the player when it activates. Often, some players would test the behaviour of the item and figure out the duration the effect is being prevented from triggering again by the game. This is known as "internal cooldown" of that effect. Note that internal cooldowns are never exposed by the game normally and are just a term that players have come up with.

To track internal cooldowns you need to set the effect type of the bar to Custom, then set the duration in the Custom settings... submenu, and change the Trigger setting to Another bar activated. You need to set the effect name to the name of an effect that is being tracked by another existing bar. Whenever that other bar reactives, the internal cooldown bar will be triggered. You can specify multiple effect names or IDs by separating them with commas, to trigger the same internal cooldown from multiple sources.

Tracking usability

To track usability of a spell or an item, you need to set the effect type of the bar to Usable, and then select either Spell or Item in the Usable settings menu. Note that the effect name has the word "Usable" appended to it. To disable this, you can tick off Style-Show-Usable option.

By default the usability check will include the cooldown of the spell or item, meaning that it will not show up until the item is both usable and off the cooldown. To toggle this behavior use the Include cooldown option in the Usable settings menu.

Tracking totems

You can track totem durations by switching the effect type of the bar to Totem. Again for efficiency reasons, you need to be very specific, so open the Totem settings submenu and choose Fire, Earth, Water, or Air.

This will make your bar track the remaining duration of the specific totem matching the effect name that you entered. Note, however, that if you want to track the cooldown on the casting of a totem such as Earthbind totem, you need to track the Spell Cooldown of the same name instead.

Tracking weapon enchants

To track temporary weapon enchants such as rogue poisons or shaman weapon buffs, set the effect type to Weapon Enchant. Then open the effect settings submenu and choose either Main Hand or Off Hand.

The bar will normally only track the enchant matching the given effect name. This allows you to create multiple bars with different appearances for different enchants on the same weapon. If you still want a single bar to track any weapon enchant, set the effect name to blank (delete the effect name contents) and the bar will show up for any enchant on the given weapon slot.

Tracking weapon swing, AutoShot, Shoot

To track these effects set the effect type to Auto Attack. Then open the effect setting submenu and choose either Main Hand, Off Hand, Wand or Bow/Gun.

The bar will be triggered every time you swing with your melee weapon or shoot with your ranged weapon and track the estimated duration until your character will swing or shoot next time.

Tracking custom duration after spell cast

Some effects cannot be tracked normally, because the game itself doesn't give the player any clue on the duration of the spell (e.g. there is no buff on the player or debuff on the target). Examples of such spells are Mirror Image and Death and Decay. However, the description of the spell does tell you the duration of the effect.

To be able to track it, set the effect type to Custom, then open the Custom settings... submenu and set trigger option to Spell cast successful. Set the effect name to the spell that triggers the effect and the Duration... option to the time given in the spell description. The bar will be triggered every time the given spell is successfully cast.

Group layout

There are three ways you can set the group to lay out the bars when in run mode. To access these settings, right click any bar in the group, open the Group settings submenu, and then the Layout submenu.

Keep bar positions
This option will keep the positions of the bars exactly where they are in the design mode. For instance, if only the first and the third bar are active, there will be a bar-height gap between them. If you want to know exactly where on the screen to look out for you bars, this is the option for you.

Stack active bars
The group will grow and shrink as the bars in it become active or inactive. For instance, if only the second bar in the group is active, it will instead appear at the position of the first bar (the bottom of the group). If shortly after the first bar becomes active, the second bar will move up to make room for it. This option is best if you want to make your groups take the smallest amount of screen space possible at any time. Note that you can change the direction in which the group grows via the Grow direction submenu.

Show first active bar
This will hide all the bars in the group except the first active bar in the group's growth direction. For instance, if the first and the second bar are active, only the first one will be shown. If the effect of the first bar goes off, the second bar will appear in its place.

This option is best when you want the appearance of one bar tracking multiple effects. An example of use could be a bar tracking both the buff proced from a trinket and its internal cooldown. By setting the internal cooldown onto the second bar, it will only be shown after the buff of the proc wears off.

Resetting if you mess up

If you ever happen to mess up and none of your bars are visible on the screen and you can't get to the configuration menu, you can reset the whole profile with the /cb reset profile command. If you want to only reset the position of the groups back to the center of the screen, you can use the /cb reset groups command.

Fine-tuning performance

By default, ChronoBars updates the state of the bars every 0.03 seconds which gives you roughly 30 frames per second. ChronoBars has been implemented with efficiency in mind, however, if you feel like its taking too much of your CPU power, you can easily increase the update interval to something larger by issuing the following command:

/cb update [interval]

where [interval] is the time between updates in seconds (of course you can use decimals).
* 1.11 to 1.12

- New setting for name text alignment left/center/right
- Fixed bug where previous bar offset fix was only applied to setup mode, not run mode
- Fixed bug where group background wouldn't align properly right after logging in

* 1.10 to 1.11

- Fixed bug where bars were offset by one pixel upwards from group background if group grow direction was set to "down"

* 1.9 to 1.10

- New fast blinking phase right before the bar expires
- New config menu option to copy animation settings
- Fixed bug where bars would consume CPU when "always visible" but not active
- Fixed bug where bars were showing last instead of first effect in a comma-separated list when "always visible" but not active
- Fixed bug where bars with infinite duration and blinking disabled showed as empty instead of full
- Fixed bug where bars with infinite duration were flashing. That was only meant for Usable bars.
- Give priority to spellbook icons over cached icons even when cache hit already exists

* 1.8b to 1.9b

- New effect type "MultiAura"
- New effect type "Weapon Enchant"
- New effect type "Auto Attack"
- Limited config menu width so it doesn't grow too large with a comma-separated effect list
- Slightly improved memory consumption
- Polished bar behavior when always shown. The icons and blinking now work correctly when bar visibility is set to "Always Visible".

* 1.7b to 1.8b

- fixed bug where cooldown bars wouldn't get updated if the cooldown got canceled while global cooldown is up (e.g. LavaSurge proc while spamming other spells)
- fixed bug where Time Format setting didn't apply to bars
- New "Enabled" bar setting
- Event-driven bar updates for major CPU improvement

* 1.6b to 1.7b

- fixed bug where bars would flicker shortly right after logging in / reloading ui
- added support for multiple effects on the same bar with comma-separated list
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Author
Date
1.12
38kB
ileben
10-01-2010 09:15 AM
1.10
38kB
ileben
10-01-2010 04:54 AM
1.9b
38kB
ileben
09-30-2010 09:03 AM
1.8b
32kB
ileben
09-22-2010 10:33 AM
1.7b
29kB
ileben
09-02-2010 09:36 PM
1.6b
29kB
ileben
09-01-2010 09:39 PM


Post A Reply Comment Options
Old 01-03-2011, 07:19 PM  
Nxtra
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
ICONS!

Hello, just made an account here just to ask question about this addon!

best addon ever!

But one problem, is it mossible to get an icon with the number inside of the icon with the cd left etc?

I've serached like crazy but can't find it! help me out!

regards,

nxtra
Nxtra is offline Report comment to moderator  
Reply With Quote
Old 10-12-2010, 02:17 AM  
Taoth
A Deviate Faerie Dragon

Forum posts: 19
File comments: 16
Uploads: 0
So i'm looking around for a replacement addon for a soon to be outdated (because its no longer being updated by the author) Cooldown Buttons, http://www.wowinterface.com/download...wnButtons.html, and so after looking through your addon I attempted to jury rig a solution to what I wanted which is essentially individual buttons movable anywhere that are unclickable CDs, able to be scaled and such independant of each other, as well as the ability to have a couple more broad cds clustered together.

Your addon could do most of this but because of its bar nature, some things like font outlining, and horizontal stacking of a group's buttons were not possible.

Would it be at all possible to add in inherent support for switching from bars to just buttons with the CD timer on the button? (and thus also suppoort horizontal expansion)


I've included a screenshot of essentially what I did with the mod to achieve the look I wanted. The CDs on the left would be horizontally expanding if it was possible.
Taoth is offline Report comment to moderator  
Reply With Quote
Old 10-02-2010, 07:51 PM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 92
Uploads: 5
Originally posted by Jake88
Great mod, liking it so far. One question though, is there a way to set a minimum cooldown duration for a bar? On my DK tank on beta, due to the rune cooldown mechanic, "Bone Shield" will keep showing up every time both unholy runes are used. If I could set the bar to ignore CDs below 10s or so, it should stop happening.
Hmm, interesting, I haven't come across a case where this would be needed yet, so I haven't even thought of implementing it. I guess there might be some other cases when it could help too. I'll add it to my TODO list and probably implement it in one of the next few versions.
ileben is offline Report comment to moderator  
Reply With Quote
Old 10-02-2010, 12:14 PM  
Jake88
A Kobold Labourer
 
Jake88's Avatar

Forum posts: 0
File comments: 3
Uploads: 0
Great mod, liking it so far. One question though, is there a way to set a minimum cooldown duration for a bar? On my DK tank on beta, due to the rune cooldown mechanic, "Bone Shield" will keep showing up every time both unholy runes are used. If I could set the bar to ignore CDs below 10s or so, it should stop happening.
Jake88 is offline Report comment to moderator  
Reply With Quote
Old 09-30-2010, 07:08 PM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 92
Uploads: 5
Re: Suggestion

Originally posted by Opaque
Love your add-on!

Small suggestion though. For spells that stay up continuously (like Paladin Aura's) the mod seems to consider them to be running out and puts them on empty and flashing as default.
Actually, technically, it considers them to be full and flashes the full part rather than the empty part. This means you shouldn't have to set the background color when you disable blinking, am I missing something? Will test this more thoroughly soon.

On a side note, the flashing is there by default because such bars are normally used to track "usability" of spells where you really wanna notice that something became usable, like warrior's Execute. I might start treating the two cases differently and actually prevent flashing unless it is a usability bar.

EDIT: confirming that the bar showing as empty when blinking is disabled is indeed a bug and will be fixed in the next version (1.10)
Last edited by ileben : 10-01-2010 at 04:56 AM.
ileben is offline Report comment to moderator  
Reply With Quote
Old 09-30-2010, 10:35 AM  
Opaque
A Fallenroot Satyr
 
Opaque's Avatar

Forum posts: 23
File comments: 146
Uploads: 0
Suggestion

Love your add-on!

Small suggestion though. For spells that stay up continuously (like Paladin Aura's) the mod seems to consider them to be running out and puts them on empty and flashing as default. This can be fixed by turning off the flashing for that particular spell and coloring the background to whatever color you want, but I would like it to detect constant spells such as that and just keep them full. Would make for a nice addition to an already great mod!

Thanks!
__________________
Opaque is offline Report comment to moderator  
Reply With Quote
Old 09-22-2010, 06:36 PM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 92
Uploads: 5
Originally posted by Onos
I have a question though - what should I set in order to track my own flametongue weapons as a shaman, because whatever I tried it doesn't seem to work.
This has been implemented in version 1.9 with the Weapon Enchant effect type.
Last edited by ileben : 09-30-2010 at 09:18 AM.
ileben is offline Report comment to moderator  
Reply With Quote
Old 09-22-2010, 04:33 PM  
Onos
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Have used this addon in beta and I have to say I like it.

I have a question though - what should I set in order to track my own flametongue weapons as a shaman, because whatever I tried it doesn't seem to work.
Onos is offline Report comment to moderator  
Reply With Quote
Old 09-22-2010, 03:43 AM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 92
Uploads: 5
Re: Chrno Bars Requests / Bug Report

Originally posted by Thanatosia
Found a bug - Chronobars does not seem to handle the Shaman Talent Lava Surge, which has a 20% chance on flame shock tick to reset the cooldown on your Lava Burst spell.
I've found this bug myself as well and already fixed it in the upcoming release. Speaking of which, the next release is also going to include major performance improvements, so stay tuned

As far as feature requests, is there any way to make a timer have a ghost bar when a debuff expires on a target until combat exits? To make it easy to see when an effect you need to be maintaining has fallen off and needs to be renewed?
I've been thinking about this for a while, but haven't got around to choosing exactly how to implement it. Maybe a ghost bar stick around is one possibility, which I actually quite like. Might do something like a full bar with 50% overall transparency... or maybe an empty bar with opacity? Let me know if you've got any particular ideas for how to convey the "ghosty" effect nicely.
ileben is offline Report comment to moderator  
Reply With Quote
Old 09-17-2010, 07:52 AM  
Thanatosia
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Exclamation Chrno Bars Requests / Bug Report

Found a bug - Chronobars does not seem to handle the Shaman Talent Lava Surge, which has a 20% chance on flame shock tick to reset the cooldown on your Lava Burst spell. Neither setting the bar as a cooldown timer, nor setting it to simply show lava burst availability seemed able to track this proc's effects.


As far as feature requests, is there any way to make a timer have a ghost bar when a debuff expires on a target until combat exits? To make it easy to see when an effect you need to be maintaining has fallen off and needs to be renewed?

Thanks, addon seems great!
Thanatosia is offline Report comment to moderator  
Reply With Quote
Old 09-13-2010, 04:31 AM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 92
Uploads: 5
Originally posted by Aethwyn
Could you also add a visibility option along the lines of "Hide when no duration"?

This would be useful for a rogue's Overkill which has no duration when stealthed but starts counting down once you leave stealth. Thanks.
I assume that with "no duration" you mean, infinite duration? Hmmm, good idea I haven't thought yet of toggling the visibility based on the infinite / expiring state of the bar. Added to my TODO list.
ileben is offline Report comment to moderator  
Reply With Quote
Old 09-13-2010, 04:29 AM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 92
Uploads: 5
Originally posted by Aethwyn
Trying this addon out for the first time on beta and I'm really liking it. There are a few cosmetic things that I'd love to see added:

- Button Facade support to skin the icons
- option to size and position the bar and icon independently of each other
- option to put the count text on the icon
- ability to position the texts vertically
- independent font/size choices for the texts

Is any of this feasible/desirable?
Yes it is feasible. One of the main goals of this addon (as opposed to some other similar addons) has always been to offer the highest possible level of customization, so that every player can visualise the exposed information exactly the way they want.

I have long been thinking about pushing it one step further, where I would have some sort of a "bar designer" mode in which the user would be free to design the bars themselves, by dropping the available items out of a toolbox onto a blueprint and defining layout restrictions between them (e.g. alignment).

At this point I am working really hard on optimizing the performance of my addon (my goal is to really make it consume virtually no cpu) so I don't have much time for adding in new features. However, I am planning to begin working on the proposed feature in the near future. Stay, tuned
ileben is offline Report comment to moderator  
Reply With Quote
Old 09-10-2010, 02:37 PM  
Aethwyn
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
Could you also add a visibility option along the lines of "Hide when no duration"?

This would be useful for a rogue's Overkill which has no duration when stealthed but starts counting down once you leave stealth. Thanks.
Aethwyn is offline Report comment to moderator  
Reply With Quote
Old 09-08-2010, 11:03 PM  
Aethwyn
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
Trying this addon out for the first time on beta and I'm really liking it. There are a few cosmetic things that I'd love to see added:

- Button Facade support to skin the icons
- option to size and position the bar and icon independently of each other
- option to put the count text on the icon
- ability to position the texts vertically
- independent font/size choices for the texts

Basically I'm hoping to achieve something similar to this:



Is any of this feasible/desirable?
Last edited by Aethwyn : 09-08-2010 at 11:08 PM.
Aethwyn is offline Report comment to moderator  
Reply With Quote
Old 09-03-2010, 06:41 PM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 92
Uploads: 5
Originally posted by Evilsithgirl
Well done. Just one question for you. Is there a way to get DOT ticks to show on the bar? for example, i would like to know when each of my bleeds will tick for theorycrafting purposes.
That hasn't been implemented yet. I added it to my TODO list
ileben is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: