Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(105 Kb)
Download
Updated: 12-06-10 04:15 PM
Pictures
File Info
Updated:12-06-10 04:15 PM
Created:unknown
Downloads:22,202
Favorites:123
MD5:

eXtreme Unit Buttons  Popular! (More than 5000 hits)

Version: v2.0
by: tayedaen [More]

This highly configurable mod allows players to associate buttons to unit frames. It is meant as a replacement to GroupButtons which stopped functioning with the 2.0 patch in December 2006. The mod extends the capabilities of GroupButtons by providing these additional features:

  1. an unlimited number of buttons per unit frame
  2. Buttons which turn on/off depending on the amount of damage a unit has
  3. Buttons which are dimmed if a unit as that buff or a related buff applied.
  4. Buttons which appear when a debuff is applied to a unit.
  5. Buttons which allow you to have any type of "/" slash or macro command on a button
  6. A variety of a modes for different activities in the game. For example, a set of buttons
  7. for soloing, buttons for instances, buttons for raids, buttons for specific bosses (such as Baron Geddon in MC (to all priests to debuff), buttons for PvP, etc.
  8. Assign buttons to unit frames that when clicked cast spells on different units. This feature allows, for example, buffs and heals for the player unit to appear within the target buttons to minimize the amount of mouse movement between buttons.
  9. Works for any kind of non-casting classes; specifically warriors and rogues.

Version 2.0 (Dec 06, 2010) (by tayedaen)

I know that the documentation is a complete mess at the moment, I am already working on it.
But I wanted to have a released version for cataclysm start.

Before upgrading, please read the included 'readme.txt'.

You will loose your config, so read carefully !

Hightlights of the changes since the last official release:

Code:
New: Support for default profiles for spec1 and spec 2
New: Wizards for Group and Profile generation
 Please use them !
New: LDB button (and menu)
New: Default Buttons now always use the Prefix 'SB_'
 This is an abbreviation for StandardButton.
 I recommend to use 'CB_' as prefix for custom buttons.
New: '$' self condition for cast buttons (buff, debuff etc.)
 Example: CB_Renew,buff,Renew,$Renew
 This custom buutton will only chnge to the state BUFFED if the destination unit is buffed with your OWN Renew.
New: '!' inverts conditions for cast buttons (buff, debuff etc.)
New: new debuff condition "Death"
 A button with this condition is only shown if the destination unit is dead.
New: new debuff condition "Purge"
 A button with this condition is only shown if the destination unit has at least one buff to purge.
New: two keywords for exclude-units:
  'hostile'   and    'friendly'
  Example: MyGroupName,SB_Renew,*,hostile
  This button will be hidden on hostile units (= it will only be shown on friendly units)
New: Spell ranks have been removed (multiranking too)
New: Macro buttons support now '[target=unit#]'
 Here unit# will be rpalced at runtime with the unit the button is attached to.
 Example: /target [target=unit#]
Improved: Verification of buttons while configuring the addon

And last but not least: 
!!! Improved: Internals are mostly rewritten from scratch for better performance  !!!

Please refer to 'z_historic_Changelog.txt' for older changes.
Known problems:
XPerl's partypets get no buttons

Known blizzard bugs:
------------------------
'isUsableSpell' is broken, there is nothing I can do to change that.
That means: Some spells are reported 'not usable' if you target a hostile target or NPC (like 'PowerWord: Shield' for example).

Enjoy - Tayedaen

Hightlights of the changes since the last official release:
===========================================================
New: Support for default profiles for spec1 and spec 2
New: Wizards for Group and Profile generation
Please use them !
New: LDB button (and menu)
New: Default Buttons now always use the Prefix 'SB_'
This is an abbreviation for StandardButton.
I recommend to use 'CB_' as prefix for custom buttons.
New: '$' self condition for cast buttons (buff, debuff etc.)
Example: CB_Renew,buff,Renew,$Renew
This custom buutton will only chnge to the state BUFFED if the destination unit is buffed with your OWN Renew.
New: '!' inverts conditions for cast buttons (buff, debuff etc.)
New: new debuff condition "Death"
A button with this condition is only shown if the destination unit is dead.
New: new debuff condition "Purge"
A button with this condition is only shown if the destination unit has at least one buff to purge.
New: two keywords for exclude-units:
'hostile' and 'friendly'
Example: MyGroupName,SB_Renew,*,hostile
This button will be hidden on hostile units (= it will only be shown on friendly units)
New: Spell ranks have been removed (multiranking too)
New: Macro buttons support now '[target=unit#]'
Here unit# will be rpalced at runtime with the unit the button is attached to.
Example: /target [target=unit#]
Improved: Verification of buttons while configuring the addon

And last but not least:
!!! Improved: Internals are mostly rewritten from scratch for better performance !!!

Please refer to 'z_historic_Changelog.txt' for older changes.

Known problems:
XPerl's partypets get no buttons
Optional Files (2)
File Name
Version
Size
Author
Date
Type
2.1beta4
104kB
09-15-12 11:51 AM
Addon
upload1 RC2
105kB
12-01-10 11:42 AM
Addon


Archived Files (1)
File Name
Version
Size
Author
Date
v1.8.2
1MB
tayedaen
07-26-08 03:47 PM


Post A Reply Comment Options
Unread 02-15-11, 05:46 PM  
Vaevictis
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Originally posted by Cosmic Cleric
Glad to help. Be sure to thank Tay as well for keeping the coding up to date on this vital add-on!




Notepad is fine, just make sure the 'Format/Word Wrap' feature is turned off before saving.

I use PSPad, which is freeware, and works great with LUA code.




If nothing else, you should be seeing "In XPerl Code!" If you are not, then XUB doesn't think you are using XPerl!

1) I want to see your XUB script. Start WoW, do a "/xub c", and copy paste (ctrl-c/ctrl-v) your XUB script into a Notepad file, save it, then paste it here as a reply.

I'm assuming you've created a 'raid' configuration section in the XUB configuration window. If you haven't, then that's your problem right there.

Be sure to paste your XUB config script as a reply here.

2) Also, if you can, copy/paste your XUB saved settings info file here. It should be located at "C:\Users\Public\Games\World of Warcraft\WTF\Account\<Account Name>\<Server Name>\<Character Name>\SavedVariables\eXtremeUnitButtons.lua".

In the path name I just gave, any text surrounded by lesser/greater than symbols should be replaced with the actual account, server, and character names. Also I'm assuming you installed WoW in the default location C:\Users\Public\Games. If this is not the case, you'll have to search for the "World of Warcraft" folder on your own.

I'm interested in what the "XUB_RF_RaidFrameAddon" and "XUB_RF" values are set to.

3) Finally, you may want to consider starting over from scratch, again by first in WoW copying/pasting (ctrl-c/ctrl-v) your XUB script into a Notepad file, then exiting WoW and moving/deleting the settings info file I mentioned above. Then just create a new profile with one button, and attach it to a raid, make sure it works with Blizzards raid frames, then switch over to XPerls raid frames, and see if that works.

