WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   Atramedes - Sound Bar (https://www.wowinterface.com/forums/showthread.php?t=38529)

Kcrash 01-22-11 05:42 AM

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?

nin 01-22-11 07:44 AM

Try

moveanything or Movepowerbaralt.. both available on this site.

-_-v

Xrystal 01-22-11 08:17 AM

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.

Kcrash 01-22-11 02:44 PM

It's called "PlayerPowerBarAlt"

Xrystal 01-22-11 03:37 PM

1 Attachment(s)
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" );


Kcrash 01-22-11 05:57 PM

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

Xrystal 01-22-11 06:35 PM

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.

Kcrash 01-25-11 11:39 PM

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 =(

Xrystal 01-26-11 02:52 AM

2 Attachment(s)
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.

Kcrash 01-26-11 03:28 AM

TY Xrystal!!! I don't care what scott says about you.....your the best! :D

spiel2001 01-26-11 05:37 AM

Damn! Was I using my outside voice again?

/kicks the cat

XokEE 01-31-11 02:34 AM

Thank you so much for this Xrystal! You rock! :banana:

Chancellor 02-10-11 09:23 PM

still cant move the sound bar
 
tried copying and extracting temp fix to move it, but it says the file is empty

Xrystal 02-11-11 02:42 AM

*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.

Chancellor 02-11-11 09:20 AM

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.

Xrystal 02-11-11 11:08 AM

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.

Chancellor 02-11-11 11:18 AM

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

Xrystal 02-12-11 08:14 AM

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.

cdahman 05-12-11 11:20 AM

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?

spiel2001 05-12-11 03:38 PM

http://www.wowinterface.com/forums/s...ad.php?t=38529

Xrystal 05-13-11 05:08 PM

Seeing as the posts themselves are moving further down here are the specific posts that hold my fix for this.

zip file containing addon
http://www.wowinterface.com/forums/s...38&postcount=9

Both files in text mode in case the zip file has problems which has happened in the past
http://www.wowinterface.com/forums/s...9&postcount=14

I am in the process of turning this into an almost self configuring plugin for nUI that will enable most people to fix problems with new blizz frames appearing in patches so that they can make them movable while awaiting that ability to be built into nUI directly.

Xrystal 07-12-11 04:55 PM

Just a note for all those that have been using this temp plugin you can now find a simple but official plugin version at http://www.wowinterface.com/download...tomMovers.html.

Narz 08-25-11 05:00 PM

EZ fix for those folks where bar won't show up to move
 
Go to Twilight Highlands, fly to Maw of Madness...go down into the Maw...now the icon will pop up where the stomach acids are showing up..THIS is the frame u want to move!
Type /nui movers, and it should be moveable now...=)

Xrystal 12-08-11 02:18 AM

Please note that my plugin has been updated to include the new actionbar added in 4.3 for some raid fights.

spiel2001 12-11-11 12:51 PM

This issue should be fixed in the 5.07.22 out later today.

ttuck12786 12-12-11 03:53 AM

PlayerPowerBarAlt
 
Ok so i had a question. With version 5.07.21 the playerpowerbaralt bar showed up but with version 5.07.22 it is not showing up at all. I went into Maw of madness in twilight highlands just to make sure it wasnt a bug with the boss fight but it still did not show. I turned NUI off and had just the normal blizzard ui on and it showed up so i was wondering if it is just a bug with the new version or if it somehow got turned off? Thanks in advance for any help.

spiel2001 12-12-11 07:50 PM

If you go into the Maw again and do a '/nui movers' -- do you see a red mover box for it? It should be around the same location as the achievement notice mover.

ttuck12786 12-12-11 08:17 PM

Playerpowerbaralt
 
Tried it again and no there is nothing for it. Had a friend who uses NUI try it as well and they cant find it either. When i opened up /nui movers i even tried moving everything to see if it was located behind something else but it was not.

spiel2001 12-12-11 08:31 PM

See if this test file fixes it please?

http://www.wowinterface.com/forums/s...ad.php?t=42092

(see my last post)

ttuck12786 12-12-11 10:31 PM

worked but with problems
 
1 Attachment(s)
Ok adding that file in did nothing. So i reopened the plugin file and took the other movers file out and left the new 1 in. With it like that the bar popped up but it relly messed up the ui. My minimap is now in the top right and i have no raid frames. Im posting a screen shot that i took so you can see.

ttuck12786 12-12-11 10:49 PM

ok new info on this
 
1 Attachment(s)
So after trying some things whiich failed i put both movers files back into the plugins file. I flew back to the Maw of Madness and still no bar. So i reloaded ui while down there. Behold the bar popped up but there is no option for it on the /nui movers. It covers the action bars. Also the bar that is supposed to move when you are being digested does not. So there is progress but still problems. As you can see in the screenshot i am dying but there is no bar to let me know what level im at.

roguesirs 12-12-11 11:38 PM

playerpowerbaralt
 
since the update in order to see the bar such as in the maw of madness i have to reload my ui, after reloading my ui the bar shows up but playerpowerbaralt no longer seems to move the bar,

ttuck12786 12-13-11 03:17 AM

Playerpowerbaralt
 
1 Attachment(s)
Ok i downloaded the version 5.07.23 and just like when i had both of the movers files in the plugins folder i had nothing in the Maw of Madness untill i reloaded the ui. After that it did show up but there is still no bar to show how much you are being digested. I waited a while and the bar started to come out of the left side of the graphic which you can see in the pic below. And that is as far as it came out. The action bars are clickable through the graphic however. Also there is still no mover for the bar in /nui movers. Not meaning to be a pain just trying to help out with info on the problem.

spiel2001 12-13-11 05:36 AM

Yeah... that's a broken load. That's what nUI looks like when something breaks during the startup. If/when that happens again, I'd like to see the error message you are getting.

Quote:

Originally Posted by ttuck12786 (Post 249310)
Ok adding that file in did nothing. So i reopened the plugin file and took the other movers file out and left the new 1 in. With it like that the bar popped up but it relly messed up the ui. My minimap is now in the top right and i have no raid frames. Im posting a screen shot that i took so you can see.


spiel2001 12-13-11 05:40 AM

Quote:

Originally Posted by ttuck12786 (Post 249325)
Not meaning to be a pain just trying to help out with info on the problem.

Not a pain at all... I need this feedback to sort it out.

It's curious that you have to reload to get the bar and I'm not sure why it is different here than with Xrystal's fix as I am doing the same thing at the same time. Odd.

The reload makes me wonder if (a) the bar doesn't exist until you enter the zone or (b) there's an error being thrown.

If you log in clean, do a reload before you do anything, then enter the zone, does the bar appear? Or does it only appear if you reload while you are already in the zone?

ttuck12786 12-13-11 06:59 AM

Quote:

Originally Posted by spiel2001 (Post 249341)


If you log in clean, do a reload before you do anything, then enter the zone, does the bar appear? Or does it only appear if you reload while you are already in the zone?


Ok so i did log in fresh not in the zone, did /reload ui while outside, waited a minute or so them flew down there. Still no bar at all. Relaoded ui while i was in there and it did show up like the other times. Even had a friend do it to make sure its not just me and it was the same for her.

Xrystal 12-13-11 03:38 PM

So it does eventually come up but not immediately. Hmm sounds like its not in the right loading sequence.

So, theoretically if people do a reload ui when they first log in, they should be able to use the mover system for the new bars...

At least until Scott figures out why it works on my plugin and not nUI proper :D

roguesirs 12-13-11 08:44 PM

yeah for the time being i went back to 5.07.21 and your plugin Xrystal and its working like a dream, so until a fixed version comes out thats how my ui is stayin

spiel2001 12-13-11 09:19 PM

I just put out another update which, I hope, fixes this issue.

ttuck12786 12-14-11 01:17 AM

2 Attachment(s)
Quote:

Originally Posted by spiel2001 (Post 249422)
I just put out another update which, I hope, fixes this issue.

Scott you are a freaking legend man. Just downloaded the new version and everything works perfect. Graphic shows up without having to reload ui and there is an option for it in /nui movers. Posting pics so you and everyone can see. Bar even fills up properly. Thanks so much and after the holidays you can for sure count on a donation from me.


All times are GMT -6. The time now is 10:21 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI