Quantcast
Download
(168 Kb)
Download
Updated: 02-02-20 02:37 PM
Pictures
File Info
Compatibility:
WoW Classic Patch (1.13.3)
Updated:02-02-20 02:37 PM
Created:05-20-19 06:41 AM
Downloads:472,790
Favorites:277
MD5:

ClassicCastbars  Popular! (More than 5000 hits)

Version: v1.2.5
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.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 (35)
File Name
Version
Size
Author
Date
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 09-24-19, 01:29 PM  
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 16
Uploads: 7
Originally Posted by sigz
will you manage player castbar style and position under playerframe ? This could bring some consistency to addon... (And avoid to use both ecastingbar and classiccastbars)
It's been asked a lot so I'll most likely add it, but im not sure when I get the time to add it.

Edit: Now added.
Last edited by wardz : 10-02-19 at 12:50 PM.
Report comment to moderator  
Reply With Quote
Unread 09-24-19, 06:54 AM  
sigz
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 5
Uploads: 1
will you manage player castbar style and position under playerframe ? This could bring some consistency to addon... (And avoid to use both ecastingbar and classiccastbars)
Report comment to moderator  
Reply With Quote
Unread 08-31-19, 02:47 AM  
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 16
Uploads: 7
Originally Posted by blakbyrd
Is there any chance of getting controls to move the text? I like to have the text above the bar.
Yeah it's on my TODO list but might take some time as im busy leveling.

Edit: Added it now.
Last edited by wardz : 09-05-19 at 01:14 PM.
Report comment to moderator  
Reply With Quote
Unread 08-30-19, 02:59 PM  
blakbyrd
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Is there any chance of getting controls to move the text? I like to have the text above the bar.
Report comment to moderator  
Reply With Quote
Unread 08-10-19, 02:22 PM  
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 16
Uploads: 7
Re: Castbar Timing

Originally Posted by Drake5280
Hi! Love the addon but it seems the cast time is way off...when i target myself for instance, My cast of Healing Wave lets say is completed but in my Target Frame it says i'm still casting...it seems to be off by 1/2 a second or so. Can you look into this? I've added a Screen shot to show

https://imgur.com/a/LT282KM
See the update note on addon's front page. Cast times are now always based on the highest spell rank in the game, so for Healing Wave (Rank 10) it's 3 seconds or so. This is not fixable unless Blizzard changes their API.


Originally Posted by Fedaygin
Howdies. Won't let me download the latest Version: 1.0.0b-next.6 yet at 10.8.2019 14:55 EEST.

EDIT: Nvm i think it gives the older ones as popup cause of Update is Pending atm. I noticed it at my 'Favorites' list


Kindly: Fedaygin

Yeah, that happens when a new file upload is pending approval. Usually takes an hour.
Last edited by wardz : 08-10-19 at 02:33 PM.
Report comment to moderator  
Reply With Quote
Unread 08-10-19, 01:28 PM  
Drake5280
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Castbar Timing

Hi! Love the addon but it seems the cast time is way off...when i target myself for instance, My cast of Healing Wave lets say is completed but in my Target Frame it says i'm still casting...it seems to be off by 1/2 a second or so. Can you look into this? I've added a Screen shot to show

https://imgur.com/a/LT282KM
Last edited by Drake5280 : 08-10-19 at 01:32 PM.
Report comment to moderator  
Reply With Quote
Unread 08-10-19, 05:56 AM  
Fedaygin
A Murloc Raider
 
Fedaygin's Avatar

Forum posts: 6
File comments: 33
Uploads: 0
Offers Zip Files before 10.8.2019 update.

Howdies. Won't let me download the latest Version: 1.0.0b-next.6 yet at 10.8.2019 14:55 EEST.

EDIT: Nvm i think it gives the older ones as popup cause of Update is Pending atm. I noticed it at my 'Favorites' list


Kindly: Fedaygin
__________________
​"Recycle & Don't use Plastic Bags & Bottles" Use #SaveAmazonia & #ChargeBolsonaro Hashtags when Tweet about Helping Earth's Lungs <3 Ty Gal Gadot & Leonardo Dicaprio for the Help.

We need Beautiful Entertainment to Spice up RL. Check & Share Around Wicked Wide Web. https://docs.google.com/document/d/1...it?usp=sharing
Last edited by Fedaygin : 08-10-19 at 06:06 AM.
Report comment to moderator  
Reply With Quote
Unread 08-09-19, 08:20 AM  
Elegen
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Addon Update

Originally Posted by wardz
Originally Posted by Elegen
Will this be updated for launch? I saw the update note on the main page but as of today's stress test it looks like the addon is still not working. So, I assume it hasn't been updated since that note was added.
Uploaded an update for it now.
Thanks! Can confirm its working now.
Report comment to moderator  
Reply With Quote
Unread 08-09-19, 05:41 AM  
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 16
Uploads: 7
Re: Addon Update

Originally Posted by Elegen
Will this be updated for launch? I saw the update note on the main page but as of today's stress test it looks like the addon is still not working. So, I assume it hasn't been updated since that note was added.
Uploaded an update for it now.
Report comment to moderator  
Reply With Quote
Unread 08-08-19, 08:48 PM  
Elegen
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Addon Update

Will this be updated for launch? I saw the update note on the main page but as of today's stress test it looks like the addon is still not working. So, I assume it hasn't been updated since that note was added.
Report comment to moderator  
Reply With Quote
Unread 05-30-19, 04:54 PM  
puda74
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 2
Nice Updates. Working very well with Zperl.
Report comment to moderator  
Reply With Quote
Unread 05-28-19, 05:24 AM  
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 16
Uploads: 7
Re: LUA Error

Originally Posted by jackfrost7
Getting the following error only when using zperl

Code:
Message: Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:67: attempt to compare number with nil
Time: Mon May 27 21:19:23 2019
Count: 2
Stack: Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:67: attempt to compare number with nil
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:67: in function `AdjustTargetCastbarPosition'
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:89: in function `StartCast'
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:122: in function `StartAllCasts'
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:150: in function `StoreCast'
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:168: in function <Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:161>
(tail call): ?

Locals: self = <unnamed> {
 NAME_PLATE_UNIT_REMOVED = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:271
 StoreCast = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:135
 PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:199
 StopCast = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:107
 GetCastbarFrame = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:32
 ToggleUnitEvents = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:208
 db = <table> {
 }
 DeleteCast = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:154
 NAME_PLATE_UNIT_ADDED = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:264
 PLAYER_GUID = "Player-4618-0000ECE3"
 COMBAT_LOG_EVENT_UNFILTERED = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:161
 AdjustTargetCastbarPosition = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:47
 StartAllCasts = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:115
 0 = <userdata>
 StopAllCasts = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:127
 StartCast = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:75
 PLAYER_TARGET_CHANGED = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:254
}
castbar = <unnamed> {
 0 = <userdata>
 Border = <unnamed> {
 }
 Flash = <unnamed> {
 }
 showCastbar = true
 _data = <table> {
 }
 Icon = <unnamed> {
 }
 startChannelColor = <table> {
 }
 finishedCastColor = <table> {
 }
 nonInterruptibleColor = <table> {
 }
 Text = <unnamed> {
 }
 Timer = <unnamed> {
 }
 BorderShield = <unnamed> {
 }
 Spark = <unnamed> {
 }
 startCastColor = <table> {
 }
 flashColorSameAsStart = true
 finishedColorSameAsStart = true
 failedCastColor = <table> {
 }
}
parentFrame = XPerl_TargetportraitFrame {
 0 = <userdata>
 portrait3D = XPerl_TargetportraitFrameportrait3D {
 }
 gradient = <unnamed> {
 }
 portrait = XPerl_TargetportraitFrameportrait {
 }
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
Only when target is enabled, not nameplate... disabling target and enabling nameplate lets that part work (which is the part I use so I'm fine, just letting you know).

Not sure if this is on your addon or on zperl... I'm guessing zperl, but maybe you'll want to fix it anyways because people like non-blizz unit frames.

Thanks for the addon btw.
Thanks for the report. Next version should fix it but im gonna postpone uploading it until I get access to the stress test/beta servers again, incase there's any new errors.

Edit: Should be fixed now.
Last edited by wardz : 05-30-19 at 06:31 AM.
Report comment to moderator  
Reply With Quote
Unread 05-27-19, 07:37 PM  
jackfrost7
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
LUA Error

Getting the following error only when using zperl

Code:
Message: Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:67: attempt to compare number with nil
Time: Mon May 27 21:19:23 2019
Count: 2
Stack: Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:67: attempt to compare number with nil
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:67: in function `AdjustTargetCastbarPosition'
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:89: in function `StartCast'
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:122: in function `StartAllCasts'
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:150: in function `StoreCast'
Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:168: in function <Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:161>
(tail call): ?

Locals: self = <unnamed> {
 NAME_PLATE_UNIT_REMOVED = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:271
 StoreCast = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:135
 PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:199
 StopCast = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:107
 GetCastbarFrame = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:32
 ToggleUnitEvents = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:208
 db = <table> {
 }
 DeleteCast = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:154
 NAME_PLATE_UNIT_ADDED = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:264
 PLAYER_GUID = "Player-4618-0000ECE3"
 COMBAT_LOG_EVENT_UNFILTERED = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:161
 AdjustTargetCastbarPosition = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:47
 StartAllCasts = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:115
 0 = <userdata>
 StopAllCasts = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:127
 StartCast = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:75
 PLAYER_TARGET_CHANGED = <function> defined @Interface\AddOns\ClassicCastbars\ClassicCastbars.lua:254
}
castbar = <unnamed> {
 0 = <userdata>
 Border = <unnamed> {
 }
 Flash = <unnamed> {
 }
 showCastbar = true
 _data = <table> {
 }
 Icon = <unnamed> {
 }
 startChannelColor = <table> {
 }
 finishedCastColor = <table> {
 }
 nonInterruptibleColor = <table> {
 }
 Text = <unnamed> {
 }
 Timer = <unnamed> {
 }
 BorderShield = <unnamed> {
 }
 Spark = <unnamed> {
 }
 startCastColor = <table> {
 }
 flashColorSameAsStart = true
 finishedColorSameAsStart = true
 failedCastColor = <table> {
 }
}
parentFrame = XPerl_TargetportraitFrame {
 0 = <userdata>
 portrait3D = XPerl_TargetportraitFrameportrait3D {
 }
 gradient = <unnamed> {
 }
 portrait = XPerl_TargetportraitFrameportrait {
 }
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
Only when target is enabled, not nameplate... disabling target and enabling nameplate lets that part work (which is the part I use so I'm fine, just letting you know).

Not sure if this is on your addon or on zperl... I'm guessing zperl, but maybe you'll want to fix it anyways because people like non-blizz unit frames.

Thanks for the addon btw.
Report comment to moderator  
Reply With Quote
Unread 05-23-19, 08:48 AM  
puda74
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 2
Nice, i love it.

/castbar target pos 0 -20
Is just under Target of Target frames btw.

Great job man
Report comment to moderator  
Reply With Quote
Unread 05-22-19, 12:45 AM  
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 16
Uploads: 7
Ok, so I got into the stress test atleast. I'll upload a version tomorrow with all the fixes and options.

Edit: Uploaded it now, let me know if there's any issues.
Last edited by wardz : 05-23-19 at 02:48 AM.
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.