But don't do this until you get back to me with your configuration script and settings info files.


Good luck!
As far as starting over, I did that. I have 2 computers and on one the only thing I installed was XUB and Xperl and it still didn't work. It did work with the blizz raid frames, but not Xperl.

I know that the raid frames are only in my pvp config. I was going to make another raid one, but since it wasn't working I didn't do it.

Here is the left side of my configuration of XUB:
HEAL,SB_PowerWordShield,*
HEAL,SB_Renew,*
HEAL,SB_FlashHeal,*
HEAL,SB_Penance,*
HEAL,SB_GreaterHeal,*
HEAL,SB_PrayerofMending,*

HealHit,SB_ShadowWordPain,*
HealHit,SB_Shadowfiend,*
HealHit,SB_Smite,*
HealHit,SB_DevouringPlague,*

Kill,SB_ShadowWordPain,*
Kill,SB_DevouringPlague,*
Kill,SB_MindBlast,*
Kill,SB_HolyFire,*
Kill,SB_Penance,*
Kill,SB_Smite,*
Kill,SB_ShadowWordDeath,*
Kill,SB_Shadowfiend,*
Kill,SB_ShackleUndead,*
Kill,SB_DispelMagic,*

SELF,SB_Fade,*
SELF,SB_PsychicScream,*
SELF,SB_WilloftheForsaken,*
SELF,SB_HolyNova,*
SELF,SB_DivineHymn,*
SELF,SB_PrayerofHealing,*
SELF,SB_InnerFocus,*
SELF,SB_DesperatePrayer,*
SELF,SB_PainSuppression,*

