Looking for a DefaultUI Mover
I am currently looking for a Addon that can move certain things. I am not looking for something complex, maybe something along the lines of:
/[addonname] config; (for the addon) or /[addonname] unlock; -- Will unlock things from the UI, such as durability, world state, text that comes up in the middle, error text (abilities), etc. Something easy that will just let me do that, and maybe let me hide things. Not something that gives me everything but the kitchen sink though lol. Any suggestions? |
Quote:
|
Quote:
|
Quote:
My only experience is changing something in the Lua to fit my needs, adding a thing here and there, and some other things. I do not know how to make a entire addon though ^^v EDIT: looks like you deleted your post when I posted mine lol :o |
1 Attachment(s)
Quote:
LP_FrameMover removed link to off-site download -Seerah added link back in (at bottom), take that! :p -Nibelheim Now, it's certainly not the most convenient method of moving / hiding frames, but it's the most reliable. Just /framestack to find the name of the frame you want to move / hide, and edit the Core.lua file accordingly. To find out the current Point, RPoint, X, and Y positions of any frame, simply type this code into your chat window: Code:
/run print(FrameName:GetPoint()) PS. If you want to start moving / hiding frames that are created by Load-on-demand addons, things get a little trickier. There's also some complex frames to look out for, one of note is the VehicleSeatIndicator frame. PSS. This is untested as I'm not at my WoW PC atm, so if any errors occur, let us know :p PSSS. Interesting, it actually took me exactly 30 minutes to do. >.> PSSSS. Heh, just kidding, 4 PSs would be nuts! |
You're like half the reason my UI is working correctly/as intended xD <3
PS: Drink much coffee lol? I did one RL and you have like 4 PSSSSSSSS Code:
/run print(DurabilityFrame:GetPoint()) Code:
TOPRIGHT table: 1EFFBBA0 BOTTOMRIGHT -0 0 |
Just as reference, these are some of the frame names I'm manipulating in RealUI.
"ZoneTextFrame" -- Text that appears when you change zones "RaidWarningFrame" -- Raid warning messages in the middle of screen "TicketStatusFrame" -- GM Ticket status "GroupLootFrame1" -- Loot Rolling frames "GroupLootFrame2" "GroupLootFrame3" "GroupLootFrame4" "WorldStateAlwaysUpFrame" -- PvP info at Top Center of screen "UIErrorsFrame" -- Error messages "PlayerPowerBarAlt" -- Sound bar and Insanity gauge on Atremedes, Cho'gall, etc "DurabilityFrame" "Boss1TargetFrame" "Boss2TargetFrame" "Boss3TargetFrame" "Boss4TargetFrame" "CompactRaidFrameManager" -- I hide the default Blizz raid frames |
Quote:
Actually, noticed a small bug. In Core.lua, change the line: Code:
p = t.parent and _G[t.parent] or UIParent Code:
p = t.parent and _G[t.parent] or f:GetParent() |
Having some trouble with moving the DurabilityFrame... I'm sure I am just doing it wrong.. ><
Code:
["DurabilityFrame"] = {parent = nil, point = "TOPRIGHT", rpoint = "BOTTOMRIGHT", x = -300, y = 0, scale = 1}, Code:
Interface\AddOns\LP_FrameMover\Core.lua:45: attempt to call field 'MoveFrames' (a nil value) |
Quote:
|
Saw that, then I noticed I had an error somewhere
|
Quote:
So, with those two bug corrections, it should hopefully work :p |
Hmm... still doesn't seem to be moving at all. No errors this time or anything
Code:
["DurabilityFrame"] = {parent = nil, point = "CENTER", rpoint = "CENTER", x = -300, y = 0, scale = 1}, I have no problem waiting for you to get home and testing it for yourself though. |
Quote:
|
Quote:
|
Alright. In the FM.MoveAllFrames = function() block, add the line below right after the f:SetScale(t.scale) line.
f.SetPoint = function() end So, should look like: Code:
FM.MoveAllFrames = function() Quote:
Change the line local f = _G[i] in the FM.HideAllFrames = function() block to: Code:
local f = _G[v] Code:
FM.HideAllFrames = function() |
1 Attachment(s)
Oh Nib, you're like my own little Evil Genius~ :D
Thank you so much lol ^^ ~ Yes that means it started working ^^v EDIT: Added that list bit in too~ Will test right now. EDIT2: Yes I love my ~ Signs. EDIT3: Image of my DurabilityFrame moved (topleft), Hiding frames work too. EDIT4: another post going straight into my sig ;D I also put Code:
--[[Common Frames: (http://wowprogramming.com/utils/artbrowser) |
Quote:
|
This seems really interesting! I have one question: Has the download link been updated with the changes/bugs mentioned in this thread, or do they still need to be applied?
I guess I could check it myself, but I thought I would ask ;) EDIT: Just realized that the post with the link was last edited over an hour before the more recent posts. There's my answer! Haha :rolleyes: |
Quote:
|
Quote:
|
Noted something when I hid the UIErrors, it also hides quest updates as well :o
|
Quote:
|
Hey Nib, Lily
Thanks for the help so far. I've posted a response on that topic that I'd started, but i thought that i should stick it here too seeing as this is the post that Lily referred me to: Quote:
I'm pretty sure that there's a HUGE chance that I've either put it in the wrong place or done something else wrong!!! Please help moi!! PHP Code:
|
lua Code:
|
I copy and pastied your below code into the .lua (replacing all the previous code), but other than rendering the button inactive and moving the button to the centre of the screen, it didn't do anything else.
It appears as soon as log on too. I'm hoping to get it to only show when I pull up a merchant frame, but like I say, it shows 100% alpha all the time. I'm going to try and add all of the frames belonging to the bar to the code and maybe that'll do it. I was hoping that the button and it's frame and shine would be pre attatched to the bar handler by macaroon, but using this addon appeared to 'detatch' the button from the frame. Wish me luck!!! I need it!! EDIT: The second I posted this, I realised that I didn't thank you for taking the time to try and solve my problem. Thanks!! I'm sure I'll get there eventually, I normally do! |
Woops, saw you didn't put quotes around the parent frame.
lua Code:
|
All times are GMT -6. The time now is 03:12 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI