Thread Tools Display Modes
01-22-11, 05:42 AM   #1
Kcrash
A Deviate Faerie Dragon
Join Date: Dec 2008
Posts: 15
Atramedes - Sound Bar

During this fight the sound bar covers my UI on the very bottom. I tried using NUI Movers but it would not let me. It also does this for other fights where there is a bar for the fight. Is there a way to move this at all?
 
01-22-11, 07:44 AM   #2
nin
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 213
Try

moveanything or Movepowerbaralt.. both available on this site.

-_-v
 
01-22-11, 08:17 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Hmm, must be yet another bar they are sneaking into the game.

If it is at all possible, IE if the bar exists before the fight starts, see if you can get a screenshot with the name of the bar on the screen.

To do that type /framestack and move the mouse of the bar and take the screenshot and then type /framestack to remove the frame information screen.

This will enable Scott to add the frame to nUI's frame management system.
__________________
 
01-22-11, 02:44 PM   #4
Kcrash
A Deviate Faerie Dragon
Join Date: Dec 2008
Posts: 15
It's called "PlayerPowerBarAlt"
 
01-22-11, 03:37 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Hmm, I thought Scott had already added that to the /nui movers system already.

Although looking at both nUI5 and nUI6 folders I can't see it mentioned at all.

Time to hunt down my mini movers file ..


Edit:

I haven't fully tested this yet since renaming the folder/project but code wise it should still be working as I envisioned.

I have set up PlayerPowerBarAlt and the TutorialAlertFrame ( or however it was spelt ) by default. The addon however lets you create movers on the fly if nUI isn't already creating them.

It works in a similar way to MoveAnything except it uses nUI's mover system to do all the work so that using /nui movers will allow you to move the frame once it has been added to the system.

It is not intended to be a permanent project, at least at the moment anyway, but it will allow people that are hitting these problems now to move that frame outta the way so they can continue playing.

The PlayerPowerBarAlt is the same bar used in the twilight highlands quest that shows how much stomach acid you are being affected by.

Hopefully the zip file attached doesn't still cause problems like before but below is the full code in the lua file.

Code:
------------------------------------------------------------------------------------
-- Name : nUI_Plugin_CustomMovers                                          
-- Copyright : Tina Kirby AKA Xrystal (C) 2009/2010 All Rights Reserved      
-- Contact : [email protected]                                           
-- Download Sites :                                                          
-- Version : 1.01.00 - New
------------------------------------------------------------------------------------

--[[ Use Addon Wide Data Table ]]--
local addonName,addonData = ...

local f = CreateFrame("Frame","PCM_Frame",UIParent);
f:SetParent(UIParent);
f:SetPoint("CENTER");

-- Savable list of frames we want to be able to move within the nUI interface
MovableFrames = {
	[1] = "TutorialFrameAlertButton", 
	[2] = "PlayerPowerBarAlt",
};

-- Temporary list of frames removed from the above list
backupList = {
};

local function InitialiseList(self)
	for i,v in ipairs(MovableFrames) do
		local f = _G[v];
		local n = v.."_Mover";
		f:SetParent(nil);
		f:SetParent(self);
		f:SetPoint("CENTER");
		nUI_Movers:lockFrame(f,true,n);
	end	
end

local function AddFrameToList(f)
	-- If this isn't a valid frame then don't go any further
	local frame = _G[f];
	if ( not frame ) then return end
	
	DEFAULT_CHAT_FRAME:AddMessage("Adding ", f, " to list of controlled frames");
	tinsert(MovableFrames,f);
end

local function RemoveFrameFromList(f)

	-- Add frame to remove to backupList just in case
	tinsert(backupList,f);
	
	-- Remove frame from movable list
	tremove(MovableFrames,f);
end

local function DisplayList()
	print("Currently controlled frames")
	for i,v in ipairs(MovableFrames) do
		print(v);
	end
end

local function RefreshList()

	-- List of frames that need to be removed
	local removalList = {};
	
	-- Validate contents of list
	for i,v in ipairs(MovableFrames) do
		local f = _G[v];
		if ( not f ) then 
			tinsert(removalList,v);
		end
	end		
	
	-- Remove invalid frames from MovableFrames list
	for i,v in ipairs(removalList) do
		tremove(MovableFrames,v);
	end
	
end

local function ClearList()

	-- Fill Backup List with Movable List contents - just in case
	for i,v in ipairs(MovableFrames) do
		tinsert(backupList,v);
	end			

	-- Empty Movable Frame List
	MovableFrames = {};
	
end

