Thread Tools Display Modes
03-28-10, 11:01 AM   #1
nydac
A Defias Bandit
Join Date: Mar 2010
Posts: 2
No PVP Unit Frames in Arena

Hello, I recently started using nUI Plus and played in the Arena for the first time since I installed the UI. I can't seem to find the enemy PVP unit frames that, by default wow UI, show up on the upper right side of the screen when the event starts. The frames normally show enemy classes and hitpoints etc. (I'm sure you know) Am I missing something? Or do I have a plugin conflict of sorts?

So far I love the UI.

Thanks!
 
03-28-10, 11:07 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Um...

Yeah....

That's something that kinda fell through the cracks.

~lol~

First time I've heard anyone mention arena frames in forever and I had completely forgotten about them.

Sadly, that is something nUI does not currently do. I'll have to see if I can remedy that.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-28-10, 11:10 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Sounds like ones that may be like the BossFrames and need to be shown again. And just so Scott doesn't have to go hunting for them straight away I believe these may be them.


Main Frame Name :
ArenaEnemyFrames
Anchored to MinimapCluster
TOPRIGHT to BOTTOMRIGHT Offset x = -100,y = -25


Sub Frame Names:
ArenaEnemyFrame1
ArenaEnemyFrame2
ArenaEnemyFrame3
ArenaEnemyFrame4
ArenaEnemyFrame5
ArenaEnemyBackground
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
03-28-10, 11:13 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I don't think I'm hiding those frames.

Doing the command '/nui minimap' might be all it takes to be able to see the built in Blizz arena frames until I can get it fixed.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-28-10, 11:14 AM   #5
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Xrystal - while you're into the code for those frames... what are the unit IDs for those hostile frames?

Do the friendly frames still use "party1" through "party4" or something else?
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-28-10, 11:24 AM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
1 through 5 .. The ArenaUI.xml only shows the enemy frames so gonna dig into the code and see what else it does if anything. Same with the ArenaUI.lua file. Simply keeps track of the enemy frames for the opposite arena group.

Ah .. looks like its arenaX. Here's the onload code of the enemyframes.. I can only assume the players party frames are still partyX.

Code:
function ArenaEnemyFrame_OnLoad(self)
	self.statusCounter = 0;
	self.statusSign = -1;
	self.unitHPPercent = 1;
	
	self.classPortrait = _G[self:GetName().."ClassPortrait"];
	ArenaEnemyFrame_UpdatePlayer(self, true);
	self:RegisterEvent("UNIT_PET");
	self:RegisterEvent("ARENA_OPPONENT_UPDATE");
	self:RegisterEvent("UNIT_NAME_UPDATE");
	
	UIDropDownMenu_Initialize(self.DropDown, ArenaEnemyDropDown_Initialize, "MENU");
	
	local setfocus = function()
		FocusUnit("arena"..self:GetID());
	end
	SecureUnitButton_OnLoad(self, "arena"..self:GetID(), setfocus);
	
	local id = self:GetID();
	if ( UnitClass("arena"..id) and (not UnitExists("arena"..id))) then	--It is possible for the unit itself to no longer exist on the client, but some of the information to remain (after reloading the UI)
		self:Show();
		ArenaEnemyFrame_Lock(self);
	elseif ( UnitExists("arenapet"..id) and ( not UnitClass("arena"..id) ) ) then	--We use UnitClass because even if the unit doesn't exist on the client, we may still have enough info to populate the frame.
		ArenaEnemyFrame_SetMysteryPlayer(self);
	end
end

Oh, and it takes into account the UnitFrame settings in the options. So make sure you toggle the ArenaFrames to be displayed. Just in case that is the problem.

Hmmm, that wouldn't be a guildie of mine that got nUI in the last week or two and did arenas last night and kept asking me questions ? rofl ... if not, he didn't ask me about the arena frames not being there so might have to check to see if he's using an addon of some sort for arenas.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 03-28-10 at 11:29 AM.
 
03-28-10, 11:49 AM   #7
nydac
A Defias Bandit
Join Date: Mar 2010
Posts: 2
You guys are awesome. /nui minimap fixed the problem. Thanks for the quick response! I'll look forward to the fix. =)

Last edited by nydac : 03-28-10 at 11:59 AM.
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » No PVP Unit Frames in Arena


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