About
Adds casting bars to the target frame and optionally to various other unit frames. (Cast times are estimates only)
You can also modify your own player castbar.
Configuration
Castbars have configurable size, textures, positioning and more.
Type "/castbar" or go to "Escape -> Interface Options -> AddOns -> ClassicCastbars" to open the options panel.
FAQ
Q: Why are the cast timers incorrect when the target is downranking spells?
A: Blizzard removed cast related unit APIs and also spell IDs from the combat log in Classic, so there's no way
to distinguish between spell ranks anymore and thus this addon will always assume its the max rank being used. This will also affect mobs to a certain extent, but against mobs the addon will auto correct itself after the spell has successfully been cast once for that mob type. If you leave the zone or restart your game this data will be reset.
Q: Why are the cast timers incorrect for some max rank spells?
A: Certain spells have talents that reduce its cast time and these can't be tracked accurately in Classic.
This addon will instead assume that the target has all cast time reduction talents active. Cast pushback might also
sometimes give slight inconsistencies, especially if the target has talents that give chance to ignore pushback.
Q: Why are the castbar still shown even though the player or mob canceled the cast?
A: Classic has no event for cast stop so the castbar will be stopped on unit movement instead, but this feature is not
always 100% accurate. It is also disabled for mobs since some mobs can move while casting. For focus castbar, it is also disabled since it requires a valid unit ID to detect movement, and "focus" doesn't exist in Classic as a valid unit ID.
Q: The addon doesn't show any casts at all?
A: You most likely have a custom unit frame addon that conflicts with ClassicCastbars, or you disabled the addon
on the taint popup when trying to join a battleground.
Q: The addon sometimes doesn't show casts?
A: Blizzard recently nerfed the combat log range to 50 yards, so if you're far away from your target you won't see his cast. Even if you move into range you will still need to wait for the target to cast a new spell before you can see the castbar.
Q: The castbar has different anchor points for different characters?
A: Castbar's position and scale are always relative to the parent frame. You most likely have the target frame
positioned or scaled differently on your other character.
Q: Why can't I see castbars on friendly nameplates inside dungeons/raids?
A: Blizzard made a change in Legion that made nameplates unable to be modified while in instances due to it being
abused in raids to make them easier. This change also made it to Classic.
Q: Why is the castbar not showing Portals or Mounts?
A: These casts generate no combat log events.
Q: Can I see what cast is interruptible or not?
A: As of v1.3.0 this is now possible to a certain excent. If you interrupt a casting mob and it shows "immune", the addon will
remember this for the next time that spell is being cast and will show a grey uninterruptible spell indicator from then on. (See ingame options or changelogs for v1.3.0 for more detailed info)
Feel free to submit any more questions in the comment section below.
If for some reason the addon stopped working, try temporarily disabling all other addons too see if there's any conflicts, or run this macro ingame twice: (Will reset all castbar settings to default)
/run ClassicCastbarsDB=nil;ClassicCastbarsCharDB=nil;EnableAddOn("ClassicCastbars");EnableAddOn("ClassicCastbars_Options")ReloadUI();
Contributing
- Submit an issue or feature request.
- Github.
Is there a version of this addon for the retail version of the game?
I prefer the design/look of the older/Blizzard bars.
How to have exactly the same castbars for the player and the target?
I tried to put exactly the same numbers, but the sizes don't match.
In reply to UristMacFrench:
If you want the player castbar to look like the target one you can right-click your player frame portrait and enable "Cast Bar Underneath" option. Then just re-position it wherever you want. For the reverse try changing the castbar textures in the addons options.
Hello, sometime in the past you did make the addon to set the options regarding the cast bar to apply after all the other addons load, so they could not overwrite the options which you set in the ClassicCastbars. Today what happened to me again (it was fixed by you for a few months) is that the color set in the options was something different from what I have set in the ClassicCastbars.
So, could you please check or make addon again to set the color for the cast bar to apply after all other addons, if some of them is trying to overwrite the setting?
Thank you very much.
In reply to Ysondria:
I haven't done any new changes to the coloring, maybe one of your other addons changed. Anyways I can try slightly increasing the delay again, its currently set to run 0.1s after the castbar is shown for the first time.
Is there any way to get this castbars to not show castbars for spells but only for mount etc?
Tried to fix that but can't get the settings right..
In reply to Xa0o:
No sorry.
In reply to Xa0o:
wow doesnt show spells casted for mounts/portals i dont think
Can you add font outline option for cast names, please? It's hard to read on some bar color without black outline.
Is there a way to show ticktimer for Player Castbar for channels and/or AOE spells? Can't seem to find any settings for it,
In reply to dachaus_dkp:
Sorry no tick timers, this addon only skins the default built in castbar.
For some reason my Player Cast bar resets its position rather than staying where I move it to. As designed or is this a bug? Maybe I'm missing a setting somewhere to lock the position?
In reply to rkjunior303:
That's not intended no. Try temporarily disabling all other addons too see if there's any conflicts. If some other addon is modifying the castbar aswell it can cause issues.
In reply to Wardzx:
I actually figured it out. Under this profile, I had "Cast Bar Underneath" selected in the Player Frame options so it was resetting the bar. Unchecked that and now it's staying where I moved it -- thanks!
Hello
I've been getting this error since about an hour ago and can't seem to fix it.
Tried reinstalling and running it as standalone addon but both didn't resolve the issue.
Message: Interface\AddOns\ClassicCastbars\ClassicCastbars-v1.3.14.lua:388: attempt to index field 'party' (a nil value)
Time: Wed Dec 2 01:38:23 2020
Count: 1
Stack: Interface\AddOns\ClassicCastbars\ClassicCastbars-v1.3.14.lua:388: attempt to index field 'party' (a nil value)
Locals:
When I try to type /castbar it gives a different error
Message: ...\ClassicCastbars_Options\ClassicCastbars_Options.lua:38: attempt to index field 'db' (a nil value)
Time: Wed Dec 2 01:39:46 2020
Count: 1
Stack: ...\ClassicCastbars_Options\ClassicCastbars_Options.lua:38: attempt to index field 'db' (a nil value)
Locals:
Thanks for all your work on the addon btw!
Edit:
Fixed it with the FAQ suggestion of
/run ClassicCastbarsDB=nil;ClassicCastbarsCharDB=nil;EnableAddOn("ClassicCastbars");EnableAddOn("ClassicCastbars_Options")ReloadUI();
Greetings
In reply to romzelo:
Oh seems to be an issue with the settings when updating the addon from an older version. Will fix in next version. (Glad u sorted it out already)
Yesterday the addon completely stopped working, the options part is empty, and nothing happens when i try to write /castbar, i cant even send the message with enter. I tried everything (disable other addons, update, delete wdb, etc.). Any idea what to do? Thanks in advance
In reply to Forge_User_13259875:
Enable Lua errors and tell me what it says.
/console scriptErrors 1
you might have to restart your game after running the command. To disable errors after you're done just run it again but change 1 to 0
In reply to Wardzx:
I don't know why, but I reinstalled the addon once more, and now it works! Thanks for your answer though!
Hi,
i love your addon and used it with wow classic.
As shadowlands is coming, i´m going to play retail again ...and there´s my question:
is it possible to do your addon for retail version of wow. what i especial need are the castbars on nameplates. i like the standard carstbar look (target castbar), but retail has others.
pleaseplease make it possible to use this on retail. That would be super nice :)
I will donate here or pay something via paypal if it helps.
thank you very much for your effort.