Download
(49Kb)
Download
Updated: 06-06-07 11:20 AM
Pictures
File Info
Updated:06-06-07 11:20 AM
Created:unknown
Downloads:22,664
Favorites:28
MD5:

MyInventory  Popular! (More than 5000 hits)

Version: 2.07.6.6
by: Darklin [More]

This addon was originally written by a man named Svarten. Over time it was abandoned, then picked up by another person by the name Ramble. It has slowly succumbed to bit-rot and of course, the advent of 2.0.1 broke it's back completely. So, since I use it, I decided to see if I could repair it. As of right now I can't see any bugs but if anyone does, feel free to post here.

This simple addon replaces the default bag frames with a movable single bag. The beauty of this over other bag addons is that it actually handles 'scaling' with grace. So, for those of you who like having your bags scaled to .21583205 of normal size, the buttons will still look clean.

Commands:
/mi or /myinventory - List of all slash command options.
/mi config - Brings up the Options page.
/mi cols - Set the number of columns you wish in the bag.
/mi scale - Set the scaling of the entire bag.
/mi replace - Replace the default bag setup. (i.e. hit B to open your MyInventory bag as opposed to the default bags.)


~Version History~
v2.07.6.6
- Updated TOC for 2.1 (Otherwise it works just fine.)
v2.07.1.2
- Fixed 2 bugs stemming from LUA 5.1's handling of table values in FOR loops.

Optional Files (0)


Post A Reply Comment Options
Unread 12-27-06, 06:44 PM  
kasca
A Frostmaul Preserver

Forum posts: 288
File comments: 204
Uploads: 0
HUmmm ...
I put this in and nothing happened. So how do you turn it on???
Report comment to moderator  
Reply With Quote
Unread 12-27-06, 06:54 PM  
Insight
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
You can bring forth the bagwindow with /mi replace, or you just type /mi config to enter the options interface.
Last edited by Insight : 12-27-06 at 06:58 PM.
Report comment to moderator  
Reply With Quote
Unread 12-28-06, 02:24 PM  
kasca
A Frostmaul Preserver

Forum posts: 288
File comments: 204
Uploads: 0
i did try that nothing happened.
Report comment to moderator  
Reply With Quote
Unread 12-28-06, 08:06 PM  
Darklin
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
kasca: You're sure you enabled the addon for your character at character select? Because if you did you should get a message saying, "Loading profile for <Character>|<Server>".

Then all you need to do is do "/mi config" and put a checkmark in the box that says "Replace default bags" Close that and then attempt to open your bags as you normally would and it should open up a single bag interface.
Report comment to moderator  
Reply With Quote
Unread 12-30-06, 05:35 AM  
Eklectix
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Comments and suggestions...

Someone on another site updated exactly the same thing. I do not know if you're one and the same person but I sort of like this mod better than the other. The other mod is called the ACUI_MyInventory. Anyway great mod!

I'm getting a couple of errors though...

Error 1: When I type /mi or myinventory, it spits this error...
Interface\AddOns\MyInventory\MyInventory.lua:518: attempt to call a table value

Error 2: On the config screen, when I put a check mark on Keep Window Open, this error pops up...
Interface\AddOns\MyInventory\MyInventory.lua:446: attempt to call a table value

I wonder how this can be corrected?

Also, this isn't very friendly with other windows open. What I mean by that is that it has no way as the 'window on top.' What I mean by that is when the big AH window is open, with the default bags even if a bag goes under the AH window, once you click on it, it'll be the one on top of the AH window. This mod breaks the frames once the AH window is up making part of it stuck in the background.

I also have a few suggestions.
1. I'd like an Options button to access the config screen. This will help greatly with first time users because all they need to do is copy the files to the AddOns folder, make sure there's a check mark on the character select screen for this addon on the AddOns screen, then type /mi replace and voila, instant access to the integrated bags! What's more, they can easily configure it because there's an options button! That would be really cool! I can show you a bit later where this can be placed.
2. The bottom part of the mod needs a little face lift. I'll get a screen shot of what you can change it into and have a basis for it as well a little later once I get home to show you what I mean by this but it's basically the part where it's showing you how much gold you have or the number of free slots/ used slots you have.

Thanks for a great mod! Please keep working on it. I'm too lazy to learn how to code this.
Report comment to moderator  
Reply With Quote
Unread 01-02-07, 07:52 PM  
Darklin
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
As far as the table values error goes, I'll look into it. Not sure exactly what's going on there. I have a feeling it's something in the way LUA 5.1 works but I'm not 100% certian.

For 'playing nice' with the default bags and such, yes, this is an issue that I'm not sure how to go about solving. I've only dabbled with LUA and the WoW interface API enough to repair this from it's previously broken state. Yet another thing to look into.

The options button could go next to or previous to the button used for showing the 'bags' on the MyInventory bag window. Still, /mi config is fairly easy to bring up the configuration page. I'll ponder it. To be honest, I really only released this so that a couple of my friends and I could have a 'fixed' version to use. I never expected it to take off like it has.

Not sure what you're after with the bottom half of the 'bag' window. I'd have to see either a description or a mockup to be able to figure out if I can pull off what you're after.

As I stated in the descripton of the posting of this mod, I didn't write this. Svarted started it off, then Ramble did the cleanup awhile back. I just did some tweaking so the item coloring option worked again and so that everything worked properly in 2.0.1.
Report comment to moderator  
Reply With Quote
Unread 01-02-07, 08:16 PM  
Darklin
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Fixed it so those 2 error messages don't throw anymore. As I suspected, it was in how LUA 5.1 handles table data in for loops. I just needed to put pairs() to make all work happy once again. Easy enough fix.
Report comment to moderator  
Reply With Quote
Unread 01-03-07, 12:34 PM  
British
A Defias Bandit
 
British's Avatar

Forum posts: 2
File comments: 41
Uploads: 0
Thank you for giving us a better stability ^^

I have two questions though:

- Do you plan to look upon MyBank as well ?

- Why limit the columns to 18 ? I always use 20
Report comment to moderator  
Reply With Quote
Unread 01-03-07, 07:23 PM  
Darklin
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
In response to the 18 column limit, I'm not sure why they put that in. I'll have to look and see if it's hard coded in there for some reason or if it's just some kind of sanity check.
Report comment to moderator  
Reply With Quote
Unread 01-04-07, 01:28 PM  
Eklectix
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Thanks for the update Darklin! Really appreciate it. Sorry for not replying sooner. I'm too attached to my warlock at the moment so I'm missing quite a bit on forums and stuff. As for the facelift, I can see how it might be difficult since you're not the original coder. If it's possible though, the way the money looks in the original backpack or how it's in a gold border like that in the AH would be nice. The options button could be in line with the money at the bottom or a better one be in line with the close button and instead of a full red button that reads Options... it could just be a small button like the close button. Either way, thanks for getting rid of those bugs!

Oh and like British said, how about MyBank? Any chance you can work on that and have this integrated with it?
Report comment to moderator  
Reply With Quote
Unread 01-04-07, 11:54 PM  
Darklin
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
British: I got a chance to look into the "18 column limit" question and did some tinkering. It seems that the only reason it's there is because one of the two designers decided to put it there for some reason or another.

While I could post a new version just to fix this, I won't. The fix is real simple. Just open up MyInventory.lua in Notepad or some other text editor. Then look for the line that says...

MYINVENTORY_COLUMNS_MAX = 18;

Then just change the 18 to 20 like so...

MYINVENTORY_COLUMNS_MAX = 20;

Save that and then restart WoW. From there you can do a "/mi cols 20" and all will work fine. You won't be able to use the slider on the Config page but you'll be able to get 20 colums in the way I described. Pretty simple.
Report comment to moderator  
Reply With Quote
Unread 01-08-07, 01:09 PM  
British
A Defias Bandit
 
British's Avatar

Forum posts: 2
File comments: 41
Uploads: 0
Thanks for the tip, it worked like a charm !

Also, when you modify that variable, the slider in the config menu goes up to that value :]
Report comment to moderator  
Reply With Quote
Unread 01-10-07, 01:41 PM  
Atenas
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
I have a problem with one of my chars. MyInventory only groups up the other bags, while the main bag (the backpack) stays as normal. But it only happens with that char, with the rest of the ones I have it works with no problems. I've tried to delete the addon and the saved variables but it still doesn't work. What could it be?
Report comment to moderator  
Reply With Quote
Unread 01-10-07, 01:46 PM  
Atenas
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Ok, I fixed it. I just went into myinventory.lua into the saved variables folder and saw that bags for that char were 01111 instead of 11111.
Report comment to moderator  
Reply With Quote
Unread 06-08-07, 06:43 PM  
Googles
A Murloc Raider
 
Googles's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 6
File comments: 3
Uploads: 1
Bank?

How about you add support for the bank?
__________________
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: