Download
(5Kb)
Download
Updated: 10-13-10 07:57 PM
Pictures
File Info
Updated:10-13-10 07:57 PM
Created:05-12-09 04:35 AM
Downloads:11,374
Favorites:119
MD5:

kRestack  Popular! (More than 5000 hits)

Version: 40000.1
by: Katae [More]

Simple, low profile addon for quickly and automatically compressing your bag, bank, or guild vault inventory item stacks, keeping them nice and tidy, all while being unobtrusive.

If you have any class/profession specific bags equipped (warlock soul pouch, mining bag, inscription, etc), items that can go into those bags will be automatically sorted into them while the addon runs.

Auto-stacking, when enabled, will run only when opening or closing bags and looting, so you can safely split stacks, trade, etc. without turning the setting off.

Configuration can be reached with a slash command or with an optional Data Broker display (as shown in the picture).

/restack : Configure or manually run the addon.

40000.1 -- 2010-10-13
- 4.0 toc update.
- "arg1" bug fix.

1.1.1 -- 2009-12-08
- 3.3 toc update.

1.1 -- 2009-08-14
- Fixed a bug with multiple "special" bags conflicting with each other.
- Version bump.

1.0.9 -- 2009-08-04
- TOC updated to 3.2

1.0.8 -- 2009-07-08
- Some memory optimizations.
- Extended bag hooking to cover all of the bag open/close events.

1.0.7 -- 2009-06-16
- Code optimizations.
- In addition to restacking the player's bags, left-clicking the LDB plugin will now restack bank or guild vault when viewing them.

1.0.6 -- 2009-06-11
- Item looping now resets properly after finding and moving a matching partial stack. The entire process should now be much more stable and orderly.
- Special bags with partial stacks and no free bag slots should now be correctly filled with partial stacks from other bags.
- Set the LDB plugin to load when an addon with LDB embedded is loaded.
- Changed LDB data object type to "launcher".

1.0.5a -- 2009-06-06
- LDB conditionals in place.
- File structure and toc changes. Removed LDB libs that should be loaded anyway if there's a display.

1.0.5 -- 2009-06-06
- Fixed a bug in class/profession item sorting. A check wasn't in place to see if the item of the same type was a container, the result was bags in the inventory being equipped over the one already there.

1.0.4 -- 2009-06-02
- Throttled "OnUpdate" yield script.
- Minor backpack hook change.
- SavedVariables now account wide; settings still per-character.

1.0.3 -- 2009-05-23
- Removed auto-stacking from the TRADE_SHOW event.

1.0.2a -- 2009-05-22
- Added missing label text for LDB plugin.

1.0.2 -- 2009-05-22
- Added support for Data Broker. Left-click stacks bags, right-click opens menu.

1.0.1 -- 2009-05-19
- Fixed the handling of initializing saved variables when updating from 0.9
- Fixed a bug that disabled guild tab switching when guild bank auto-stacking is turned off.

1.0 -- 2009-05-18
- Added support for restacking guild vault tabs.
- Hooked bag auto-stack to LOOT_OPEN and TRADE_SHOW, and guild bank auto-stack to GUILDBANKFRAME_OPENED and SetCurrentGuildBankTab(i).
- Extended auto-stack toggle to enable or disable bags, bank, or guild bank individually.
- Will now move items that can go into special class/profession bags into those bags if possible (soul shards, herbs, arrows, etc).
- Cleaned up and commented code.

0.9 -- 2009-05-13
- Added option to auto-stack when opening bags or bank, off by default. Toggle with '/restack auto'
Post A Reply Comment Options
Unread 08-09-09, 08:50 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
Well, from the description I gathered it would actually sort all things, not just the profession stuff. So in that aspect, maybe it does do what its supposed to do. So carry on :P I said nothing.
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 07:09 PM  
Katae
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 208
File comments: 260
Uploads: 6
Originally posted by MoonWitch
While this addons looks great, for me it doesn't restack at all. Everything works like a charm, but no restacking
I'm confused, its only feature is basically to compress item stacks (restacking) and sort items into class/profession bags, what exactly is not working? Details.
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 06:42 PM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
While this addons looks great, for me it doesn't restack at all. Everything works like a charm, but no restacking
Report comment to moderator  
Reply With Quote
Unread 07-08-09, 08:32 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Originally posted by xtoq
Try Neat Freak, it sorts your bags based on criteria you select.
I use BankStack, but it uses a bit memory, so don't use it if you want a low-memory addon
Report comment to moderator  
Reply With Quote
Unread 06-06-09, 05:03 PM  
Tekkub
A Molten Giant
 
Tekkub's Avatar
AddOn Author - Click to view AddOns

Forum posts: 960
File comments: 334
Uploads: 67
"Removed unnecessary LDB libs that should be loaded anyway if there's a display."

You should embed the libs, you have no idea when the display will be loaded, it could be LoD.

