Thread Tools Display Modes
04-24-09, 08:07 AM   #1
markushe
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 31
cast bar dissapears

I did set up some castbars but ran into one problem.
When I cast something and try to cast something else before the previous cast is finished (like spamming the button for my next cast) the castbar disappears.
This is probably caused by the Show/Hide feature I use to only show the castbar while casting or channeling. I guess because the next cast fails (another action still in progress) the Show/Hide feature says "not casting" and so the castbar is hidden, although I'm still casting the previous spell.
How can I fix/avoid that or is this a bug?
  Reply With Quote
04-25-09, 08:20 AM   #2
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
Edit your window, and see if you have a multiplexer feature. If yes, remove it.
  Reply With Quote
04-25-09, 09:18 AM   #3
Brainn
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 263
i have the same problem with my single unitframes, the castbar disappers if i try to cast another spell while one is casting, but this only happens if i try to cast a differen spell (casting greater heal and spamming greater heal button => castbar stays, casting greater heal and spamming renew/prayer of healing/mending button => castbar disappears. sometimes the castbar reappears a bit later, for me it looks like this happens when the gcd that whould be triggered by casting the 2. spell runs out.

another point where my castbar disappears: creating a basic campfire, while casting opening a profession window => castbar disappears


there is no show/hide shader and no multiplexer features in the unitframes/window.
  Reply With Quote
04-25-09, 09:32 AM   #4
markushe
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 31
I can confirm that this happens when trying to cast a different spell than the one currently casting.

I don't use a multiplexer feature. In fact my castbar is very simple and a stripped down version from the tutorial.

Here is what I have:

Code:
["Unitframe_Castbar"] = {
			["ty"] = "UnitFrameType",
			["version"] = 1,
			["data"] = {
				{
					["feature"] = "var_spellinfo",
				}, -- [1]
				{
					["feature"] = "var_castlag",
				}, -- [2]
				{
					["feature"] = "ColorVariable: Static Color",
					["name"] = "lagColor",
					["color"] = {
						["a"] = 1,
						["r"] = 0.5450980392156862,
						["g"] = 0.2117647058823529,
						["b"] = 0.2078431372549019,
					},
				}, -- [3]
				{
					["feature"] = "ColorVariable: Static Color",
					["name"] = "castColor",
					["color"] = {
						["a"] = 1,
						["r"] = 1,
						["g"] = 0.807843137254902,
						["b"] = 0.4705882352941176,
					},
				}, -- [4]
				{
					["feature"] = "ColorVariable: Static Color",
					["name"] = "channelColor",
					["color"] = {
						["a"] = 1,
						["r"] = 0.3450980392156863,
						["g"] = 0.3686274509803922,
						["b"] = 1,
					},
				}, -- [5]
				{
					["condVar"] = "spell_casting",
					["name"] = "castbarColor",
					["colorVar1"] = "castColor",
					["feature"] = "ColorVariable: Conditional Color",
					["colorVar2"] = "channelColor",
				}, -- [6]
				{
					["feature"] = "base_default",
					["h"] = 16,
					["version"] = 1,
					["w"] = 195,
					["alpha"] = 1,
				}, -- [7]
				{
					["feature"] = "backdrop",
					["owner"] = "Base",
					["version"] = 1,
					["bkd"] = {
						["_border"] = "none",
						["bgFile"] = "Interface\\Addons\\VFL\\Skin\\white",
						["_backdrop"] = "solid",
						["tile"] = false,
						["ka"] = 0.621999979019165,
						["kb"] = 0.203921568627451,
						["kg"] = 0.1176470588235294,
						["kr"] = 0.07843137254901961,
					},
				}, -- [8]
				{
					["feature"] = "commentline",
				}, -- [9]
				{
					["feature"] = "Description",
					["description"] = "yxcycycycyc",
				}, -- [10]
				{
					["feature"] = "Subframe",
					["h"] = 16,
					["name"] = "lagFrame",
					["flOffset"] = 0,
					["owner"] = "Base",
					["w"] = 195,
					["anchor"] = {
						["dx"] = 0,
						["dy"] = 0,
						["lp"] = "TOPLEFT",
						["rp"] = "TOPLEFT",
						["af"] = "Base",
					},
				}, -- [11]
				{
					["frac"] = "spell_fraclag",
					["owner"] = "lagFrame",
					["w"] = 195,
					["feature"] = "statusbar_horiz",
					["h"] = 16,
					["version"] = 1,
					["colorVar"] = "lagColor",
					["orientation"] = "HORIZONTAL",
					["name"] = "lagBar",
					["anchor"] = {
						["dx"] = 0,
						["dy"] = 0,
						["lp"] = "TOPRIGHT",
						["rp"] = "TOPRIGHT",
						["af"] = "lagFrame",
					},
					["texture"] = {
						["blendMode"] = "BLEND",
						["path"] = "Interface\\Addons\\RDX_mediapack\\sharedmedia\\statusbars\\Steel",
					},
				}, -- [12]
				{
					["feature"] = "commentline",
				}, -- [13]
				{
					["feature"] = "Subframe",
					["h"] = 16,
					["name"] = "castFrame",
					["flOffset"] = 1,
					["owner"] = "Base",
					["w"] = 195,
					["anchor"] = {
						["dx"] = 0,
						["dy"] = 0,
						["lp"] = "TOPLEFT",
						["rp"] = "TOPLEFT",
						["af"] = "Base",
					},
				}, -- [14]
				{
					["frac"] = "",
					["owner"] = "castFrame",
					["w"] = 195,
					["feature"] = "statusbar_horiz",
					["h"] = 16,
					["version"] = 1,
					["colorVar"] = "castbarColor",
					["orientation"] = "HORIZONTAL",
					["name"] = "castBar",
					["anchor"] = {
						["dx"] = 0,
						["dy"] = 0,
						["lp"] = "TOPLEFT",
						["rp"] = "TOPLEFT",
						["af"] = "castFrame",
					},
					["texture"] = {
						["blendMode"] = "BLEND",
						["path"] = "Interface\\Addons\\RDX_mediapack\\sharedmedia\\statusbars\\Steel",
					},
				}, -- [15]
				{
					["script"] = "",
					["owner"] = "lagFrame",
					["w"] = 195,
					["feature"] = "txt_custom",
					["font"] = {
						["sr"] = 0,
						["face"] = "Interface\\Addons\\VFL\\Fonts\\LiberationSans-Regular.ttf",
						["justifyV"] = "CENTER",
						["sx"] = 1,
						["sa"] = 1,
						["sg"] = 0,
						["name"] = "Default",
						["sb"] = 0,
						["sy"] = -1,
						["title"] = "Default",
						["justifyH"] = "RIGHT",
						["size"] = 10,
					},
					["version"] = 1,
					["anchor"] = {
						["dx"] = -3,
						["dy"] = 0,
						["lp"] = "RIGHT",
						["rp"] = "RIGHT",
						["af"] = "lagFrame",
					},
					["h"] = 16,
					["name"] = "timerText",
				}, -- [16]
				{
					["script"] = "",
					["owner"] = "castFrame",
					["w"] = 195,
					["feature"] = "txt_custom",
					["font"] = {
						["sr"] = 0,
						["face"] = "Interface\\Addons\\VFL\\Fonts\\LiberationSans-Regular.ttf",
						["justifyV"] = "CENTER",
						["sx"] = 1,
						["sa"] = 1,
						["sg"] = 0,
						["name"] = "Default",
						["sb"] = 0,
						["sy"] = -1,
						["title"] = "Default",
						["justifyH"] = "LEFT",
						["size"] = 10,
					},
					["version"] = 1,
					["anchor"] = {
						["dx"] = 3,
						["dy"] = 0,
						["lp"] = "LEFT",
						["rp"] = "LEFT",
						["af"] = "castFrame",
					},
					["h"] = 16,
					["name"] = "spellText",
				}, -- [17]
				{
					["feature"] = "commentline",
				}, -- [18]
				{
					["cleanupPolicy"] = 2,
					["owner"] = "Base",
					["w"] = 16,
					["feature"] = "texture",
					["h"] = 16,
					["version"] = 1,
					["anchor"] = {
						["dx"] = 0,
						["dy"] = 0,
						["lp"] = "TOPRIGHT",
						["rp"] = "TOPLEFT",
						["af"] = "Base",
					},
					["name"] = "spellIconTex",
					["drawLayer"] = "ARTWORK",
					["texture"] = {
						["color"] = {
							["a"] = 1,
							["r"] = 1,
							["g"] = 1,
							["b"] = 1,
						},
						["blendMode"] = "BLEND",
					},
				}, -- [19]
				{
					["TEIDefaultState"] = "Hide",
					["textInfo"] = "spellText",
					["showduration"] = 1,
					["feature"] = "free_timer",
					["sbDefaultState"] = "Hide",
					["TTIDefaultState"] = "Hide",
					["textType"] = "Hundredths",
					["statusBar"] = "castBar",
					["text"] = "timerText",
					["color1"] = {
						["a"] = 1,
						["b"] = 1,
						["g"] = 1,
						["r"] = 1,
					},
					["color2"] = {
						["a"] = 1,
						["b"] = 1,
						["g"] = 1,
						["r"] = 1,
					},
					["countTypeFlag"] = "true",
					["version"] = 1,
					["tex"] = "spell_icon",
					["txt"] = "spell_name_rank",
					["timerVar"] = "spell",
					["texIcon"] = "spellIconTex",
				}, -- [20]
				{
					["feature"] = "shader_showhide",
					["owner"] = "Base",
					["version"] = 1,
					["flag"] = "spell_castingOrChanneled",
				}, -- [21]
			},
		},
  Reply With Quote
05-06-09, 08:28 AM   #5
markushe
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 31
Sorry, to ask again. But I still haven't found a solution.
I would really like to get rid of Quartz and use my RDX castbar.
Anyone?
  Reply With Quote
05-06-09, 02:30 PM   #6
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
Edit your unitframes, see the condition of your show hide frame feature.

There are three conditions :
Iscasting
Ischanneling
Iscastingorchanneling

Just check that you are using the third one.

Sigg
  Reply With Quote
05-06-09, 05:38 PM   #7
markushe
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 31
I do use the third one, as I posted in my code above.
But they are named
-spell_casting
-spell_channeled
-spell_castingOrChanneled
But I think that's what you actually meant.



Code:
{
    ["feature"] = "shader_showhide",
    ["owner"] = "Base",
    ["version"] = 1,
    ["flag"] = "spell_castingOrChanneled",
}, -- [21]

So there must be some other problem :/
  Reply With Quote
05-08-09, 10:02 AM   #8
Zindrux
A Deviate Faerie Dragon
Join Date: Apr 2009
Posts: 12
I think I've figured out the problem. This exact thing happens to me when I press an action button that corresponds to a macro that both uses my trinkets and casts a spell.

Code:
/use 13
/use 14
/cast frostbolt
If I create this macro and spam it, the cast bar disappears. If I remove the '/use' lines from the macro, it works fine.
  Reply With Quote
05-08-09, 01:49 PM   #9
bytora
A Fallenroot Satyr
Join Date: Apr 2009
Posts: 22
Originally Posted by sigg View Post
Edit your unitframes, see the condition of your show hide frame feature.

There are three conditions :
Iscasting
Ischanneling
Iscastingorchanneling

Just check that you are using the third one.

Sigg
Iscastingorchanneling does not work for me. I had to create a nested condition.

IsCasting (true) -> Show
IsCasting (false) -> IsChanneling (true) -> Show
IsCasting (false) -> IsChanneling (false) -> Hide
  Reply With Quote
10-29-09, 10:07 AM   #10
Zindrux
A Deviate Faerie Dragon
Join Date: Apr 2009
Posts: 12
How did you create the nested condition. I still have this issue in the latest RDX version. Start casting, the castbar shows as normal. If I try to cast a different spell while the other is still casting, the bar disappears.

Has someone resolved this?
  Reply With Quote
10-29-09, 10:47 AM   #11
Zindrux
A Deviate Faerie Dragon
Join Date: Apr 2009
Posts: 12
I'm not sure if this information helps. But it seems that the bar and timer shader is either hiding or resetting to zero if I get the error feedback "The spell is not ready yet." If I wait until the cast is over halfway through, I get the "Another action in progress" feedback and the cast bar stays visible.

EDIT: I downloaded Sigg's Konyagi UI to see if the castbars exhibit the same behaviour. They do. To test it, simply start a cast and spam a different spell immediately after the castbar start. You'll see that the castbar for the current spell disappears as you get the "The spell is not ready yet." feedback.

Last edited by Zindrux : 10-29-09 at 11:02 AM.
  Reply With Quote
10-29-09, 11:05 AM   #12
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
Yes, this problem has been fixed in SVN with 7.4.0 alpha version.

I will give you the fix when I get home.

Sigg
  Reply With Quote
10-29-09, 11:07 AM   #13
Zindrux
A Deviate Faerie Dragon
Join Date: Apr 2009
Posts: 12
Oooh thanks!
  Reply With Quote
10-29-09, 03:20 PM   #14
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
In fact it is a new bug...

File RDX\RDAL\UDB.lua

replace line 1597

Code:
WoWEvents:Bind("UNIT_SPELLCAST_FAILED", nil, filter_cast_timer_stop);
by

Code:
WoWEvents:Bind("UNIT_SPELLCAST_FAILED", nil, function()
	local spellName = UnitCastingInfo(arg1);
	if not spellName then
		spellName = UnitChannelInfo(arg1);
	end
	if not spellName then
		filter_cast_timer_stop();
	end
end);
File RDX\Unitframes\Variables.lua

replace line 374

Code:
if spell_name and (spell_channeled or (band(paintmask, ]] .. smask .. [[) == 0)) then
by

Code:
if spell_castingOrChanneled then

Sigg
  Reply With Quote
10-29-09, 03:38 PM   #15
Zindrux
A Deviate Faerie Dragon
Join Date: Apr 2009
Posts: 12
Thank you so much, Sigg. I appreciate it. I will try this now.

EDIT: All set. This works wonderfully. Thanks so much. On another note, when you said earlier that it had been fixed in the alpha, I checked out the head revision of the trunk. I have to say that I really like the way the new RDX Main bar is looking at the top left of the screen. Thanks for all the work that you (and any other devs) are doing.

Last edited by Zindrux : 10-29-09 at 03:46 PM.
  Reply With Quote

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » cast bar dissapears


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off