Download
(5Kb)
Download
Updated: 02-21-17 02:53 AM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.5)
Legion (7.0.3)
Updated:02-21-17 02:53 AM
Created:10-14-10 06:17 PM
Downloads:9,309
Favorites:52
MD5:
Categories:Plug-Ins & Patches, Bags, Bank, Inventory

Movable Bags 7.1 Legion Fan Updated  Popular! (More than 5000 hits)

Version: 7.1
by: Rakuen [More]

Movable Bags unlocks the standard bag positions and allows you to place them wherever you like on your screen. It will remember the last position the bag was placed at when closed and open in that same location.
For a command menu, use /movablebags ; you can also lock and unlock the bags from said menu.


An update for Legion 7.1 has been applied!

Special thanks to NYFreddie and Dalarian for the 7.1 fixes! Thanks guys! <3

Thanks so much robwood for the quick fixes for 5.0.4!
Additional thanks go to GozerForscherliga and Shamino for the quick fixes for 4.0.1b!
Many thanks also go to Edgerin (original author) and Kossorri for such a wonderful addon!
Be sure to thank them!

I am a fan who applied the fixes myself, tested them and decided to upload the zip files of said changes. Much quicker this way so you don't need to edit them yourselves! Fixes that were used to edit the TOC and LUA files have been added in a .txt along with the file describing the changes.

BTW if you have a moment please leave a comment to let me know if it is working for you, thanks!!

Enjoy!!

02/21/2017 : MovableBags7.1 Legion Fan Update**
Updated TOC, LUA and XML files to reflect current version and update for Legion fuctionality.

04/29/2014 : MovableBags5.4 MoP Fan Update**
Updated TOC file so users do not need to use "load out of date addons" to load MB.

04/16/2013 : MovableBags5.2 MoP Fan Update**
Updated TOC file so users do not need to use "load out of date addons" to load MB.

08/30/2012 : MovableBags5.0.4 MoP Fan Update**
Updated TOC and LUA files to reflect current version and update MoP fuctionality.

10/17/2010 : MovableBags4.0.1.b Fan Update**
Updated TOC file to reflect current version. Therefore it will show properly in addons.

10/15/2010 : MovableBags4.0.1.a Fan Update**
Updated TOC file so users do not need to use "load out of date addons" to load MB.

10/14/2010 : MovableBags4.0.1 Fan Update**
Updated LUA and XML files to represent several changes. All changes done are included in a .txt file.
Post A Reply Comment Options
Unread 11-05-22, 03:59 AM  
Aragum
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Hello, everyone
in wow 10.0 there are xml errors now.

1x Interface/AddOns/MovableBags/MovableBags.xml:4 Unrecognized XML: TitleRegion

and

1x Interface/AddOns/MovableBags/MovableBags.xml:4 Unrecognized XML attribute: setallpoints

it doesn't load automatically anymore, you have to enter "/movablebags unlock" to be able to move the bags
Report comment to moderator  
Reply With Quote
Unread 10-25-20, 06:52 PM  
RogueMaster
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
5.4 vs 7.1

Greetings,

I've been using the 5.4 (MoP) file for a while now. Has the 7.1 version been updated at all for 9.x?

5.4 works well most of the time, but at times has a brain fart and moves the bags so high I have to adjust the screen size in order to be able to grab the bag header and put them back where they belong.
Report comment to moderator  
Reply With Quote
Unread 07-13-20, 10:32 PM  
pinmouse
A Murloc Raider

Forum posts: 9
File comments: 59
Uploads: 0
Talking Thank You!!!

Originally Posted by tph88
Here is a fix I used and is working now for me:
open MovableBags.lua in your plain text file editor
(probably in a place like C:\Program Files (x86)\World of Warcraft\_retail_\Interface\AddOns\MovableBags\MovableBags.lua)

Search for 'movablebags_oldUpdateContainerFrameAnchors' (without quotes)
Its in 2 spots, in my file it was on lines 43 & 167

put a -- (2 dashes) to comment these lines out, like this:
43 --movablebags_oldUpdateContainerFrameAnchors();
167 --movablebags_oldUpdateContainerFrameAnchors = UpdateContainerFrameAnchors;

/reload ui
I know it's been a while since you posted this, but I never saw your post until now. I've been going crazy trying different bag addons when all I wanted was to be able to move the default bags how I want them. Thank you for posting this! Finally I have plain/movable bags again!
Report comment to moderator  
Reply With Quote
Unread 06-28-19, 07:50 AM  
Dalarian
A Murloc Raider

