Download
(7Kb)
Download
Updated: 11-28-10 09:41 AM
Pictures
File Info
Updated:11-28-10 09:41 AM
Created:unknown
Downloads:23,041
Favorites:78
MD5:

thek: Castbar  Popular! (More than 5000 hits)

Version: beta1
by: thek [More]

thek: Castbar (BETA)

redesigns the default castbars.

WARNING: this addon will only work 100% with the default unitframes because ouf and other unitframe addons deactivate the default unitframes and the bundled castbars for target and focus. (Playercastbar will still work, even with custom unitframes)

Move the castbars:

use /tcb to toggle the dragframes.

Configuration:

You can find the configuration at the config.lua file.

c["CastingBarFrame"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableLag = true,
enableTimer = true,
}
c["TargetFrameSpellBar"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableLag = true,
enableTimer = true,
}
c["FocusFrameSpellBar"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableLag = true,
enableTimer = true,
}
c["MirrorTimer1"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableTimer = true
}
c["PetCastingBarFrame"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableTimer = true
}

The config has changed in different points.

textfont: first value is the fontfile, second value defines the fontsize and the last option sets fontoptions like outline, thinoutline and so on.

castbarsize: first value sets the castbar width, second the height, third the bordersize and last the spacing between the castbar and the castbar icon.

castbarcolor/castbarbgcolor: defines the rgb value for the castbar color.

castbartextures: first value defines the castbar texture, second the background texture.

enabletimer: enables the castbar timer

enablelag: enables the castbar lag

NOTE: the mirrortimer has no lag, so there is no option for it!

version 0.2.2
removed a bug: moves the targetcastingbar to a random position

version 0.2.1
added mirrortimer

version 0.2
changed configuration (castbar.lua)
added focus- and targetcastbar

version 0.1.3
another try to fix 'resize' bug
added castbarlag

version 0.1.2
hooked 'onsizechanged' - should fix resize bug
added castbartimer

version 0.1.1
bugfix: castbar size

rewrite 0.1
new version

version 0.6.1
removes a possible bug with castbartimers

version 0.6
enables drag & drop for mirrorbar

version 0.5
enables drag & drop for target-/focuscastbar
adds some options

version 0.0.4a
removes bug with castbartimes

version 0.0.4
removes bug with petcastbar

version 0.0.3a
adds: focuscastbartimer

version 0.0.2
adds: drag&drop for playercastbar, slashcommands, targetcastbartimer
Post A Reply Comment Options
Unread 01-29-09, 01:30 PM  
thek
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 104
Uploads: 10
Originally posted by Squiddy0
Ok if that's the case, is there an option to disable the other cast bar drag/drop features in the core.LUA, except the player cast bar?
Don't know why you want to do that, but you this one should work:

--tcb = SetupCastingBar("TargetFrameSpellBar");
--fcb = SetupCastingBar("FocusFrameSpellBar");
--mcb = SetupCastingBar("MirrorTimer1", true);

from line 127-129
Report comment to moderator  
Reply With Quote
Unread 01-29-09, 10:00 AM  
Squiddy0
A Defias Bandit
 
Squiddy0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 116
Uploads: 3
Originally posted by thek
Hi, my addon doesn't create any castbars, it makes them only dragable and extends them with a lagmeter and timer. The castbars itself are created by blizzards ui.
Ok if that's the case, is there an option to disable the other cast bar drag/drop features in the core.LUA, except the player cast bar?
Report comment to moderator  
Reply With Quote
Unread 01-29-09, 02:14 AM  
thek
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 104
Uploads: 10
Re: Is there problem?

Originally posted by bluenyx
Interface\AddOns\ImpCastbar\core.lua :182:attempt to compare nil with number


As such messages do not add-ons is not running.
Is there a problem?
Hi, when do you get this error? @Login or when casting (maybe a special castbar / vehicle)? Thx for your help.
Report comment to moderator  
Reply With Quote
Unread 01-29-09, 01:52 AM  
bluenyx
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Is there problem?

Interface\AddOns\ImpCastbar\core.lua :182:attempt to compare nil with number


As such messages do not add-ons is not running.
Is there a problem?
Report comment to moderator  
Reply With Quote
Unread 01-29-09, 01:15 AM  
thek
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 104
Uploads: 10
Originally posted by Squiddy0
Hello I like your addon but I only use the Player Casting Bar... there a way to "Hide" your other casting bars via the core.LUA if so, how please, or just have a core.LUA with only the Player Cast Bar? Thanks.

Hi, my addon doesn't create any castbars, it makes them only dragable and extends them with a lagmeter and timer. The castbars itself are created by blizzards ui.
Report comment to moderator  
Reply With Quote
Unread 01-28-09, 06:12 PM  
Squiddy0
A Defias Bandit
 
Squiddy0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 116
Uploads: 3
Hello I like your addon but I only use the Player Casting Bar... there a way to "Hide" your other casting bars via the core.LUA if so, how please, or just have a core.LUA with only the Player Cast Bar? Thanks.
Report comment to moderator  
Reply With Quote
Unread 01-28-09, 10:55 AM  
Mr.Hunter
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally posted by thek
Hi,

the Targetcastingbar can be shown/hidden through blizzards interface configuration. My addon makes them only dragable but is not responsible for showing and hiding castbars.

Disabling the castingbars will cause errors in the ui, so this would be no good option
Oh, didn't know that.. thank you
Report comment to moderator  
Reply With Quote
Unread 01-28-09, 06:55 AM  
thek
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 104
Uploads: 10
Hi,

the Targetcastingbar can be shown/hidden through blizzards interface configuration. My addon makes them only dragable but is not responsible for showing and hiding castbars.

Disabling the castingbars will cause errors in the ui, so this would be no good option

Originally posted by Mr.Hunter
Hi

Maybe a strange Question but do you plan to add a feature to disable certain castingbars?
I'm using the Improved Castingbar Addon mainly as a Fishing Timer and because it's one of the smallest Castbar Addons.. i like it, but i dont' need Pet Castingbars or Enemy Castingbars..

Is this possible?

Thanks
Report comment to moderator  
Reply With Quote
Unread 01-28-09, 04:43 AM  
Mr.Hunter
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Hi

Maybe a strange Question but do you plan to add a feature to disable certain castingbars?
I'm using the Improved Castingbar Addon mainly as a Fishing Timer and because it's one of the smallest Castbar Addons.. i like it, but i dont' need Pet Castingbars or Enemy Castingbars..

Is this possible?

Thanks
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 05:05 AM  
thek
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 104
Uploads: 10
Originally posted by Bloodspill
is there a way to add the breath bar?
yup i'm still working on this, and will be included in the next release.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 04:13 AM  
Bloodspill
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
is there a way to add the breath bar?
Report comment to moderator  
Reply With Quote
Unread 01-12-09, 08:01 AM  
thek
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 104
Uploads: 10
Re: hide

Originally posted by whizque
is there options to hide icon and timers? i just need lag meter.
ty awesome addon!
Hi, i'm doing a little rewrite on this addon, with configuration options and some new features. Within the rewrite you will find what you request Please be patient, i will release it within 1 or 2 weeks
Report comment to moderator  
Reply With Quote
Unread 01-11-09, 11:27 AM  
whizque
A Defias Bandit
 
whizque's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 39
Uploads: 3
hide

is there options to hide icon and timers? i just need lag meter.
ty awesome addon!
Report comment to moderator  
Reply With Quote
Unread 01-01-09, 05:40 AM  
thek
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 104
Uploads: 10
Re: unable to move casting bar

Originally posted by Squiddy0
Hello

I really like this addon however what I am finding is that I set the placement, and when I log in on one character the placement is fine, but another character it's off, so I do the /icb lock, move the bar frame but it doesn't move the actual frame and the cast bar stays in the same place, so I'm removing all the backup saves for each character and deleting the addon and reinstalling to see if it works.
Hi, please test the following things:

(1) /icb reset
(2) /icb lock
(3) move the drag frame

does the castbar now moves to the correct position?
Report comment to moderator  
Reply With Quote
Unread 12-31-08, 02:04 PM  
Squiddy0
A Defias Bandit
 
Squiddy0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 116
Uploads: 3
unable to move casting bar

Hello

I really like this addon however what I am finding is that I set the placement, and when I log in on one character the placement is fine, but another character it's off, so I do the /icb lock, move the bar frame but it doesn't move the actual frame and the cast bar stays in the same place, so I'm removing all the backup saves for each character and deleting the addon and reinstalling to see if it works.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: