Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
1.1
Date:
08-14-2009 04:03 AM
Size:
4.99 Kb
Downloads:
2,976
Favorites:
96
MD5:
Pictures
Click to enlarge
Compress incomplete stacks
Data Broker plugin shown using Bagnon
kRestack
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.
  Change Log - kRestack
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'
  Archived Versions - kRestack
File Name
Version
Size
Author
Date
1.0.9
5kB
Katae
08-10-2009 10:06 AM
1.0.7
5kB
Katae
06-16-2009 03:30 AM
1.0.6
5kB
Katae
06-11-2009 11:07 AM
1.0.5a
5kB
Katae
06-06-2009 03:28 PM
1.0.5
10kB
Katae
06-06-2009 09:04 AM
1.0.4
9kB
Katae
06-03-2009 01:17 AM
1.0.3
11kB
Katae
05-23-2009 05:36 PM
1.0.2a
11kB
Katae
05-22-2009 07:55 PM
1.0.2
11kB
Katae
05-22-2009 05:05 PM
1.0.1
4kB
Katae
05-19-2009 06:12 AM
1.0
3kB
Katae
05-18-2009 08:51 AM
  Comments - kRestack
Post A Reply Comment Options
Old 08-14-2009, 03:31 AM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 120
File comments: 117
Uploads: 5
Quote:
Originally posted by zaphon
I've found some weird behavior when you have multiple "special" bags. For example, I have a bank alt who only holds herbs. She has 4 herb bags on her, and than some more in the bank. Every time I open my bags, it goes crazy re-organizing stuff. Same thing for my gem storage, leather storage, etc. It get's weirded out by multiple "special" bags. :-)
That is indeed some odd behavior... I've put in some extra conditionals to make sure it's only moving items from normal bags and not special ones. Uploading in a bit with the fix.

Thanks!
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-14-2009, 01:57 AM  
zaphon
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
I've found some weird behavior when you have multiple "special" bags. For example, I have a bank alt who only holds herbs. She has 4 herb bags on her, and than some more in the bank. Every time I open my bags, it goes crazy re-organizing stuff. Same thing for my gem storage, leather storage, etc. It get's weirded out by multiple "special" bags. :-)
zaphon is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-09-2009, 10:50 AM  
MoonWitch
A Cliff Giant
Interface Author - Click to view interfaces

Forum posts: 70
File comments: 130
Uploads: 8
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.
MoonWitch is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-08-2009, 09:09 PM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 120
File comments: 117
Uploads: 5
Quote:
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.
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-08-2009, 08:42 PM  
MoonWitch
A Cliff Giant
Interface Author - Click to view interfaces

Forum posts: 70
File comments: 130
Uploads: 8
While this addons looks great, for me it doesn't restack at all. Everything works like a charm, but no restacking
MoonWitch is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-08-2009, 10:32 AM  
richerich
A Fallenroot Satyr
 
richerich's Avatar
Interface Author - Click to view interfaces

Forum posts: 28
File comments: 391
Uploads: 5
Quote:
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
richerich is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-06-2009, 07:03 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 670
File comments: 322
Uploads: 84
"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-2009 at 07:05 PM.
Tekkub is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-04-2009, 09:47 AM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 120
File comments: 117
Uploads: 5
@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-2009 at 01:06 PM.
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-03-2009, 02:26 AM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 492
Uploads: 1
Quote:
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.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-02-2009, 09: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
Frnit is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-19-2009, 11:20 AM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 492
Uploads: 1
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!
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-19-2009, 09:00 AM  
pomr
A Kobold Labourer

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

Thanks for the quick response!
pomr is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-19-2009, 05:37 AM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 120
File comments: 117
Uploads: 5
@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-2009 at 06:20 AM.
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-19-2009, 03:46 AM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 492
Uploads: 1
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.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-18-2009, 12:30 PM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 120
File comments: 117
Uploads: 5
@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-2009 at 12:45 PM.
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.