local function RestoreList()

	-- Fill Movable List with Backup List contents
	for i,v in ipairs(backupList) do
		tinsert(MovableFrames,v);
	end			

	-- Empty Backup List
	backupList = {};	
end

local function ToggleMoverFrames(show)
	for i,v in ipairs(MovableFrames) do
		local f = _G[v];
		local n = _G[v.."_Mover"];
		if ( n ) then
			if ( not show ) then
				n:Hide();
			else
				n:Show();
			end
		elseif ( f ) then
			if ( not show ) then
				f:Hide();
			else
				f:Show();
			end
		else
			print(v.."_Mover"," doesn't exist at present");
		end
	end				
end

local function ListCommands()
	DEFAULT_CHAT_FRAME:AddMessage("nUI: Plugin (Custom Movers) slash commands");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm list - List frames currently controlled by this addon");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm show - Shows the display of frames currently controlled by this addon");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm hide - Hides the display of frames currently controlled by this addon");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm add FrameName - Adds FrameName to the controlled list");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm remove FrameName - Removes FrameName from the controlled list");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm clear - Empties the movable frames list entirely");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm restore - Reverts the last clear and remove actions");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm refresh - Removes frames no longer in existence");
end

local function SlashCommands(msg)

	-- Separate msg into argument list
	local args = {};
	for word in string.gmatch(msg,"[^%s]+") do
		table.insert(args,word);
	end
	
	-- Turn command into lower case
	if ( args[1] ) then args[1] = string.lower(args[1]); end

	if ( args[1] == "list" ) then
		DisplayList();
	elseif ( args[1] == "toggle" ) then
		ToggleMoverFrames();
	elseif ( args[1] == "refresh" ) then
		RefreshList();
	elseif ( args[1] == "clear" ) then
		ClearList();
	elseif ( args[1] == "restore" ) then
		RestoreList();
	elseif ( args[1] == "add" and args[2] ~= nil ) then
		AddFrameToList(args[2]);
	elseif ( args[1] == "remove" and args[2] ~= nil ) then
		RemoveFrameFromList(args[2]);
	else
		ListCommands();
	end
	
end

local function InitialiseAddon(self)
	SLASH_PTMCmd1 = '/pcm';
	SlashCmdList['PCMCmd'] = SlashCommands;
	DEFAULT_CHAT_FRAME:AddMessage("nUI: Plugin (Custom Movers) loaded.  Use /pcm to list options available");
end

local function OnEvent(self,event,...)
	local arg1,arg2,arg3,arg4,arg5,arg6 = ...;
	if ( event == "ADDON_LOADED" and arg1 == addonName ) then
		InitialiseAddon(self);
	elseif ( event == "PLAYER_ENTERING_WORLD" ) then		
		InitialiseList(self);
		self:UnregisterEvent(event);
	end
end

--[[ Register the events we want to watch ]]--
f:SetScript( "OnEvent", OnEvent );
f:RegisterEvent( "ADDON_LOADED" );
f:RegisterEvent( "PLAYER_ENTERING_WORLD" );
Attached Files
File Type: zip nUI_Plugin_CustomMovers.zip (2.3 KB, 969 views)
__________________

Last edited by Xrystal : 01-22-11 at 03:57 PM.
 
01-22-11, 05:57 PM   #6
Kcrash
A Deviate Faerie Dragon
Join Date: Dec 2008
Posts: 15
what about a plug in or add on to make it where the guild achievment announcements are spawned......

when it happens they usually spawn right on top of the macro bars as well
 
01-22-11, 06:35 PM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
That frame is covered by the /nui movers command.

If you type that and hover over the colored boxes you should see one with a name that represents the frame it allows you to move.

Once you have finished with it just type it again to turn the mover frames off.
__________________
 