Forum posts: 4
File comments: 41
Uploads: 0
Woohoo! Thanks for the quick and simple fix. I was dying with Blizz's bag placements.
Report comment to moderator  
Reply With Quote
Unread 06-28-19, 05:21 AM  
Aragum
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
it works perfet thanks
Report comment to moderator  
Reply With Quote
Unread 06-27-19, 09:49 PM  
tph88
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Here is a fix I used and is working now for me:
open MovableBags.lua in your plain text file editor
(probably in a place like C:\Program Files (x86)\World of Warcraft\_retail_\Interface\AddOns\MovableBags\MovableBags.lua)

Search for 'movablebags_oldUpdateContainerFrameAnchors' (without quotes)
Its in 2 spots, in my file it was on lines 43 & 167

put a -- (2 dashes) to comment these lines out, like this:
43 --movablebags_oldUpdateContainerFrameAnchors();
167 --movablebags_oldUpdateContainerFrameAnchors = UpdateContainerFrameAnchors;

/reload ui
Last edited by tph88 : 06-27-19 at 09:51 PM.
Report comment to moderator  
Reply With Quote
Unread 06-27-19, 01:01 PM  
Aragum
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
8.2 PLZ Update

894x FrameXML\ContainerFrame.lua:1082: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: ContainerFrame1:SetPoint.
[C]: in function `SetPoint'
FrameXML\ContainerFrame.lua:1082: in function `movablebags_oldUpdateContainerFrameAnchors'
MovableBags\MovableBags.lua:43: in function `UpdateContainerFrameAnchors'
FrameXML\ContainerFrame.lua:283: in function `movablebags_oldContainerFrame_OnShow'
MovableBags\MovableBags.lua:95: in function `ContainerFrame_OnShow'
[string "*:OnShow"]:1: in function <[string "*:OnShow"]:1>
[C]: in function `Show'
FrameXML\ContainerFrame.lua:1022: in function `ContainerFrame_GenerateFrame'
FrameXML\ContainerFrame.lua:313: in function `OpenBag'
FrameXML\ContainerFrame.lua:1603: in function `OpenAllBags'
FrameXML\MailFrame.lua:63: in function <FrameXML\MailFrame.lua:50>
[C]: in function `TurnOrActionStop'
[string "TURNORACTION"]:4: in function <[string "TURNORACTION"]:1>

Locals:
(*temporary) = ContainerFrame1 {
0 = <userdata>
PortraitButton = ContainerFrame1PortraitButton {
}
Portrait = ContainerFrame1Portrait {
}
ExtraBagSlotsHelpBox = ContainerFrame1ExtraBagSlotsHelpBox {
}
ClickableTitleFrame = <unnamed> {
}
bags = <table> {
}
forceExtended = false
FilterDropDown = ContainerFrame1FilterDropDown {
}
bagsShown = 2
isHelpBoxShown = false
FilterIcon = <unnamed> {
}
allBags = true
size = 20
}
(*temporary) = "BOTTOMRIGHT"
(*temporary) = UIParent {
0 = <userdata>
firstTimeLoaded = 1
variablesLoaded = true
}
(*temporary) = "BOTTOMRIGHT"
(*temporary) = -83.999962
(*temporary) = 130
Report comment to moderator  
Reply With Quote
Unread 02-28-17, 10:47 AM  
Ravenslair
A Kobold Labourer
 
Ravenslair's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 2
Get Well

Rakuen you just worry about getting better bud we got this for now
Last edited by Ravenslair : 02-28-17 at 10:48 AM.
Report comment to moderator  
Reply With Quote
Unread 02-21-17, 02:57 AM  
Rakuen
A Defias Bandit
 
Rakuen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 24
Uploads: 1
NYFreddie and Dalarian! Thanks so much guys for getting this addon working again. I've been in the hospital for the last few months so any updates were just not possible for me.

I'm still on the mend so I may not be around too much, I just wanted to thank you both; the file has been uploaded and everything looks great!
Report comment to moderator  
Reply With Quote
Unread 01-24-17, 02:42 PM  
Dalarian
A Murloc Raider

Forum posts: 4
File comments: 41
Uploads: 0
THANK YOU NYFreddie !

Yeah, Legion 7.1 completely broke this addon, so thanks so much for figuring out how to get it going again.

FYI, I tried MoveAnything for just bags, and it only kinda worked. It basically set a global position for all toons. And for Bank bags, it used the center of the bag as a reference point, so that older toons with bigger bags or the huge profession bags created crazy position problems for other characters.
Report comment to moderator  
Reply With Quote
Unread 01-18-17, 09:23 PM  
NYFreddie
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Thank you for posting this update! Could you please copy and paste your .lua file?

It's a bit long and required updates to the LUA, XML and TOC files. I've put them on my Dropbox. Please see if this link will work for you. You should be able to just replace the files already in your MovableBags directory under World of Warcraft\Interface\AddOns

https://www.dropbox.com/s/o30mjw1hvx...eBags.zip?dl=0

Spent a couple nights learning Lua to get this working.

A quick synopsis of what the code is doing if anyone is wondering:

The bags are numbered 1 - 12 (5 bags on you and 7 in the bank). They are typically not movable directly. What this Add On does is it creates 12 transparent frames over the title bars of each bag, so, when you move those frames they inform the bag frames of the new locations to use. This Add On also hijacks the Hide and Show functionality for each bag, so showing them will call the transparent frames instead. They in turn notify the WoW bags of their proper locations on the screen and then allow them to hide or show.

Took me a bit of reading the code to understand that. Thought it might be useful information for anyone else who wants to browse it.
Report comment to moderator  
Reply With Quote
Unread 01-18-17, 05:38 AM  
Magnustx
A Kobold Labourer
 
Magnustx's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Thank you for posting this update! Could you please copy and paste your .lua file?

Originally Posted by NYFreddie
After making all of Dalarian's updates, my bags were still not movable. I went through and cleaned out all of the key bag references and ultimately I needed to add the following code to the end of MovableBags_InitConfig:

for i=MOVABLEBAGS_LOWID,MOVABLEBAGS_HIGHID,1 do
local mover = getglobal("Bag"..i.."Mover");
mover:RegisterForDrag("LeftButton");
mover:SetScript("OnDragStart", mover.StartMoving);
mover:SetScript("OnDragStop", mover.StopMovingOrSizing);
end

For some reason the moving frames were not dragable - this enables that functionality again.
Report comment to moderator  
Reply With Quote
Unread 01-17-17, 09:42 PM  
NYFreddie
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
After making all of Dalarian's updates, my bags were still not movable. I went through and cleaned out all of the key bag references and ultimately I needed to add the following code to the end of MovableBags_InitConfig:

for i=MOVABLEBAGS_LOWID,MOVABLEBAGS_HIGHID,1 do
local mover = getglobal("Bag"..i.."Mover");
mover:RegisterForDrag("LeftButton");
mover:SetScript("OnDragStart", mover.StartMoving);
mover:SetScript("OnDragStop", mover.StopMovingOrSizing);
end

For some reason the moving frames were not dragable - this enables that functionality again.
Report comment to moderator  
Reply With Quote
Unread 09-02-16, 12:25 PM  
Dalarian
A Murloc Raider

Forum posts: 4
File comments: 41
Uploads: 0
Mostly working in Legion

You can reset and move bags, but when it saves them, it messes up the "new" position, so that next time they are locked in position until you do a reset again. If anyone could figure out the scale multiplier or whatever that is messing up the number for the moved to position, it would be great.

CHANGES to MovableBags.toc
line 1
## Interface: 70000

NOTE: this is probable all you have to do to get it working (with the caveat above still a problem). The changes below are to get the default positions set to a more usable initial position.


CHANGES to MovableBags.lua
line 17 change from 13 to 12
MOVABLEBAGS_NUMBAGS = 12; --5 bags, 7 bank bags, 1 keyring

better default positions
MovableBags_DefaultPositions = {
-- [-2] = { "BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", 500, 240 },
[0] = { "BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -150, 300 },
[1] = { "BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -150, 600 },
[2] = { "BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -150, 840 },
[3] = { "BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -340, 300 },
[4] = { "BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -340, 600 },
[5] = { "BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 10, 440 },
[6] = { "BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 200, 440 },
[7] = { "BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 390, 440 },
[8] = { "BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 580, 440 },
[9] = { "BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 580, 630 },
[10] = { "BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 580, 860 },
[11] = { "BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 770, 850 },
};

line 67 get rid of keyring ref
if ( (id >= MOVABLEBAGS_LOWID) and (id <= MOVABLEBAGS_HIGHID) ) then

CHANGES to Movable Bags.xml

there are two <AbsDiminsion x= lines for each bag
the first one of each set is: AbsDimension x="160" y="30"/>
and should be left unchanged

so line 13 changes to : <AbsDimension x="-150" y="300"/>

line 34 changes to : <AbsDimension x="-150" y="600"/>

etc on down the line, changing the pair of numbers in the xml file to match the same pair of numbers in the lines above from the MovableBags.lua file.

have fun....
Last edited by Dalarian : 12-15-16 at 08:06 AM.
Report comment to moderator  
Reply With Quote
Unread 08-31-16, 04:29 AM  
Leridyn
A Murloc Raider

Forum posts: 7
File comments: 3
Uploads: 0
May I second the humble request to update this amazing addon.

Not everyone enjoys a single bag, and I realize how much I relied on this addon for years. If nothing else, can a smart coder figure out what needs to be changed and let us know how to edit the lua file?

Many thanks in advance!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: