Quantcast
Download
(169 Kb)
Download
Updated: 02-24-20 09:38 AM
Pictures
File Info
Compatibility:
WoW Classic Patch (1.13.3)
Updated:02-24-20 09:38 AM
Created:05-20-19 06:41 AM
Downloads:476,005
Favorites:279
MD5:

ClassicCastbars  Updated this week!  Popular! (More than 5000 hits)

Version: v1.2.7
by: wardz [More]

Adds castingbars to the target frame and nameplates in Classic World of Warcraft. You can also configure your own castbar.


Update: Blizzard removed the ability to distinguish between spell ranks in the combat log, so now cast times are always based on the highest rank.


Options
Castbars have configurable size, positioning, textures and more.
Type `/castbar` or go to `Escape -> Interface Options -> AddOns -> ClassicCastbars` to open options.


Contributing

- Help translate.
- Github

v1.2.7:
- Player castbar timer text is now placed outside the castbar if the spell name is too long, just like with the target castbar.


v1.2.6:
- Target castbar is no longer auto reanchored on target of target frame being shown or hidden, instead it's always placed below the target of target frame area.
- Fix "Show Cast Info Only" option sometimes bugging out if you have it enabled for one type of unit frame but disabled for another.
- Casting speed modifiers now stack like intended, also haste increases no longer affect channeled abilities.
- Castbar background will now turn from orange to slightly yellow when the cast is finished but no spell cast success event was detected (e.g when unit is out of range)
- Improved default settings for player castbar. (only updated on settings reset or fresh install)
- Increased max & min values allowed for options.
- Removed option for castbar stop on movement detection, it is now always enabled instead.
- Add French localizations, thanks to Pgmbru. (still missing some translations)


v1.2.5:
- Fix party castbars not working with ZPerl Party frames. (Raid frames are still not supported.)
- Fix party frame being hidden while in a party group when toggling party testmode.


v1.2.4:
- Add focus mouseover support. (/focus mouseover)
- Fix target click trigger for focus castbar being incorrectly placed when not using default UI scale.


