AzCastBar
A highly customizable and lightweight casting bar replacement mod with support for saved profiles and plugins.
Originally comes with the following plugins: casting bar for player, target, focus and pet, as well as a mirror bar. The Mirror Bar is the one which shows breath, feign death and fatigue.
The option dialog along with the saved profiles are Load on Demand which means it will only be loaded once you open the Options.
The player cast bar supports safe zone indication. This is basically your latency, when the spellcast has passed this point, you can safely cancel the cast and have the spell still fire.
The slash command for AzCastBar is /acb. Using it will open the the option dialog.
Support for Plugins
AzCastBar is build up around the possibility to add more bars with different functions.
Normal castbar and mirror bars are in the core part of the addon.
The plugin package for this addon which you can find on Curse and WoWInterface includes the following plugins:
Battleground Timers, Flight Timers, Swing Timer and Light's Grace Timer.
Change Log - AzCastBar
AzCastBar Changes | 2008 Oct 22
- Fixed a cast bar problem, where it would say interrupted and hide itself when casting a spell, if you tried to cast another spell.
- Added an option to show the total duration of the cast.
AzCastBar Changes | 2008 Oct 18
- Changed the TOC version to 30000 for the Wrath of the Lich King patch.
- Options: Switched to using "LibSharedMedia-3.0". The library itself is still not included, so get it elsewhere.
- Options: Updated the parameters for the scrollbars to make them work for the 3.0 patch.
AzCastBar Changes | 2008 Mar 21
- Default setting for the "SafeZone Indication" is now false due to the fact that this feature isn't so much needed anymore.
- Added an option to hide the text label on the bar as well as the text indicating the time.
- New option to set the text alignment of the Bar Label.
- The drop down menus in the options now have a scrollbar. If you have a lot of shared media items, they should no longer drop off the screen.
AzCastBar Changes | 2008 Jan 30
- Code and plugin framework improved and optimized.
- The Options received a big optimization as well.
- The profile loader under the options will now only load settings for bar plugins which is currently loaded.
AzCastBar Changes | 2007 Dec 28
- Included "FlightTimes" and "BGTimers" as added plugins for AzCastBar, if you do not wish to use these, do not copy them to your AddOn folder.
AzCastBar Changes | 2007 Nov 22
- Fixed an error in the options dialog if you did not have SharedMediaLib installed.
AzCastBar Changes | 2007 Nov 21
- Changed the TOC version to 20300 for the 2.3 patch.
- Added pet casting bar.
- Options: Added support for SharedMediaLib to make more textures available. The library is not included with AzCastBar, but it will use it if installed.
- Options: You now select which cast bar to configure in the window on the left side instead of buttons.
- Options: You can now use the mousewheel to increase and decrease slider values.
AzCastBar Changes | 2007 Aug 21
- Fixed a problem which would hide the castbar, if you tried to cast something new while the GCD from a channeled spell was still up (e.g. spamming the mind flay button).
- Options: Added "Enable Bar" option.
- A problem causing the cast to go out of sync, when the cast bars gets hidden by calling up the map or hiding the UI with Alt+Z, has been fixed.
- Fixed an error when clicking on a cast bar when the options had not yet been loaded.
- When moving the bars with the mouse in "Edit Mode", the option frame for the current bar will now be updated accordingly.
AzCastBar Changes | 2007 Aug 16
- Options: Added slider for the castbar backdrop indent.
- Fixed an issue that made the castbars appear "laggy" the longer your computer uptime was. The cause of this was due to LUA cutting off decimals on large numbers.
- Made the option dialog Load on Demand.
- Did a lot of restructuring of the entire mod.
- Added profiles which you can load, save and delete manually. These settings are stored with the Load on Demand Option Dialog, so the saved entries will not take up memory until the Options is loaded.
- Recoded a lot of how the settings are stored, this means your old config is lost, sorry.
- The Texture drop down should now show the correct selected texture.
AzCastBar Changes | 2007 Jul 19
- Updated TOC to 20200 for the 2.2.0 patch.
- Option for frame alpha added, this is how transparent the frame is. Default is 100.
- The "Show Anchors" option which makes the bars movable is now a global option which will unlock all bars at once, and it will no longer get saved between sessions.
- Added "Show Spell Rank" option, which if the spell has a rank, will show it in brackets after the spell name.
- There is now an option to for the Safe Zone Area (Player Bar only).
- Included a few Textures which you can switch to from the options.
- Added option for Fade Out Time.
I've been using these cast bars for around a month now after moving from Quartz, and overall I consider them an improvement in all aspects but one; Quartz allowed the player to disable friendly target cast bars.
Would it be possible to add this option or provide me with the code to do so?
Thanks in advance.
Another thing I liked about Quartz that I miss "a little bit" in Az, is when doing crafting of some sort, Quartz would display 1 bar w/ the total amount of time to complete all crafting tasks you set out to create, instead of showing a bar for each item. I'd like to see that too.
I've been using these cast bars for around a month now after moving from Quartz, and overall I consider them an improvement in all aspects but one; Quartz allowed the player to disable friendly target cast bars.
Would it be possible to add this option or provide me with the code to do so?
I really love this cast bar... I was using the original blizzard bars, then moved to ecastingbar, then to Quartz and finally to this one which has met me needs for looks. I do have a problem though, I find myself using extra addons for things I feel should be apart of this bar mod.
I'm having to use Sheep Watch to watch my polymorph (mage) timers
I'm having to use ShieldMonitor to watch my mage shield (I don't mind this one so much as it fits w/ the style pretty nicely)
I''m also having to use Frozen to watch my frost nova.
... There might be some more, but I'm just going by memory.
Well, I guess I should say "I'm having to..." as we use these at our own will, but it'd be really nice to have all these consolidated into one bar mod w/ a unified look and feel.
Thanks for this great mod, here's hoping for more.
~vpr
For some reason I can't get the target and focus bar to show. Using Edit mode the bars are available to position etc. But they simply do not show in game. I am using the latest version from here 08.10.22.
I had been using Roth's UI and wanted to disable the cast bars in that package and use your mod. I did that and was unable to see target and focus bars. I figured perhaps I had a mod conflicting so I disabled all mods and then tried and still had the same problem. I then deleted my WTF folder and installed only your cast bar mod and I still had the same issue - unable to see the target and focus cast bars.
For reference I targeted myself and set myself as my focus target and started to summon a pet to verify if the castbar was working. I should mention that I am receiving no errors?
Duus
Thanks for the bug report, that will be fixed in next release.
About profiles, not all use the same settings for their chars, so if settings were global, that would annoy them. This way you can easily customize it as you want. You can however if you want, edit the AzCastBar.toc file and look for SavedVariablesPerCharacter and chance that to SavedVariables, and it will save settings globally.
As much as I love profiles in AddOns, wouldn't it be much simpler to make the settings global, since people probably use the same castbar settings on all their characters.
When positioning the mirror bar in Edit Mode in v08.10.22 I get the following error:
AzCastBar\Plugins\Mirror.lua:57: attempt to index local 'self' (a nil value)
EDIT: It's apparently caused while being under water with my breathing bar present at the same time.
When I cast something and hit another spell the cast bar thinks the first one was interrupted and hides even though I'm still casting. For example if I hit Pyroblast and I start casting and hit Fireball the castbar will say interrupted and disappear even though the cast wasn't cancelled and assuming I allow it to, will finish the Pyroblast cast.
Quartz had this problem and oUF still has this problem too, with it's castbars.
silentpyjamas
Can you see the "Mirror" entry in the options though? If so, try and go to the Position under Mirror and move it around with the sliders, maybe it somehow got pushed offscreen.
like the person who posted earlier, i also cannot see my mirror bar. even in edit mode the mirror bar doesn't show up. it's enabled, i've checked and unchecked just about every combination of settings, and the mirror bar is MIA. in my WoW interface options i don't see a setting for it. i'm not sure how to get this working, but i sure would like to. i used this mod when i used lynui and i didn't even know there WAS a mirror bar until i tried ecastingbar. once i realized what the mirror bar was, when i went back to az i thought i was doing it wrong, but surely enough i do not get the mirror bar no matter what i do. how might i repair this?
i'd rather not change castbars, i love this one so much, but i fear drowning(!)
edit: if it helps, i can post a screenshot?
Last edited by silentpyjamas : 10-19-2008 at 11:27 AM.
Any ideas what this other mod is doing that would cause the AZCastBarOptions window to be empty? There are no references to the castbar options window (obviously FF doesnt know about AZCB), but my guess is something is being relocated / parented / manipulated behind the scenes which is causing the problem.
Ive got a whole host of ace mods loaded. Is this a conflict with another version or sharedMedia maybe or a different embedded library? There are no LUA errors recorded by bugsack.
I got no idea, may this is how it has to be, but every time i got hit, my cast bar dissapears. Well this is not fatal, but is quite annoing... Any idea why this happens?
Sec
Adding LibSharedMedia to the "OptionalDeps" line in the .toc might do this.
dranor
Yeah, I figured the config not working had to be some strange thing to do with the specific test build. As for the font, I seem to have heard something about fonts having to be declared differently now, not really looked in it