Also, you should be using a launcher DO, not a data source. You're not providing any data to display.
__________________
I have reached enlightment.
Thank you bacon!
Last edited by Tekkub : 06-06-09 at 05:05 PM.
Report comment to moderator  
Reply With Quote
Unread 06-04-09, 07:47 AM  
Katae
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 208
File comments: 260
Uploads: 6
@Frnit
This would be out of the scope of what this addon was intended to be, but it definitely is on my "Maybe Someday" todo.

Ty for the link xtoq!

edit: i'll look into it when i have the time and if it turns out to not be too much work, i'll probably make some kind of sorting feature.
Last edited by Katae : 06-06-09 at 11:06 AM.
Report comment to moderator  
Reply With Quote
Unread 06-03-09, 12:26 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
Originally posted by Frnit
I was wondering, could you add in moving the items so it sorts your inventory?
Then it'd be like perfect replacement for Mr. Plow, which has died and gets buggier and buggier every patch
Try Neat Freak, it sorts your bags based on criteria you select.
Report comment to moderator  
Reply With Quote
Unread 06-02-09, 07:06 PM  
Frnit
A Murloc Raider

Forum posts: 4
File comments: 9
Uploads: 0
I was wondering, could you add in moving the items so it sorts your inventory?
Then it'd be like perfect replacement for Mr. Plow, which has died and gets buggier and buggier every patch
Report comment to moderator  
Reply With Quote
Unread 05-19-09, 09:20 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
I too will test once maintenance is done. Sorry about not using the bug reporting, half of the authors use it and half don't; hopefully I won't have to post any there. Thanks for the update!
Report comment to moderator  
Reply With Quote
Unread 05-19-09, 07:00 AM  
pomr
A Kobold Labourer
 
pomr's Avatar

Forum posts: 1
File comments: 46
Uploads: 0
Once maintenance is done I'll test it out and verify that the fix worked. =)

Thanks for the quick response!
Report comment to moderator  
Reply With Quote
Unread 05-19-09, 03:37 AM  
Katae
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 208
File comments: 260
Uploads: 6
@xtoq, pomr
It seems that by updating from the previous version, saved variables were not reinitiated properly.

A fix is on the way, but until then, you can delete the kRestack files in "./WTF/ACCOUNT/SERVER/CHARACTER/SavedVariables" and those errors you're having should go away.

My appologies mayhem.

edit: Bug fixed and addon updated. Please report further bugs here, thanks!
Last edited by Katae : 05-19-09 at 04:20 AM.
Report comment to moderator  
Reply With Quote
Unread 05-19-09, 01:46 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
I got this error after enabling auto restacking at guild bank.

Date: 2009-05-19 02:31:28
ID: 4
Error occured in: Global
Count: 1
Message: ..\AddOns\kRestack\kRestack.lua line 55:
attempt to index global 'AutoRestack' (a boolean value)
Debug:
[C]: ?
kRestack\kRestack.lua:55: SetCurrentGuildBankTab()
...AddOns\Blizzard_GuildBankUI\Blizzard_GuildBankUI.lua:498: GuildBankTab_OnClick()
[string "*:OnClick"]:5:
[string "*:OnClick"]:1

Sometimes I get the error and my bags stop working at the below poster stated, and sometimes they just stop working or won't let me switch tabs in the guild bank. I do run DockingStation, and I didn't do any sort of troubleshooting as it was pretty late. I'll do some tomorrow if need be. It seems to be fine if I just turn off the auto guild bank stack feature.
Report comment to moderator  
Reply With Quote
Unread 05-18-09, 10:30 AM  
Katae
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 208
File comments: 260
Uploads: 6
@pomr
I ran those addons and the bug seems to be present even without kRestack running. As far as I can tell this is isolated to DockingStation. edit: There were no cases where my keybindings stopped working.
Last edited by Katae : 05-18-09 at 10:45 AM.
Report comment to moderator  
Reply With Quote
Unread 05-18-09, 09:49 AM  
pomr
A Kobold Labourer
 
pomr's Avatar

Forum posts: 1
File comments: 46
Uploads: 0
For some reason when I installed this is disabled Broker Bags so I couldn't use it to open my backpack, and then with the newest release it stopped even the key bindings from opening my bags.

Further, it stopped working at all as far as the new /commands.

Neat addon, but I sort of need the other functionality. =) Maybe it is just me, but who knows.

EDIT: Curious -- I re-enabled Baud Bag (fan update) -- and the LDB launcher failures returned. Maybe the issue is with that and the way it interacts with your addon and with Docking Station/Broker Bags. Going to try a different bad addon and see what happens.
Last edited by pomr : 05-18-09 at 09:52 AM.
Report comment to moderator  
Reply With Quote
Unread 05-13-09, 06:31 PM  
Falter
A Deviate Faerie Dragon

Forum posts: 19
File comments: 35
Uploads: 0
Perfect!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: