Thread Tools Display Modes
10-25-10, 08:20 AM   #1
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Temporary Fix to new class bars

Whilst I've been using other addons for my warlock and paladin they have other elements that I do not need.

Now, seeing as we are patiently ( stress on the last word there ) waiting for an update to include the new bars I thought I would rig up a temporary work around to allow us to place the bars where we want them for now and have nUI keep track of them for us. How nice of nUI to do that for us rofl.

I won't upload this addon as an official addon as it is only temporary in nature to use in the interim if you don't like the functionality of the other addons being used instead.

I don't have a boomkin to test the eclipse bar on but I have set it up to work the same as the other bars so should work fine.

Just use /nui movers and you should see mover frames for them. However, the Shaman totem timer buttons I have automatically attached to the shaman totem bar to have them appear directly underneath the totem button that they reflect. Blizz deals with updating it however, all I did was reparent the timer bar to the totem bar and reposition the individual buttons.

For those that want to see exactly what I did .. here's the code segment for each bar:
Code:
local function PTM_WSSInit()
	
	ShardBarFrame:SetParent(nil);
	ShardBarFrame:SetParent(UIParent);
	ShardBarFrame:SetPoint("CENTER");
	if ShardBarFrame then nUI_Movers:lockFrame( ShardBarFrame, true, "nUI_XShardBarFrame" ); end
	
end

local function PTM_STBInit()

	TotemFrame:SetParent(nil);
	TotemFrame:SetParent(MultiCastActionBarFrame);
	TotemFrameTotem1:SetPoint("TOPLEFT",MultiCastActionButton1,"BOTTOMLEFT");
	TotemFrameTotem2:SetPoint("TOPLEFT",MultiCastActionButton2,"BOTTOMLEFT");
	TotemFrameTotem3:SetPoint("TOPLEFT",MultiCastActionButton3,"BOTTOMLEFT");
	TotemFrameTotem4:SetPoint("TOPLEFT",MultiCastActionButton4,"BOTTOMLEFT");
end

local function PTM_PPBInit()
	
	PaladinPowerBar:SetParent(nil);
	PaladinPowerBar:SetParent(UIParent);
	PaladinPowerBar:SetPoint("CENTER");
	if PaladinPowerBar then nUI_Movers:lockFrame( PaladinPowerBar, true, "nUI_XPaladinPowerBar" ); end

end

local function PTM_DEBInit()
	EclipseBarFrame:SetParent(nil);
	EclipseBarFrame:SetParent(UIParent);
	EclipseBarFrame:SetPoint("CENTER");
	if EclipseBarFrame then nUI_Movers:lockFrame( EclipseBarFrame, true, "nUI_XDruidEclipseBar" ); end
end
And below is the link to the addon itself and some screenshots of them working .. well apart from the druid one that is.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_102510_145819.jpg
Views:	1007
Size:	276.0 KB
ID:	5082  Click image for larger version

Name:	WoWScrnShot_102510_145845.jpg
Views:	960
Size:	259.2 KB
ID:	5083  Click image for larger version

Name:	WoWScrnShot_102510_145907.jpg
Views:	957
Size:	222.0 KB
ID:	5084  
Attached Files
File Type: zip nUI_Plugin_TempMovers.zip (1.4 KB, 746 views)
__________________


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
 
10-25-10, 08:54 AM   #2
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2009
Posts: 44
YAY! First time I see my shards since 4.0.1 hit

Or do I? It always shows 2 shards for some reason. nUI error, Blizzard error or user error (aka PEBKAC)?
 
10-25-10, 09:09 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Hmm, good point .. maybe the update routines aren't being triggered .. I'm on my pally so will test that one. Then I'll test the warlock one out .. my apologies if it's not working properly *sigh*.


Edit:
Okay, think I realise now why people use a fake player frame to do this rofl. They use a getparent.unit value that gets updated on target change. Will incorporate the new changes and yes, thoroughly test it out on the two classes at least My apologies again for missing out that vital ingredient

Okay, seems to be working .. holy power and soul shards being visually displayed when being filled and used. The same change worked for both so hopefully it will work for the druids.
Attached Files
File Type: zip nUI_Plugin_TempMovers (2).zip (1.4 KB, 633 views)
__________________


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 : 10-25-10 at 09:42 AM.
 
10-25-10, 09:15 AM   #4
Nightspirit
A Cyclonian
 
Nightspirit's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2009
Posts: 44
Seeing the shards in my local wow install made me happy already, having it actually work will give new excitement. When you get it to work, you made me happy twice
 
10-25-10, 09:41 AM   #5
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 837
i got this error after installing this temp fix "addon"

Code:
Date: 2010-10-26 02:10:43
ID: 3
Error occured in: Global
Count: 1
Message: ..\FrameXML\PaladinPowerBar.lua line 16:
   Usage: UnitPower("unit"[, type])
Debug:
   [C]: ?
   [C]: UnitPower()
   ..\FrameXML\PaladinPowerBar.lua:16: PaladinPowerBar_Update()
   ..\FrameXML\PaladinPowerBar.lua:73:
      ..\FrameXML\PaladinPowerBar.lua:60
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
 
10-25-10, 09:43 AM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Yep, that was the problem tinyu. I didn't realise that they were using self:GetParent().unit to validate the shard/power level which of course would be nil unless set. So, the main addon frame has become a fake player frame with a unit value set to whatever the playerframe's unit is set to on target change. Seems to work now with my initial tests on both warlock and paladin.
__________________


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
 
10-26-10, 10:19 AM   #7
Aquaman37
A Defias Bandit
Join Date: Oct 2010
Posts: 2
Post Gather wowhead Dtabase update?

my gatherer is no longer working & I was hoping that there was an update in the works soon because It's hurting my toos professions as well as evryone elses as well.
It's a pain to not to have the one tool that I count on most like most of us do to find the materals from mining to herbs ect.
I hope theres a version comming out soon that works with this new patch.
Thank You to who ever comes up with it in advance =)
 
10-26-10, 10:24 AM   #8
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Originally Posted by Aquaman37 View Post
my gatherer is no longer working & I was hoping that there was an update in the works soon because It's hurting my toos professions as well as evryone elses as well.
It's a pain to not to have the one tool that I count on most like most of us do to find the materals from mining to herbs ect.
I hope theres a version comming out soon that works with this new patch.
Thank You to who ever comes up with it in advance =)
I think you posted this in the wrong forum

You might want to post on the gatherer addon page or in another forum.

That aside, I personally don't use a gatherer addon and haven't in a long long while but I was sure some of my guildies were with little problem. So perhaps there is something else going wrong or it isn't the correct updated file.
__________________


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
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Temporary Fix to new class bars


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