ShadowSelf,SB_PowerWordShield,*
ShadowSelf,SB_Fade,*
ShadowSelf,SB_PsychicScream,*
ShadowSelf,SB_VampiricEmbrace,*
ShadowSelf,SB_Dispersion,*
ShadowSelf,SB_WilloftheForsaken,*
ShadowSelf,SB_Archangel,*

Skill,SB_ShadowWordPain,*
Skill,SB_DevouringPlague,*
Skill,SB_VampiricTouch,*
Skill,SB_MindFlay,*
Skill,SB_MindBlast,*
Skill,SB_MindSpike,*
Skill,SB_ShadowWordDeath,*
Skill,SB_Silence,*
Skill,SB_Shadowfiend,*
Skill,SB_PsychicHorror,*
Skill,SB_ManaBurn,*
Skill,SB_MindSear,*
Skill,SB_Shoot,*
Skill,SB_DispelMagic,*
Skill,SB_MindSoothe,*
Skill,SB_MindControl,*
Skill,SB_ShackleUndead,*

decurse,SB_CureDisease,*
decurse,SB_DispelMagic,*
decurse,SB_FearWard,*
decurse,SB_PowerInfusion,*

eheal,SB_Renew,*
eheal,SB_FlashHeal,*
eheal,SB_GreaterHeal,*
eheal,SB_PrayerofMending,*

party,SB_BindingHeal,*
party,SB_PainSuppression,*
party,SB_LeapofFaith,*

pvpdecurse,SB_FearWard,*
pvpdecurse,SB_PowerInfusion,*

pvpraid,SB_PowerWordShield,*
pvpraid,SB_Renew,*
pvpraid,SB_FlashHeal,*
pvpraid,SB_Penance,*

pvptarget,SB_PowerWordShield,*
pvptarget,SB_Renew,*
pvptarget,SB_FlashHeal,*
pvptarget,SB_Penance,*
pvptarget,SB_PrayerofMending,*
pvptarget,SB_BindingHeal,*
pvptarget,SB_Smite,*
pvptarget,SB_MindBlast,*
pvptarget,SB_MindSpike,*
pvptarget,SB_HolyFire,*
pvptarget,SB_ShadowWordDeath,*
pvptarget,SB_Shadowfiend,*
pvptarget,SB_ManaBurn,*
pvptarget,SB_MindControl,*

sdebuf,SB_PowerWordShield,*
sdebuf,SB_DispelMagic,*
sdebuf,SB_FearWard,*

tank,SB_PainSuppression,*
tank,SB_Penance,*
tank,SB_BindingHeal,*

Here is the right side:

healer,focus,HEAL
healer,focus,decurse
healer,focus,tank

healer,party,HEAL
healer,party,party
healer,party,pvpdecurse

healer,player,HEAL
healer,player,decurse
healer,player,SELF

healer,target,HEAL
healer,target,decurse
healer,target,tank
healer,target,HealHit

pvp,arena,pvpraid

pvp,focus,HEAL
pvp,focus,party
pvp,focus,pvpdecurse

pvp,party,HEAL
pvp,party,party
pvp,party,pvpdecurse

pvp,player,HEAL
pvp,player,decurse
pvp,player,SELF

pvp,raid,pvpraid

pvp,target,pvptarget
pvp,target,decurse

shadow,party,sdebuf
shadow,party,eheal

shadow,player,ShadowSelf
shadow,player,sdebuf
shadow,player,eheal

shadow,target,Skill


I have not altered the LUA file on this computer that I am on right now, so it does not have the changes you asked, but I will cut and past what this computer does have from the config file. It is super huge so I just grabbed the RF parts you asked about.

XUB_RF_RaidFrameAddon = "XPerl"
XUB_UF = {
["Custom4"] = {
["frame"] = "",
["name"] = "",
["width"] = "20",
},
["Custom2"] = {
["frame"] = "",
["name"] = "",
["width"] = "20",
},
["PlayerPet"] = {
["frame"] = "XPerl_Player_Pet",
["width"] = "20",
},
["Custom5"] = {
["frame"] = "",
["name"] = "",
["width"] = "20",
},
["Player"] = {
["frame"] = "XPerl_Player",
["width"] = "40",
},
["Party"] = {
["frame"] = "XPerl_party#",
["width"] = "30",
},
["PartyPet"] = {
["frame"] = "XPerl_partypet#",
["width"] = "30",
},
["Focus"] = {
["frame"] = "XPerl_Focus",
["width"] = "40",
},
["Target"] = {
["frame"] = "XPerl_Target",
["width"] = "41",
},
["Arena"] = {
["frame"] = "",
["width"] = "20",
},
["Custom3"] = {
["frame"] = "",
["name"] = "",
["width"] = "20",
},
["Custom1"] = {
["frame"] = "",
["name"] = "",
["width"] = "20",
},
}
XUB_RF = {
["RaidPet"] = {
["frame"] = "RaidPets are not supported (yet)",
["width"] = "15",
},
["RaidMember"] = {
["frame"] = "XUB finds XPerl raid frames automatically",
["width"] = "19",
},
}
XUB_UF_WIDTH_Float = 20
XUB_UPDATERATE = 0.4999999701976776
XUB_USE_BUILTIN_COOLDOWN = 1
XUB_Use_Button4 = "Button4Up"
XUB_Use_Button5 = "Button5Up"
XUB_USE_GLOBALDIM = 0
XUB_Use_MiddleButton = "MiddleButtonUp"
XUB_Use_RightButton = "RightButtonUp"
XUB_Profile_for_Spec = {
"healer", -- [1]
"shadow", -- [2]
}

--Vae

P.S. I am very thankful to to Tay, because I couldn't heal worth anything without this add on, which is why I need it so bad for raids.
Vaevictis is offline Report comment to moderator  
Reply With Quote
Unread 02-13-11, 10:44 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
Originally posted by Vaevictis
I want to say that I really appreciate all of your help.
Glad to help. Be sure to thank Tay as well for keeping the coding up to date on this vital add-on!


Originally posted by Vaevictis
A couple of quick questions. I put in all of the code mentioned above. Is it ok just to use a text editor like notepad or wordpad?
Notepad is fine, just make sure the 'Format/Word Wrap' feature is turned off before saving.

I use PSPad, which is freeware, and works great with LUA code.


Originally posted by Vaevictis
When I log on I do not see any additional messages in my chat window other then the one that says XUB is loaded, which has always been there. Right now I am waiting to get into a raid group to see if anything is changed then. I will update after that happens.

Update: When in a raid nothing is changed, and I still don't see any messages.

Thanks again. I really appreciate it.

--Vae
If nothing else, you should be seeing "In XPerl Code!" If you are not, then XUB doesn't think you are using XPerl!

1) I want to see your XUB script. Start WoW, do a "/xub c", and copy paste (ctrl-c/ctrl-v) your XUB script into a Notepad file, save it, then paste it here as a reply.

I'm assuming you've created a 'raid' configuration section in the XUB configuration window. If you haven't, then that's your problem right there.

Be sure to paste your XUB config script as a reply here.

2) Also, if you can, copy/paste your XUB saved settings info file here. It should be located at "C:\Users\Public\Games\World of Warcraft\WTF\Account\<Account Name>\<Server Name>\<Character Name>\SavedVariables\eXtremeUnitButtons.lua".

In the path name I just gave, any text surrounded by lesser/greater than symbols should be replaced with the actual account, server, and character names. Also I'm assuming you installed WoW in the default location C:\Users\Public\Games. If this is not the case, you'll have to search for the "World of Warcraft" folder on your own.

I'm interested in what the "XUB_RF_RaidFrameAddon" and "XUB_RF" values are set to.

3) Finally, you may want to consider starting over from scratch, again by first in WoW copying/pasting (ctrl-c/ctrl-v) your XUB script into a Notepad file, then exiting WoW and moving/deleting the settings info file I mentioned above. Then just create a new profile with one button, and attach it to a raid, make sure it works with Blizzards raid frames, then switch over to XPerls raid frames, and see if that works.

But don't do this until you get back to me with your configuration script and settings info files.


Good luck!
Last edited by Cosmic Cleric : 02-13-11 at 10:47 PM.
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 02-13-11, 06:09 PM  
Vaevictis
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Originally posted by Cosmic Cleric
Yes, in the 'General' tab window. You should see a line that just says 'nil' if something is going wrong, or some other information if its (potentially) going right. If you coded it right, you HAVE to see something there, either 'nil' or something else.

If nothing is coming out, then the XUB code is not even getting to that block of code (which would be an alternative interesting bug). Try this and tell me what you see...