01-25-11, 11:39 PM   #8
Kcrash
A Deviate Faerie Dragon
Join Date: Dec 2008
Posts: 15
downloaded the plugin and tried moving the sound bar and it did not let me. Just still sits in the same ole annoying spot. Plz help =(
 
01-26-11, 02:52 AM   #9
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
did you type /nui movers to activate the mover function ? If not do that and it should work.

Edit:

My apologies. When I renamed the folder and files I forgot to change the toc to reflect things..

Here's the new zip file and a screenshot of it working now.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_012611_085753.jpg
Views:	1224
Size:	191.0 KB
ID:	5634  
Attached Files
File Type: zip nUI_Plugin_CustomMovers.zip (2.3 KB, 988 views)
__________________

Last edited by Xrystal : 01-26-11 at 03:00 AM.
 
01-26-11, 03:28 AM   #10
Kcrash
A Deviate Faerie Dragon
Join Date: Dec 2008
Posts: 15
TY Xrystal!!! I don't care what scott says about you.....your the best!
 
01-26-11, 05:37 AM   #11
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Damn! Was I using my outside voice again?

/kicks the cat
__________________

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/
 
01-31-11, 02:34 AM   #12
XokEE
A Murloc Raider
Join Date: Dec 2008
Posts: 4
Thank you so much for this Xrystal! You rock!
 
02-10-11, 09:23 PM   #13
Chancellor
A Defias Bandit
Join Date: Jul 2009
Posts: 3
still cant move the sound bar

tried copying and extracting temp fix to move it, but it says the file is empty
 
02-11-11, 02:42 AM   #14
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
*grrr* grumbles ..

Okay, lets do this the long way round rofl..

1. Create a folder called nUI_Plugin_CustomMovers in AddOns folder
2. Create a text file in that folder called nUI_Plugin_CustomMovers.toc and paste the following into it

Code:
## Interface: 40000
## Title: nUI: Plugin [|cffeda55fCustom Movers|r]
## Author: Tina Kirby AKA Xrystal (C) 2010/2011 All Rights Reserved
## Notes: Temporary Movers for frames that haven't been added to the nUI movers system yet.
## Version: 1.01.00
## eMail: [email protected]
## RequiredDeps: nUI
## DefaultState: Enabled
## LoadOnDemand: 0
## SavedVariables : MovableFrames
## SavedVariablesPerCharacter:  

nUI_Plugin_CustomMovers.lua
3. Create a text file in that folder called nUI_Plugin_CustomMovers.lua and paste the following into it

Code:
------------------------------------------------------------------------------------
-- Name : nUI_Plugin_CustomMovers                                          
-- Copyright : Tina Kirby AKA Xrystal (C) 2009/2010 All Rights Reserved      
-- Contact : [email protected]                                           
-- Download Sites :                                                          
-- Version : 1.01.00 - New
------------------------------------------------------------------------------------

--[[ Use Addon Wide Data Table ]]--
local addonName,addonData = ...

local f = CreateFrame("Frame","PCM_Frame",UIParent);
f:SetParent(UIParent);
f:SetPoint("CENTER");

-- Savable list of frames we want to be able to move within the nUI interface
MovableFrames = {
	[1] = "TutorialFrameAlertButton", 
	[2] = "PlayerPowerBarAlt",
};

-- Temporary list of frames removed from the above list
backupList = {
};

local function InitialiseList(self)
	for i,v in ipairs(MovableFrames) do
		local f = _G[v];
		local n = v.."_Mover";
		f:SetParent(nil);
		f:SetParent(self);
		f:SetPoint("CENTER");
		nUI_Movers:lockFrame(f,true,n);
	end	
end

local function AddFrameToList(f)
	-- If this isn't a valid frame then don't go any further
	local frame = _G[f];
	if ( not frame ) then return end
	
	DEFAULT_CHAT_FRAME:AddMessage("Adding ", f, " to list of controlled frames");
	tinsert(MovableFrames,f);
end

local function RemoveFrameFromList(f)

	-- Add frame to remove to backupList just in case
	tinsert(backupList,f);
	
	-- Remove frame from movable list
	tremove(MovableFrames,f);
end

local function DisplayList()
	print("Currently controlled frames")
	for i,v in ipairs(MovableFrames) do
		print(v);
	end
end

local function RefreshList()

	-- List of frames that need to be removed
	local removalList = {};
	
	-- Validate contents of list
	for i,v in ipairs(MovableFrames) do
		local f = _G[v];
		if ( not f ) then 
			tinsert(removalList,v);
		end
	end		
	
	-- Remove invalid frames from MovableFrames list
	for i,v in ipairs(removalList) do
		tremove(MovableFrames,v);
	end
	
end

local function ClearList()

	-- Fill Backup List with Movable List contents - just in case
	for i,v in ipairs(MovableFrames) do
		tinsert(backupList,v);
	end			

	-- Empty Movable Frame List
	MovableFrames = {};
	
end

local function RestoreList()

	-- Fill Movable List with Backup List contents
	for i,v in ipairs(backupList) do
		tinsert(MovableFrames,v);
	end			

	-- Empty Backup List
	backupList = {};	
end

local function ToggleMoverFrames(show)
	for i,v in ipairs(MovableFrames) do
		local f = _G[v];
		local n = _G[v.."_Mover"];
		if ( n ) then
			if ( not show ) then
				n:Hide();
			else
				n:Show();
			end
		elseif ( f ) then
			if ( not show ) then
				f:Hide();
			else
				f:Show();
			end
		else
			print(v.."_Mover"," doesn't exist at present");
		end
	end				
end

local function ListCommands()
	DEFAULT_CHAT_FRAME:AddMessage("nUI: Plugin (Custom Movers) slash commands");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm list - List frames currently controlled by this addon");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm show - Shows the display of frames currently controlled by this addon");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm hide - Hides the display of frames currently controlled by this addon");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm add FrameName - Adds FrameName to the controlled list");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm remove FrameName - Removes FrameName from the controlled list");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm clear - Empties the movable frames list entirely");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm restore - Reverts the last clear and remove actions");
	DEFAULT_CHAT_FRAME:AddMessage("/pcm refresh - Removes frames no longer in existence");
end

local function SlashCommands(msg)

	-- Separate msg into argument list
	local args = {};
	for word in string.gmatch(msg,"[^%s]+") do
		table.insert(args,word);
	end
	
	-- Turn command into lower case
	if ( args[1] ) then args[1] = string.lower(args[1]); end

	if ( args[1] == "list" ) then
		DisplayList();
	elseif ( args[1] == "toggle" ) then
		ToggleMoverFrames();
	elseif ( args[1] == "refresh" ) then
		RefreshList();
	elseif ( args[1] == "clear" ) then
		ClearList();
	elseif ( args[1] == "restore" ) then
		RestoreList();
	elseif ( args[1] == "add" and args[2] ~= nil ) then
		AddFrameToList(args[2]);
	elseif ( args[1] == "remove" and args[2] ~= nil ) then
		RemoveFrameFromList(args[2]);
	else
		ListCommands();
	end
	
end

local function InitialiseAddon(self)
	SLASH_PTMCmd1 = '/pcm';
	SlashCmdList['PCMCmd'] = SlashCommands;
	DEFAULT_CHAT_FRAME:AddMessage("nUI: Plugin (Custom Movers) loaded.  Use /pcm to list options available");
end

local function OnEvent(self,event,...)
	local arg1,arg2,arg3,arg4,arg5,arg6 = ...;
	if ( event == "ADDON_LOADED" and arg1 == addonName ) then
		InitialiseAddon(self);
	elseif ( event == "PLAYER_ENTERING_WORLD" ) then		
		InitialiseList(self);
		self:UnregisterEvent(event);
	end
end

--[[ Register the events we want to watch ]]--
f:SetScript( "OnEvent", OnEvent );
f:RegisterEvent( "ADDON_LOADED" );
f:RegisterEvent( "PLAYER_ENTERING_WORLD" );
4. Save the files if you haven't already and log into WoW. You should see the addon listed.
__________________
 
02-11-11, 09:20 AM   #15
Chancellor
A Defias Bandit
Join Date: Jul 2009
Posts: 3
so i have the custom playerpower bar alt, installed succesfully, but when i hit /nui movers the icon similar to yours on your post does not show up.
 
02-11-11, 11:08 AM   #16
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Hmm it might have got hidden behind another frame. If you can remember where it usually appears when it comes up on the screen is there another movers frame around that spot ? If so try moving it to see if another one is underneath it.
__________________
 
02-11-11, 11:18 AM   #17
Chancellor
A Defias Bandit
Join Date: Jul 2009
Posts: 3
Nothing underneath it, checked a few times, even went back in to wipe a few times with atramedes to see where the frame was and couldnt move it. tried /nui movers while in combat as well
 
02-12-11, 08:14 AM   #18
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Anyone else that has done that fight had problems getting it to work with the Atramedes bar ? I haven't managed to kill a boss yet in a single raid to know who is let alone get to him rofl so haven't been able to test particular bars personally.

The testing I did was from the highlands acid quest which I have been able to test several times as I level my girls up to 85.. have another at 83 and another sitting at 82 at the moment and a fresh 85 that has only started highlands questing after hitting 85 rofl.
__________________
 
05-12-11, 11:20 AM   #19
cdahman
A Defias Bandit
Join Date: Oct 2009
Posts: 3
I've had a real bad problem with the Atramedes bar it shows up right on top of my main spell cast bar. I'm a button pusher/clicker healer and it causes a lot of grief on that fight. Is there any work around?
 
05-12-11, 03:38 PM   #20
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
http://www.wowinterface.com/forums/s...ad.php?t=38529
__________________

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/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Atramedes - Sound Bar

Thread Tools
Display Modes

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