v1.2.3:
- War Stomp now has pushback registered again. (Thought it didn't at first)
- Add experimental focus castbar. Typing "/focus" will focus your current target and add an extra castbar for that specific unit that is always visible even if you
no longer have that unit targetted. You may click this castbar to target your focus, however, this only works if you set the focus
when out of combat. (If you change focus in combat it will display a red "P" next to the name until you leave combat.)
Note that if mobs have the exact same name it will target the nearest one you're facing.
You can also use "/click FocusCastbar" in macros to target the focus.
You can type /clearfocus to clear your focus (or just "/focus" again while not having a target).
You can unlock & move this frame in the options like the other castbars.
Keep in mind this focus is heavily restricted due to API limitations, and that the max combat log range is 50 yards.


v1.2.2:
- Casting speed buff detection is now also always included for enemies if you have the addon ClassicAuraDurations enabled and "Full Aura Replacement" toggled on.
- Fix rare lua error on castbar stopped.
- Minor code cleanup & optimizations.


v1.2.1:
- Add Teleport & Recall casts to be stopped on damage received.
- Add Snowball & Earthshaker stun to crowd control list to stop castbar on.
- Replace UIFrameFadeOut with AnimationGroup.


v1.2.0:
- Update for WoW patch 1.13.3.
- Fix Furbolg Form cast being stopped on movement.
- Fix custom border for castbar not updating size when castbar height is changed.


v1.1.8:
- Hotfix for a minor oversight in v1.1.7.
- Added blacklist for spells that can't have its cast time modified.


v1.1.7:
- The spell "Dark Mending" now shows a 2.0s default cast time instead of 3.5s since this one is the most used.
- Mind Quickening Gem, Berserking and Blinding Light cast speed increases are now taken into account when target buffs are visible. (friendly units/Detect Magic)
Note that Berserking is set to always use 10% speed as the actual percentage can't really be tracked accurately.
- Castbar will now be stopped for hearthstone, resurrection and summon mount abilities when the caster receives non-DoT attacks.
- Castbar will now be stopped on any new ability used if the addon failed to detect a fakecast earlier.
- Adjusted castbar border and flash animation to be more pixel perfect. (Might still be off for certain sizes but should be way better now hopefully)
- Add War Stomp to pushback ignore list.
- Fix "Sacrifice" cast not showing up for certain locales like Deutsch.
- Fix Nature's Grace reducing cast time for channels.
- Fix incorrect cast time for Dark Iron Bomb.
- Fix incorrect cast times for targets when you have a cast time slow modifier debuff on yourself, and you also have the spell the enemy is casting in your spellbook.
Big thanks to Millanzarreta for helping troubleshoot cast time modifier issues!


v1.1.6:
- Add Gnomish Death Ray & Escape Artist to pushback ignore list.
- Minor bug fixes & performance improvements.


v1.1.5:
- Fix pushback being registered on pet castbars.
- Fix incorrect cast time when targetting YOURSELF while under the effect of Curse of Tongues or similar abilities.
- Fix a typo from previous version that caused cast time auto correction for NPCs being wrong while under the effect of Curse of Tongues, etc.
- Barkskin, Focused Casting & Saving Grace is now taken into account for cast times/pushback when buffs are visible. (friendly units/Detect Magic)
- Pushback for Shaman, Priest and Paladin healing spells are now ignored since these are very often talented to avoid pushback.


v1.1.4:
- Improved handling of cast time increases such as Curse of Tongues.
- Fix taint when using player castbar.
- Added more crowd control spells to stop castbar on. (Thanks to millanzarreta)
- Added Spanish localizations. (Thanks to woopydalan)


v1.1.3:
- Fix player castbar breaking when using "Cast Bar Underneath" option.
- Replace Samwise Didier icon with engineering icon for non-player castbar aswell.


v1.1.2:
- When targetting yourself the addon will now check for spell rank used to base its cast time.
- Castbar now has a flash animation on cast successfully completed. (only when using default border textures)
- Whole castbar will now be red when cast is interrupted instead of just current fill value.
- Samwise Didier icon replaced with engineering icon.


v1.1.1:
- Add some missing channeled spells for cast tracking.
- Fix NPC cast times sometimes being incorrect after having been slowed on first cast detected.
- Minor fixes to test mode unlock.


v1.1.0:
- Added option to hide spell icon.
- Resetting all settings will now reload your UI if you have the player castbar module enabled.
- Improved default settings for player castbar. This will affect fresh installs only unless you reset settings.
- Fix some issues with player castbar test mode.


v1.0.9:
- Added options to modify player's own castbar. Let me know if there's any bugs and I'll fix it asap.
- All options will now be greyed out if the current parent module is disabled.
- Extremely short cast times (less than 300ms) are now ignored.
- Grenade casts should no longer be stopped when caster is moving.
- Hopefully fix Frostbolt using wrong spell icon for Chinese clients.
- Fix castbar not showing for default Blizzard target frame if certain custom unit frame addons are loaded, but with their target frame module disabled.


v1.0.8:
- Fix test mode not showing cast fill value properly.
- Fix incorrect default position for party castbars.
- Added option for changing castbar background (not fill) color and transparency.


v1.0.7:
- Added option to show castbars for party frames (max 5 units). This feature is still WIP and might not work 100% yet!
- Added option to change frame level for castbar. You can use this to layer the castbar below or above another frame.
- Fix curses that slows casting speed always using 60% slow value no matter what when you have the unit targeted.
- Fix target castbar sometimes being incorrectly shown for a split second when switching targets.
- Casting speed reduction auras is now ignored for channels as they don't really effect channels that much.
- Added few missing localizations for korean, chinese and russian locale.

v1.0.6:
- Any incorrect cast timers for mobs now auto correct themselves after being fully casted once.
- Add Seduction & Consume Shadows to channel cast tracking.
- Revive Pet now uses talent reduced cast time instead. (10s to 4s)
- Fixed Arcane Missiles timer being reset every damage tick.

v1.0.5:
- Castbars are now faded out when completed instead of being instantly hidden.
- Castbars now shows a brief red interrupt message when successfully interrupted.
- Fix border color option not working when not using default border texture.
- Stopping castbar on unit movement is now a toggleable option. You might want to disable this feature if you play with high latency
since it can sometimes stop a cast incorrectly when the player or enemy lags.


v1.0.4:
- Castbar is now stopped when unit is moving for players only since some mobs cast while running.
- Add option to change text position.
- Minor improvements to auto positioning of target castbar.
- Fix some incorrect cast times.


v1.0.3:
- Castbar is now stopped when unit is moving.
- Added simplified Chinese translations. (Thanks to Wolfcon)


v1.0.2:
- Improved cast pushback/slow detection.
- Fix target castbar sometimes still auto positioning when auto position is disabled.


v1.0.1:
- Improved auto positioning for target castbar.
- Added option to hide spell icon border.
- Removed option for "simple style" castbar. Same look can now be achieved by setting border texture to none and adjusting the icon settings.
- Fix castbar text ignoring alpha level from color picker option.
- Fix incorrect cast times for some channeled spells.
- Memory usage & load time improvements.
- Added traditional Chinese translations. (Thanks to Asukachikaru)


v1.0.0:
- Add support for Tukui & Perl unit frames.
- Add options for changing castbar colors.


v1.0.0b-next.6:
- Fixed certain spells like summon warlock pet not being tracked.
- Added option to change cast icon position.
- Memory usage improvements.
- Updated embedded libs.


v1.0.0b-next.5:
- Blizzard removed the ability to distinguish between spell ranks in the combat log, so now cast times are always based on the highest rank.
This change also breaks being able to retrieve cast times for other player's spells, so now the addon uses a custom made "database" of all the spells instead.
If you see any spells missing or invalid cast times please let me know and I'll fix it asap.
- Improved a lot of the default settings and nameplate castbar scaling. All old settings from beta will be wiped on upgrade.
- Fix custom border textures not being hidden when using simple style option.
- Minor improvements to pushback detection. (Note that this detection is default turned off, see /castbars)
- Minor improvements to options panel.
- Castbar will now truncate long spell names that exceeds the castbar's width.
- Channeled spells now have a green statusbar color like on retail.
- Added korean translations. (Thanks to syj401)


v1.0.0b-next.4:
- Fix incorrect cast times for certain NPC casted abilities that shares name with player abilities.
- Minor update to localizations.


v1.0.0b-next.3:
- Fix castbar not being stopped on crowd controls.
- Fix castbar timer & spark not always being updated while in test mode.
- Fix target anchor not working with Aftermathh & Luna unit frames.
- Add missing RU translations (Thanks Hubbotu)
- Add option to only show cast info without any timers.
- Pushbacks are now ignored for mobs if cast pushback option is enabled. (Most or all mobs have zero pushback).


v1.0.0b-next.2:
- Fix castbar not being stopped on interrupts. (Crowd Controls still won't stop it, I'll try to add a feature for it later)
- Reduced cast time for certain spells that have talented cast reductions.
- Added Russian translations to options. (Thanks to Hubbotu!)
- Added LibSharedMedia support, you can now change border/statusbar texture and text font in the options panel. (still WIP)
- Added option for setting font size.
- Castbar option groups are now listed in a tree view to make navigating easier.
- Reset all settings button now have a confirmation popup.


v1.0.0b-next.1:
- Fixed a typo/oversight that caused spells to always return rank 1.
- Fix addon not loading due to incorrect folder structure in previous uploaded zip file.


v1.0.0 beta:
- Channeled casts are now inversed on the castbar like on retail.
- Channeled casts should now work with non-english game clients.
- Removed slash command options, there's now a GUI for all options (type /castbars to open it)
PS: custom settings from old version will be reset on upgrade due to major changes.
- Added option to show spell rank.
- Added option to hide spell timer text.
- Added option to set castbar spell icon size.
- Added option to hide castbar borders.
- Added option to set castbar width and height.
- Added option to detect spell pushback & cast decreases. (WIP/Experimental. Default off)
- Misc minor improvements & fixes.


v1.0.0 alpha:
- Add detection for channeled casts (WIP).
- Fix castbar position and scale for nameplates.
- Castbar countdown text is now placed inside the castbar frame instead of outside.
- Target castbar is now dynamically placed based on how many auras are visible. (WIP)
- Add options for setting castbar position by XY values. Using this will turn off automatic positioning.
- Add options for toggling castbars for target frame and nameplates.
- Optimizations for cast refreshing.

v1.0.0 pre-alpha:
- initial release.
Archived Files (36)
File Name
Version
Size
Author
Date
v1.2.5
168kB
wardz
02-02-20 02:37 PM
v1.2.4
167kB
wardz
01-24-20 08:34 AM
v1.2.3
167kB
wardz
01-19-20 10:06 AM
v1.2.2
166kB
wardz
12-27-19 11:49 AM
v1.2.1
165kB
wardz
12-22-19 02:18 PM
v1.2.0-hotfix
167kB
wardz
12-11-19 12:17 PM
v1.2.0
165kB
wardz
12-11-19 04:07 AM
v1.1.8
165kB
wardz
12-09-19 12:22 AM
v1.1.7
164kB
wardz
12-08-19 11:45 AM
v1.1.6
163kB
wardz
11-29-19 05:00 AM
v1.1.5
162kB
wardz
11-19-19 03:02 PM
v1.1.4
161kB
wardz
11-02-19 04:20 PM
v1.1.3
157kB
wardz
10-25-19 11:37 AM
v1.1.2
156kB
wardz
10-23-19 04:09 AM
v1.1.1
156kB
wardz
10-16-19 04:24 AM
v1.1.0
157kB
wardz
10-04-19 09:05 AM
v1.0.9
156kB
wardz
10-02-19 12:55 PM
v1.0.8
155kB
wardz
09-25-19 09:12 AM
v1.0.7
155kB
wardz
09-22-19 01:08 PM
v1.0.6
153kB
wardz
09-15-19 05:14 AM
v1.0.5
152kB
wardz
09-10-19 12:07 PM
v1.0.4
151kB
wardz
09-05-19 01:12 PM
v1.0.3
151kB
wardz
09-01-19 08:42 AM
v1.0.2
149kB
wardz
08-29-19 08:45 PM
1.0.1
149kB
wardz
08-28-19 11:08 PM
v1.0.0
175kB
wardz
08-12-19 05:28 AM
1.0.0b-next.6
241kB
wardz
08-10-19 05:36 AM
1.0.0b-next.5
171kB
wardz
08-09-19 05:23 AM
1.0.0b-next4
131kB
wardz
06-11-19 03:28 PM
1.0.0b-next.3
131kB
wardz
06-06-19 08:14 AM
1.0.0b-next.2
130kB
wardz
06-03-19 08:57 AM
1.0.0b-next1
106kB
wardz
05-30-19 10:58 AM
1.0.0b-next.1
108kB
wardz
05-30-19 10:52 AM
1.0.0b
108kB
wardz
05-30-19 05:31 AM
1.0.0a
7kB
wardz
05-23-19 02:14 AM
0.2
5kB
wardz
05-20-19 06:41 AM


Post A Reply Comment Options
Unread 05-21-19, 06:58 PM  
puda74
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 2
I just removed these lines.

-- self:RegisterEvent("NAME_PLATE_UNIT_ADDED")
-- self:RegisterEvent("NAME_PLATE_UNIT_REMOVED")

and..

-- function addon:NAME_PLATE_UNIT_ADDED(namePlateUnitToken)
-- local unitGUID = UnitGUID(namePlateUnitToken)
-- activeGUIDs[namePlateUnitToken] = unitGUID
--
-- self:StartCast(unitGUID, namePlateUnitToken)
--end

--function addon:NAME_PLATE_UNIT_REMOVED(namePlateUnitToken)
-- activeGUIDs[namePlateUnitToken] = nil
--
-- Release frame, but do not delete cast data
-- local castbar = frames[namePlateUnitToken]
-- if castbar then
-- PoolManager:ReleaseFrame(castbar)
-- frames[namePlateUnitToken] = nil
-- end
--end

And no more nameplates.
Report comment to moderator  
Reply With Quote
Unread 05-21-19, 12:26 PM  
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 16
Uploads: 7
Originally Posted by Passed
At present, this creates two castbars. one underneath the main UI frame. One over the on screen health bar, it superimposes itself directly over the top. It is also larger than the main window health plate so that becomes completely hidden.


Can you upload a screenshot? I'll try and change the nameplate position for next version, but it's hard for me to fix since I don't have beta access. Any frame positioning are guesses only atm.
Last edited by wardz : 05-21-19 at 12:50 PM.
Report comment to moderator  
Reply With Quote
Unread 05-21-19, 09:01 AM  
Passed
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
At present, this creates two castbars. one underneath the main UI frame. One over the on screen health bar, it superimposes itself directly over the top. It is also larger than the main window health plate so that becomes completely hidden.
Report comment to moderator  
Reply With Quote
Unread 05-20-19, 09:43 PM  
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 16
Uploads: 7
Re: Option to not use castbar on nameplates.

Originally Posted by puda74
Option to turn off nameplate cast bar and just use unitframes.
I don't have beta access so hard for me to add yet, I'll add options once I get in.

Originally Posted by puda74
Very cute.

local names = { Asmongold=1, Chance=1, Esfand=1, Tipsout=1, Joana=1, Ziqoftw=1, Sodapoppin=1, Staysafe=1 }
if names[UnitName("player")] then
C_Timer.After(1800, function()
if not UnitIsDeadOrGhost("player") then
DoEmote("fart")
Shhh
Last edited by wardz : 05-20-19 at 09:44 PM.
Report comment to moderator  
Reply With Quote
Unread 05-20-19, 02:44 PM  
puda74
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 2
Option to not use castbar on nameplates.

Option to turn off nameplate cast bar and just use unitframes.

Very cute.

local names = { Asmongold=1, Chance=1, Esfand=1, Tipsout=1, Joana=1, Ziqoftw=1, Sodapoppin=1, Staysafe=1 }
if names[UnitName("player")] then
C_Timer.After(1800, function()
if not UnitIsDeadOrGhost("player") then
DoEmote("fart")
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.