Code:
elseif ( XUB.RF_RaidFrameAdon == "XPerl" ) then
	DEFAULT_CHAT_FRAME:AddMessage("In XPerl Code!");
	DEFAULT_CHAT_FRAME:AddMessage(XPERL_RAIDGRP_PREFIX);
	DEFAULT_CHAT_FRAME:AddMessage(XPerl_Raid_OnLoad);
	DEFAULT_CHAT_FRAME:AddMessage(XPerl_Raid_GetUnitFrameByUnit);
	if ( XPERL_RAIDGRP_PREFIX ) and (XPerl_Raid_OnLoad == nil) and (XPerl_Raid_GetUnitFrameByUnit) then
		for i = 1,GetNumRaidMembers() do
			DEFAULT_CHAT_FRAME:AddMessage(i);
			testFrame = XPerl_Raid_GetUnitFrameByUnit("raid"..i);
			DEFAULT_CHAT_FRAME:AddMessage(testFrame);
			if ( testFrame ) then
				XUB.RaidFrameTable["raid" .. i] = testFrame:GetName();
			end
		end
	end

I want to say that I really appreciate all of your help.

A couple of quick questions. I put in all of the code mentioned above. Is it ok just to use a text editor like notepad or wordpad?

When I log on I do not see any additional messages in my chat window other then the one that says XUB is loaded, which has always been there. Right now I am waiting to get into a raid group to see if anything is changed then. I will update after that happens.

Update: When in a raid nothing is changed, and I still don't see any messages.

Thanks again. I really appreciate it.

--Vae
Last edited by Vaevictis : 02-13-11 at 06:25 PM.
Vaevictis is offline Report comment to moderator  
Reply With Quote
Unread 02-13-11, 02:26 AM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
Originally posted by Vaevictis
When am I supposed to get something back? will it just be in the chat window? I put in that code and nothing seems to be coming back to me.
Yes, in the 'General' tab window. You should see a line that just says 'nil' if something is going wrong, or some other information if its (potentially) going right. If you coded it right, you HAVE to see something there, either 'nil' or something else.

If nothing is coming out, then the XUB code is not even getting to that block of code (which would be an alternative interesting bug). Try this and tell me what you see...

Code:
elseif ( XUB.RF_RaidFrameAdon == "XPerl" ) then
	DEFAULT_CHAT_FRAME:AddMessage("In XPerl Code!");
	DEFAULT_CHAT_FRAME:AddMessage(XPERL_RAIDGRP_PREFIX);
	DEFAULT_CHAT_FRAME:AddMessage(XPerl_Raid_OnLoad);
	DEFAULT_CHAT_FRAME:AddMessage(XPerl_Raid_GetUnitFrameByUnit);
	if ( XPERL_RAIDGRP_PREFIX ) and (XPerl_Raid_OnLoad == nil) and (XPerl_Raid_GetUnitFrameByUnit) then
		for i = 1,GetNumRaidMembers() do
			DEFAULT_CHAT_FRAME:AddMessage(i);
			testFrame = XPerl_Raid_GetUnitFrameByUnit("raid"..i);
			DEFAULT_CHAT_FRAME:AddMessage(testFrame);
			if ( testFrame ) then
				XUB.RaidFrameTable["raid" .. i] = testFrame:GetName();
			end
		end
	end
Last edited by Cosmic Cleric : 02-13-11 at 02:33 AM.
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 02-12-11, 11:08 PM  
Vaevictis
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Originally posted by Cosmic Cleric
I don't use XPerl, so can't help specifically.

Having said that, I took a look at the code. For XPerl, XUB gets the raid frame names automatically, in the XUB_Initialisations.lua file, lines 188-196...

Code:
elseif ( XUB.RF_RaidFrameAdon == "XPerl" ) then
	if ( XPERL_RAIDGRP_PREFIX ) and (XPerl_Raid_OnLoad == nil) and (XPerl_Raid_GetUnitFrameByUnit) then
		for i = 1,GetNumRaidMembers() do
			testFrame = XPerl_Raid_GetUnitFrameByUnit("raid"..i);
			if ( testFrame ) then
				XUB.RaidFrameTable["raid" .. i] = testFrame:GetName();
			end
		end
	end
Line 191 (italicized) calls a XPerl function directly (in other words, XPerl's code, not XUB's), and in 192, checks to see if it got a value back, and if it did, assigns the XPerl raid frame in XUB, otherwise, it skips and goes on.

You could add an output (see underlined code text below) between 191 and 192 and see what XPerl_Raid_GetUnitFrameByUnit(...) is returning. So the revised code would look like this...

Code:
elseif ( XUB.RF_RaidFrameAdon == "XPerl" ) then
	if ( XPERL_RAIDGRP_PREFIX ) and (XPerl_Raid_OnLoad == nil) and (XPerl_Raid_GetUnitFrameByUnit) then
		for i = 1,GetNumRaidMembers() do
			testFrame = XPerl_Raid_GetUnitFrameByUnit("raid"..i);
			DEFAULT_CHAT_FRAME:AddMessage(testFrame);
			if ( testFrame ) then
				XUB.RaidFrameTable["raid" .. i] = testFrame:GetName();
			end
		end
	end
If you get back 'nil' then there's something wrong. Otherwise, you should get either a table reference or a value back.

Let us know what you see.
When am I supposed to get something back? will it just be in the chat window? I put in that code and nothing seems to be coming back to me.

Btw I have xperl and XUB installed on two different computers and it doesn't work on either. On one computer they are the only two add ons installed.

I have only been in raids in Tol Barad and the Battle Grounds. Not that I think this should make a difference, because it does work with the Blizzard Raid UI in both cases.

This is a cut and paste from my file:

elseif ( XUB.RF_RaidFrameAdon == "XPerl" ) then
if ( XPERL_RAIDGRP_PREFIX ) and (XPerl_Raid_OnLoad == nil) and (XPerl_Raid_GetUnitFrameByUnit) then
for i = 1,GetNumRaidMembers() do
testFrame = XPerl_Raid_GetUnitFrameByUnit("raid"..i);
DEFAULT_CHAT_FRAME:AddMessage(testFrame);
if ( testFrame ) then
XUB.RaidFrameTable["raid" .. i] = testFrame:GetName();

--Vae
Last edited by Vaevictis : 02-12-11 at 11:18 PM.
Vaevictis is offline Report comment to moderator  
Reply With Quote
Unread 02-12-11, 12:18 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
I don't use XPerl, so can't help specifically.

Having said that, I took a look at the code. For XPerl, XUB gets the raid frame names automatically, in the XUB_Initialisations.lua file, lines 188-196...

Code:
elseif ( XUB.RF_RaidFrameAdon == "XPerl" ) then
	if ( XPERL_RAIDGRP_PREFIX ) and (XPerl_Raid_OnLoad == nil) and (XPerl_Raid_GetUnitFrameByUnit) then
		for i = 1,GetNumRaidMembers() do
			testFrame = XPerl_Raid_GetUnitFrameByUnit("raid"..i);
			if ( testFrame ) then
				XUB.RaidFrameTable["raid" .. i] = testFrame:GetName();
			end
		end
	end
Line 191 (italicized) calls a XPerl function directly (in other words, XPerl's code, not XUB's), and in 192, checks to see if it got a value back, and if it did, assigns the XPerl raid frame in XUB, otherwise, it skips and goes on.

You could add an output (see underlined code text below) between 191 and 192 and see what XPerl_Raid_GetUnitFrameByUnit(...) is returning. So the revised code would look like this...

Code:
elseif ( XUB.RF_RaidFrameAdon == "XPerl" ) then
	if ( XPERL_RAIDGRP_PREFIX ) and (XPerl_Raid_OnLoad == nil) and (XPerl_Raid_GetUnitFrameByUnit) then
		for i = 1,GetNumRaidMembers() do
			testFrame = XPerl_Raid_GetUnitFrameByUnit("raid"..i);
			DEFAULT_CHAT_FRAME:AddMessage(testFrame);
			if ( testFrame ) then
				XUB.RaidFrameTable["raid" .. i] = testFrame:GetName();
			end
		end
	end
If you get back 'nil' then there's something wrong. Otherwise, you should get either a table reference or a value back.

Let us know what you see.

Originally posted by Vaevictis
When I use the the /framestack here is what I get

Medium
1 xperl_raid_Frame
0 UI Parent

Low
5 Xperl_Raid_Grp3unitButton1highlight
5 Xperl_Raid_Grp3UnitButton1StatsFrameHealth
4 Xperl_Raid_Grp3UnitButton1nameframe
3 Xperl_Raid_Grp3UnitButton1
1 Xper_Raidgrp3

Sometimes the second #5 isn't there it depends on where I mouse.

--Vae
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 02-11-11, 06:54 PM  
Vaevictis
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Originally posted by Vaevictis
Using the hot key
I get the same as posted in an earlier message:
XPerl_Raid_Grp@UnitButton#

I tried to use that manually, and it wouldn't work either. Do you or other people have xperl and are using raid buttons and it is working??
When I use the the /framestack here is what I get

Medium
1 xperl_raid_Frame
0 UI Parent

Low
5 Xperl_Raid_Grp3unitButton1highlight
5 Xperl_Raid_Grp3UnitButton1StatsFrameHealth
4 Xperl_Raid_Grp3UnitButton1nameframe
3 Xperl_Raid_Grp3UnitButton1
1 Xper_Raidgrp3

Sometimes the second #5 isn't there it depends on where I mouse.

--Vae
Vaevictis is offline Report comment to moderator  
Reply With Quote
Unread 02-11-11, 06:23 PM  
Vaevictis
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Originally posted by Cosmic Cleric
Try using the WoW command "/framestack", and check if you can see the XPerl frame names via this method.
Using the hot key
I get the same as posted in an earlier message:
XPerl_Raid_Grp@UnitButton#

I tried to use that manually, and it wouldn't work either. Do you or other people have xperl and are using raid buttons and it is working??
Vaevictis is offline Report comment to moderator  
Reply With Quote
Unread 02-11-11, 02:16 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
Try using the WoW command "/framestack", and check if you can see the XPerl frame names via this method.

Originally posted by abinning
Did you select xperl Raid Frames down at the bottom of the frame setup?
If you did try using custom frames. This macro will get you frame name you need for custom.

/script ChatFrame1:AddMessage(GetMouseFocus():GetName())

Put it on a hot key, mouseover the raid/party/player frames and hit the key.

If I get a minute I'll post the string.
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 02-11-11, 01:46 PM  
Vaevictis
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Originally posted by abinning
Did you select xperl Raid Frames down at the bottom of the frame setup?
If you did try using custom frames. This macro will get you frame name you need for custom.

/script ChatFrame1:AddMessage(GetMouseFocus():GetName())

Put it on a hot key, mouseover the raid/party/player frames and hit the key.

If I get a minute I'll post the string.
I did it with xperl raid frames from the drop down. I actually used that mouseover hotkey last night and tried it manually also and neither way would work. Every other part of the UI works. Also I can't seem to find another Raid frame that I can customize the way I need to right now. Pitbull 4 and others seem to have the movement of raid groups disabled at this time. I can get it to work with the compact Blizzard Raid UI, but that is it. Also that is kinda useless because the buttons overlap the other players.

Maybe I am doing something wrong.



--Vae
Vaevictis is offline Report comment to moderator  
Reply With Quote
Unread 02-11-11, 09:38 AM  
abinning
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 48
Uploads: 1
Did you select xperl Raid Frames down at the bottom of the frame setup?
If you did try using custom frames. This macro will get you frame name you need for custom.

/script ChatFrame1:AddMessage(GetMouseFocus():GetName())

Put it on a hot key, mouseover the raid/party/player frames and hit the key.

If I get a minute I'll post the string.
abinning is offline Report comment to moderator  
Reply With Quote
Unread 02-11-11, 12:59 AM  
Vaevictis
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Problem with XUB an Xperl in Raid

I cannot seem to get the raid buttons to show up with Xperl. Everything else is working fine. My raid buttons will show up with the basic Blizzard interface, but not with Xperl. Not sure if anyone can help me with this or not.

--Vae
Vaevictis is offline Report comment to moderator  
Reply With Quote
Unread 01-31-11, 10:41 AM  
abinning
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 48
Uploads: 1
Get better Tay. Physically and emotionally =)
XUB can wait.
abinning is offline Report comment to moderator  
Reply With Quote
Unread 01-29-11, 04:39 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
Totally understand. My condolences, and my wishes for your quick and full recovery from your illness.

Take care.

Originally posted by tayedaen
Hi !

Real life has been taking all my time this january.
First my grandmother had a heart attack.
Then she faded away after never regaining conscience.
And now I am down with influenza, with very high fever.

I probably won't be able to do a coding session before the end of next week.

best regards
tay
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 01-29-11, 05:11 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
Hi !

Real life has been taking all my time this january.
First my grandmother had a heart attack.
Then she faded away after never regaining conscience.
And now I am down with influenza, with very high fever.

I probably won't be able to do a coding session before the end of next week.

best regards
tay
tayedaen is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: