Download
(142Kb)
Download
Updated: 07-19-14 06:50 PM
Pictures
File Info
Updated:07-19-14 06:50 PM
Created:unknown
Downloads:298,183
Favorites:708
MD5:

eCastingBar  Popular! (More than 5000 hits)

Version: 5.4
by: NeuroMedivh [More]

A castingbar replacement mod
Version 2.0+ reworked by: Neuro ([email protected])
Original Author: elvendawn ([email protected])
Reworked by Repent ([email protected])
Additional Coding by: Bitz ([email protected])
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.

3.3.0 TOC updated for 3.3

3.2.0 TOC Updated for 3.2.

3.1.0 TOC Updated for 3.1, hopefully fixed a bug with the delay timer throwing errors occassionally.

3.0.3: Fixed an issue with the castbar sometimes disappearing mid-cast.

3.0: No big changes, works with patch 3.0.2

New in 2.00.06: A new Focus Bar, the ability to set the Alpha level of the bars, and French localization

New in 2.00.05: Use Flight Timer and Flight Timer color options (only works with FlightMap addon)

New in 2.00.04: Spell Rank support, revamped Options Window (both thanks to Bitz), and Spell Icons now available.

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 [email protected].






Slash Commands: /castingbar or /ecb
config
help

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


Changes:
3.0.2
- Changed TOC to 30000


2.03.00
- Changed TOC to 20300
- Fixed some compatibility issues with 2.3 patch

2.02.00
- Changed TOC to 20200

2.01.00
- Changed TOC to 20100

2.00.07
- Changed TOC to 20003

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.


2.00.02
- Fixed small bug with Localization load path


2.00.01
- Fixed a bug with Enabling/Disabling the Target Bar.



2.00.00
- Rewrote for 2.0 Compatibility
- Added Target Bar
- Removed the FlightMap stuff
- Changed how variables were stored

3.1.0 TOC Updated for 3.1, hopefully fixed a bug with the delay timer throwing errors occassionally.

3.0.4: Fixed an issue of the target bar not showing up if you target something mid-cast.

3.0.3: Fixed an issue with the castbar sometimes disappearing mid-cast.

2.04.03b: Added Chinese localization that the nice people at wowui.cn sent me. If you already grabbed 2.4.3, no need to grab the 'b' version unless you just want the chinese localization.


Updated the TOC

Changed the way Focus and Target bars interact, by popular request; Previously, if you were targeting your focus target, you would only get one bar, now you will get both bars showing up.
Post A Reply Comment Options
Unread 11-30-06, 08:19 PM  
fred
A Cobalt Mageweaver

Forum posts: 208
File comments: 354
Uploads: 0
Do you plan to make live server editions of this one?
Last edited by fred : 11-30-06 at 09:50 PM.
Report comment to moderator  
Reply With Quote
Unread 12-01-06, 12:16 AM  
Neuro
A Theradrim Guardian
 
Neuro's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 65
Uploads: 2
Um...

There IS a Live Server version, you can find it here: http://www.wowinterface.com/download...fo.php?id=4268
Report comment to moderator  
Reply With Quote
Unread 12-01-06, 07:56 AM  
fred
A Cobalt Mageweaver

Forum posts: 208
File comments: 354
Uploads: 0
Re: Um...

Originally posted by NeuroMedivh
There IS a Live Server version, you can find it here: http://www.wowinterface.com/download...fo.php?id=4268
Doesn't have the casting bar option...
Report comment to moderator  
Reply With Quote
Unread 12-01-06, 10:15 AM  
Thunder12
An Aku'mai Servant
 
Thunder12's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 50
Uploads: 2
looking good, ive always wanted to use ecastingbar with the targets castingbar, and this with meh textures is a bonus thankyou :P oh and bte neuro i have PMed you, just in case you havnt checked.

thunder
Last edited by Thunder12 : 12-01-06 at 10:17 AM.
Report comment to moderator  
Reply With Quote
Unread 12-03-06, 01:28 AM  
Neuro
A Theradrim Guardian
 
Neuro's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 65
Uploads: 2
Re: Re: Um...

Originally posted by fred
Doesn't have the casting bar option...
It doesn't have the enemy casting bar option, true, but that's because the live code didn't support it. Next Tuesday, this version will work for Live anyway, so it's moot atm.
Report comment to moderator  
Reply With Quote
Unread 12-04-06, 03:47 PM  
fred
A Cobalt Mageweaver

Forum posts: 208
File comments: 354
Uploads: 0
Re: Re: Re: Um...

Originally posted by NeuroMedivh
It doesn't have the enemy casting bar option, true, but that's because the live code didn't support it. Next Tuesday, this version will work for Live anyway, so it's moot atm.
Ty, that cleared up all my confusion.
Report comment to moderator  
Reply With Quote
Unread 12-08-06, 06:44 AM  
ZenLung
A Defias Bandit

Forum posts: 3
File comments: 1
Uploads: 0
just a question but why did u remove the flighttimer support?
Report comment to moderator  
Reply With Quote
Unread 12-08-06, 04:04 PM  
SilverSurfR
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
Text Size

Text sizing is buggy (was in the old version too). Increasing txt size distorts the font because of SetTextHeight.

If you can change those line to use SetFont() instead it should work. The following might not be correct but I've made a few small changes that seem to work on my end.

Around line 1432
Change
Code:
getglobal("eCastingBar"..option.."StatusBarText"):SetTextHeight(eCastingBar_Saved[option.."FontSize"])
getglobal("eCastingBar"..option.."StatusBar_Time"):SetTextHeight(eCastingBar_Saved[option.."FontSize"])
to

