eCastingBar

A castingbar replacement mod
Version 2.0+ reworked by: Neuro (neuro_tx@yahoo.com)
Original Author: elvendawn (c0elvenn@yahoo.com)
Reworked by Repent (repent@kc.rr.com)
Additional Coding by: Bitz (Bitz@dreamwiz.com)
Localization by: Bitz (Korean), Malkoms (Francais), wowui.cn (Chinese)
----------------------------------------------------
eCastingBar is a movable and configurable casting bar replacement. It includes a Mirror Bar that handles Breathing, Feign Death, and Exhaustion, as well as a new Target Bar, showing what your target is casting. eCastingBar was originally written by elvendawn, and then re-written by Repent. Since patch 2.0.1, eCastingBar has been maintained by Neuro, who has rewritten about 50% of the base code, with contributions by Bitz.

Much thanks go out to Bitz of Korea, who added a much-improved Options Window, Spell Ranks, and Localization for Korea. Thanks also go out to the guys at wowui.cn for the Chinese localization, Malkoms for his French Localization, and especially to elvendawn and Repent for coding eCastingBar 1.0.

5.4 Wow, didn't realize how long I'd gone without 'updating' this. I still use it every day, haven't seen any issues with it besides the TOC being a bit behind. If any issues arise in WoD, I'll get them taken care of.

4.0.1 Updated for Cataclysm.

3.3.1 Fixed a graphical issue with certain textures. ECB now displays a different border around castbars which cannot be interrupted. Currently there's no option to toggle this functionality, will attempt to incorporate it for Cataclysm.

New in 2.00.03: Textures! No longer restricted to just Perl, eCastingBar now has 15 New Textures! Check the options page to see them in action! There is an example bar on the options page, it is set to mimic the color Casting Bar Spell, Target Bar Spell, and Mirror Bar Breath, respectively. Change those colors to see the example bar in a different color.

Most of these Textures were obtained from Thunder12 at WoWInterface. Special thanks to Banto for Banto texture, Moonmaster for his texture, and Tem for helping me find a few others. Some textures were obtained from Bigwigs and ag_UnitFrames, many thanks to these fine Addons.
To add your own texture, read the file "AddingTextures.txt".

Please report any bugs or problems to Neuro_tx@yahoo.com.

Slash Commands: /castingbar or /ecb
config
help

The Mirror Bar is used for the Blizzard Timers (Feign Death, Breath, Exhaustion)

2.00.06d
- Fixed an issue with FlightMap support causing a stack overflow error in certain cases.
- Fixed an issue with the second Mirror Bar not disappearing properly.
- Changed how Spell_Justify is done. There is a global constant at the beginning of the file eCastingBar.lua that sets the Spell_Justify. Eventually I may add this back in as an option, but for now, if you desire a different spell justify other than Center, you can change this variable from "Center" to "Left" or "Right" in the eCastingBar.lua file with a text editor.

2.00.06b
- Fixed a minor issue with the Target Bar not showing if Focus bar is disabled and you are Targeting your Focus

2.00.06
- A Focus Bar has been added.
- A new option, Background Alpha, added. Set to adjust the transparency of the individual bars.
- Added smaller font sizes for bar text.
- Fixed an issue with Target Bar not reporting the correct color.
- Re-wrote the entire Event Handler to be more efficient and consistant with Blizzard castbar. This rewrite fixed several issues involving calculating delay and spelltimes. This also removed reporting the "delay" for Channeled spells, which wasn't very accurate.
- Fixed an issue where disabling the main castbar disabled the target and mirror bars as well.
- Fixed a minor graphical issue with the background being slightly larger than the Status Bar if you selected the Hide Border option.

2.00.05
- Fixed an issue with the Halcyon texture being misspelled. (Fixed last release, but upgrading to 2.00.04 if you were previously using Halcyon would bug the addon, fixed now)
- Fixed an issue with Target Bar not showing Delay properly
- Changed FlightMap support to use the Mirror Bar instead of Casting Bar. In addition, the countdown is done in minutes:seconds now.
- Added option to turn off Flight Map support. If you are in-flight, it won't kick in till the next flight.
- eCastingBar will now turn off Bongo's CastBar when enabled, and turn it back on when disabled (doing so mid-cast might give you very strange results).
- The example bar in the Options Menu will now match whatever bar color you selected last. Only works with full bar colors (Spell Color, Channel Color, Breath Color, etc)

2.00.04
- Spell Icon Support added. Select Left, Right, or Hidden from the Options Page to select your preference.
- Options Window revamped to be much easier to work with (Thanks to Bitz of Korea for this)
- Bar can now show Spell Rank if desired (Again, credit to Bitz)
- Spell Justify has been replaced with "Show Spell Name" (Bitz as well)
- Texture setup has been changed slightly. Read "Adding Textures.txt" for details.
- Re-added Flight Map support. I went ahead and fixed a Flight Map bug while I was at it.

2.00.03
- Fixed a bug with Target Bar sometimes popping up when it was disabled.
- Fixed an issue with Fonts not scaling properly. (Thanks to SilverSurfR at WoWInterface for this fix)
- Fixed a bug with Spell Justify not working properly.
- Fixed an issue where the Target Bar was not properly displaying spellcast delays.
- Added: Several New Textures, See details above.

Originally posted by TULOA I could make an attempt but I likely have to add a picture or something if not make it in a fixed location. I will look up some code and see what I can do but dont be surprised if you dont ever see anything >.<

wow that would be awesome.
was thinking something like gnosis shielded casts.
gnosis:
http://www.wowinterface.com/downloads/info15921-GnosisCastbarsandTimers.html

Originally posted by mtaher This addon is still working like a charm. only missing 1 important addition.

it would be extremely helpful if you can add a "Shield" for "Immune" to interrupt casts.
it can simply be done by replacing the ability icon with the blizzard silver shield or put around the icon a shield like the blizz default casting bars do.

this addition would make this addon complete imo.

I could make an attempt but I likely have to add a picture or something if not make it in a fixed location. I will look up some code and see what I can do but dont be surprised if you dont ever see anything >.<

This addon is still working like a charm. only missing 1 important addition.

it would be extremely helpful if you can add a "Shield" for "Immune" to interrupt casts.
it can simply be done by replacing the ability icon with the blizzard silver shield or put around the icon a shield like the blizz default casting bars do.

Will the Flight Timer error ever be fixed? It was first reported back in October 2010 and now, 6+ months later, there's still no fix, no update, pretty much no nothing! Any sort of message letting people know what's happening would be appreciated, although it looks as if Neuro hasn't even visited this site since January!

I seem to get this error when I use the /ecb command in the chat window on a character that has not previously had ECB configured. For example, I have 4 characters and I installed ECB and set it up on one of them then saved the profile under the name "Default". When I switch to another character and bring up the configuration menu using /ecb, that causes the LUA error. After I load the "Default" profile, I don't receive the LUA error any longer.