Code:
fontName, _, fontFlags = eCastingBarStatusBarText:GetFont()
getglobal("eCastingBar"..option.."StatusBarText"):SetFont(fontName, eCastingBar_Saved[option.."FontSize"], fontFlags)
getglobal("eCastingBar"..option.."StatusBar_Time"):SetFont(fontName, eCastingBar_Saved[option.."FontSize"], fontFlags)
Further down
Code:
getglobal("eCastingBarMirror"..index.."StatusBarText"):SetTextHeight(eCastingBar_Saved.MirrorFontSize)
getglobal("eCastingBarMirror"..index.."StatusBar_Time"):SetTextHeight(eCastingBar_Saved.MirrorFontSize)
Gets changed to

Code:
getglobal("eCastingBarMirror"..index.."StatusBarText"):SetFont(fontName, eCastingBar_Saved.MirrorFontSize, fontFlags)
getglobal("eCastingBarMirror"..index.."StatusBar_Time"):SetFont(fontName, eCastingBar_Saved.MirrorFontSize, fontFlags)
Report comment to moderator  
Reply With Quote
Unread 12-08-06, 08:29 PM  
Neuro
A Theradrim Guardian
 
Neuro's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 65
Uploads: 2
Originally posted by ZenLung
just a question but why did u remove the flighttimer support?
Honestly, because I didn't see the point, and I couldn't find a copy of the original mod to see if it even worked anymore. It was easier and cleaner for me to remove that functionality.
Report comment to moderator  
Reply With Quote
Unread 12-08-06, 08:30 PM  
Neuro
A Theradrim Guardian
 
Neuro's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 65
Uploads: 2
Re: Text Size

Originally posted by SilverSurfR
Text sizing is buggy (was in the old version too). Increasing txt size distorts the font because of SetTextHeight.

If you can change those line to use SetFont() instead it should work. The following might not be correct but I've made a few small changes that seem to work on my end.

Around line 1432
Change
Code:
getglobal("eCastingBar"..option.."StatusBarText"):SetTextHeight(eCastingBar_Saved[option.."FontSize"])
getglobal("eCastingBar"..option.."StatusBar_Time"):SetTextHeight(eCastingBar_Saved[option.."FontSize"])
to

Code:
fontName, _, fontFlags = eCastingBarStatusBarText:GetFont()
getglobal("eCastingBar"..option.."StatusBarText"):SetFont(fontName, eCastingBar_Saved[option.."FontSize"], fontFlags)
getglobal("eCastingBar"..option.."StatusBar_Time"):SetFont(fontName, eCastingBar_Saved[option.."FontSize"], fontFlags)
Further down
Code:
getglobal("eCastingBarMirror"..index.."StatusBarText"):SetTextHeight(eCastingBar_Saved.MirrorFontSize)
getglobal("eCastingBarMirror"..index.."StatusBar_Time"):SetTextHeight(eCastingBar_Saved.MirrorFontSize)
Gets changed to

Code:
getglobal("eCastingBarMirror"..index.."StatusBarText"):SetFont(fontName, eCastingBar_Saved.MirrorFontSize, fontFlags)
getglobal("eCastingBarMirror"..index.."StatusBar_Time"):SetFont(fontName, eCastingBar_Saved.MirrorFontSize, fontFlags)
Thanks, I'll look into this. The whole thing needs a re-write, which I'm about 50% finished with. I'll include this in the rewrites.
Report comment to moderator  
Reply With Quote
Unread 12-09-06, 08:12 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 101
Uploads: 0
Originally posted by NeuroMedivh
Honestly, because I didn't see the point, and I couldn't find a copy of the original mod to see if it even worked anymore. It was easier and cleaner for me to remove that functionality.
as of the day before the patch the flight timers still worked. i liked this function simply to not have yet another bar on my screen. flightmap has since been updated so that it functions post patch, but with that bar, using your updated ecastingbar. maybe i need to learn coding so i can get back these little things that annoy me, even if they shouldn't.

which "original mod" were you looking for?
Last edited by txamethyst : 12-09-06 at 08:13 PM.
Report comment to moderator  
Reply With Quote
Unread 12-12-06, 05:05 PM  
Gixx
A Kobold Labourer

Forum posts: 0
File comments: 32
Uploads: 0
When the target castingbar is disabled and I change the target to a player who is already casting the target castingbar is poping up though.
And thanks a lot for this great addon!
Report comment to moderator  
Reply With Quote
Unread 12-14-06, 12:25 PM  
Neuro
A Theradrim Guardian
 
Neuro's Avatar
AddOn Author - Click to view AddOns

Forum posts: 60
File comments: 65
Uploads: 2
New version, 2.00.03 up, try it out!
Report comment to moderator  
Reply With Quote
Unread 12-14-06, 12:36 PM  
XMushroom
A Kobold Labourer

Forum posts: 0
File comments: 28
Uploads: 0
Woot! Thank you neuro for the continued support! Love the mod, love what your doing with it. Thanks for your bug fixes, it was annoying the target bar showing up.
Thank you!
Report comment to moderator  
Reply With Quote
Unread 12-14-06, 02:27 PM  
dlr554
A Kobold Labourer

Forum posts: 0
File comments: 55
Uploads: 0
The mirror bar texture cannot be changed using the options menu. I tried changing it to 'Smooth', but the example bar still shows Perl and when I tested it showed the Perl texture as well.
Last edited by dlr554 : 12-14-06 at 02:28 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: