Download
(123 Kb)
Download
Updated: 03-08-14 07:26 PM
Pictures
File Info
Updated:03-08-14 07:26 PM
Created:01-05-12 05:15 PM
Downloads:16,540
Favorites:33
MD5:
xBagSort  Popular! (More than 5000 hits)
Version: 15.1
by: Xioden [More]
Simple tool to keep your inventory, bank, and guild bank nice and tidy. Various sorting methods available from simply moving items to fill empty slots, alphabetical order, to following the list of types on the auction house.

To setup simply choose where you want the xBagSort button to be for your inventory and/or bank. Click to expand it and get your bags in order!

Left-click the XBS button to expand the menu and configure sorting options.
Right-click the XBS button to sort based on the last used sorting options.

Full slash command list:

xBagSort UI:
  • /xbs ui - enables inventory sorting interface.
  • /xbs setup - brings up the intial UI location selection window.

xBagSort Slash Commands:
  • /xbs name - Sorts by name
  • /xbs type - Sorts by type
  • /xbs rarity - Sorts by item quality
  • /xbs ah - Sorts in the same order as the auction house
  • /xbs condense - Sorts inventory by removing empty slots and shifting items towards first bag
  • /xbs quantity - Sort inventory based on number of items in a stack.
  • Appending "bank" to the command will sort your bank instead of inventory:
  • "/xbs name bank" or "/xbs bank name"
  • This works for all sorting types.
  • Appending "bv#" to a command, where # is the number of the bank vault, will cause it to sort your bank vault (ie. "/xbs bv1 name" or "/xbs name bv5"):
  • "/xbs name bv2" or "/xbs bv5 name"
  • This works for all sorting types.
  • Appending "guild#" where # is vault 1-5 to the command will sort the appropriate guild bank vault:
  • "/xbs name guild1" or "/xbs guild5 name"
  • This works for all sorting types.
  • To ignore a bag from sorting, add "ignore#" for each bag where # is the number of the bag.
  • "ignore1 ignore3 ignore4" would ignore bags 1, 3 and 4.
  • This works for both inventory and bank sorting.
  • To adjust sorting order:
  • "invert" or "-i" will reverse the sorting order (Z-A).
  • "rear" or "-r" will place empty slots before items.
  • Appending "autosort" or "auto" will enable auto-sorting for inventory bags.
  • Auto-sorting works for all current sorting methods and occurs when bags are opened.
15.1
  • Condense sorting should no longer sort slowly.

15.0
  • Updated "auction house" sorting order.
  • "Item move failed" should no longer appear constantly while sorting.
  • "Sorting in progress" messages in chat now shows the total of items to move ("Sorting in Progress: 50 of 100 items moved").
  • Various performance improvements.

14.3
  • Fixed an error when sorting bank vaults.

14.2
  • Bank sorting with "empty first" placement should no longer cause an error.
  • Condense sort method combined with "empty first" placement will no longer cause items to keep reversing order.

14.1
  • Fixed main bank vault not sorting unless all vaults are selected.
  • Bag ignoring slash commands changed from "ignore#" to "ignore##" where ## = 01, 02, 03, etc. rather than just 1, 2, 3.

14
  • UI Added for bank vault sorting (this may be horribly broken, I do not have any extra vaults to actually test this).
  • Bank lock button will now persist between sessions.
  • Various performance improvements.

13.3
  • Sorting should now be faster overall.
  • Moving items during sorting or adding additional items to bag/bank will no longer cause 'Code 1' errors and will continue to sort with additional items taken into account.
  • Fixed error when right-clicking XBS bank button.

13.2
  • Added basic functionality for sorting bank vaults.
  • Appending "bv#" to a command, where # is the number of the bank vault, will cause it to sort your bank vault (ie. "/xbs bv1 name" or "/xbs name bv5")
  • Inventory sorting when auto sort is disabled should no longer cause a run-time error.
  • Sorting by rarity should now take transcendent rarity items into account.

13.1
  • Note to self: Don't change addon description and break the addon before uploading.

13
  • Right-clicking the XBS button on inventory or bank windows will now sort them based on last used settings.
  • Inventory bags should no longer occasionally not sort when being opened.

12.1
  • Bank auto sort will auto sort inventory bags first (if inventory auto sorting is also enabled).
  • Opening the bank will no longer cause inventory bags to be sorted with bank auto sort options.
  • Collectibles should sort to the proper position with auction house style sorting.

12
  • Improvements to sorting functions which should result in faster sorting.
  • Various items had a talking to. They will now go to their proper places when using "Auction house" sorting.
  • Bank bags 6, 7, 8, 9 check boxes will no longer apply to bag 5.
  • Inventory auto sort check box will no longer show as unchecked at loading if bank auto sorting is disabled.
  • Text for "Sort Delay" is now "Sort Speed". (Cosmetic change).

11.1
  • Initial setup for new characters should no longer appear twice.
  • "Auction House" sorting should work properly again.

11
  • Addon should once again work!
  • Added Support for inventory bag slots 6 & 7.
  • Updated Auction house order sorting to include new categories.
  • "Sort Completed" should no longer appear while using auto sort.
  • Note: Additional bank vaults not officially supported (read: Author currently only has one bank vault and can't test it).

10.1
  • Bank auto sort setting should no longer sort inventory bags.
  • Various debug texts removed.

10.0
  • Bank UI added.
  • Setup window will popup again after installing this version.

9.0
  • Added additional sorting method (Quantity).
  • Fixed text and button alignment issues.
  • "Lock" button should now properly show as unlocked after manually pressing the XBS button.
  • Notice on Performance watchdog: This addon does use a fair amount of resources while sorting. It is recommended to either increase sort delay, or ignore performance notices for this addon.

8.0
  • Various inventory UI features and improvements.
  • Inventory UI is no longer locked below/left of your inventory.
  • New user setup: You will be prompted where to place the UI the first time you use xBagSort.
  • "Lock" feature added.
  • You can now lock the sorting UI and it will be open when you open your inventory.
  • Various fixes to prevent conflicts with other addons.

7.3
  • UI button will no longer be visible without inventory being open.

7.2
  • Guild vault 2-5 sorting should again work properly.
  • "/xbs ui" will now correctly disable the ui.

7.1
  • Added documentation to inventory UI.
  • Added help button to inventory UI.
  • New close button for inventory UI.
  • Inventory UI no longer extends outside the UI window.
  • Guild bank sorting no longer requires items in the first 2 vault slots to check for vault permissions.
  • Guild bank sorting will no longer toggle UI settings.

7.0
  • User interface added for inventory sorting.
  • "/xbs ui" will enable the new UI.
  • Clicking the "XBS" button below the first inventory bag will bring up the sorting UI.
  • Auto sort options will no longer persist between sessions after being turned off.

6.2
  • Various event items without a type will now be sorted last.
  • Fixed an issue that could cause sorting to stop prematurely while reporting it was completed.

6.1
  • Auction house ordered sorting added.
  • "/xbs ah" will sort following the category order in the AH list.
  • Stacks of items will now sort lowest->highest as to always use the smallest stack first.
  • Guild bank sorting should once again work correctly.

6.0
  • Auto-Sorting implemented for inventory bags.
  • Appending "autosort" or "auto" will cause bags to sort automatically when opened.
  • Auto-sorting works for all available inventory sorting commands.
  • Appending "show" will display the current method being used by auto-sorting.
  • Appending "off" will disable auto-sorting.
  • Sorting order commands implemented.
  • Appending "invert" or "-i" will cause the sorting to reverse order (Z-A).
  • Appending "rear" or "-r" will put empty slots before items.
  • Sorting will now begin immediately rather than having a delay before the first iteration.

5.0
  • Bag ignoring implemented for inventory and bank sorting.
  • Appending "ignore#" where # is the number of the bag you do not want sorted will not sort that bag.
  • "/xbs type ignore2 ignore3 ignore4" will sort inventory bags 1 and 5 only.
  • Command list is no longer displayed in the chat window, "/xbs help" will bring up a formatted list of commands.
  • Empty backpack slots or bank slots will no longer cause errors if you own them but do not have an actual bag in them.
  • Multiple stacks of the same item should sort properly rather than get stuck.
  • Don't forget! Bags need love too, don't ignore them too much!

4.3
  • Throttling changes and improvements.
  • Appending "throttle" to a command will enable an extra verification step to confirm a sorting iteration is completed.
  • Appending "-#" where # is 1-9 will speed up sorting iterations by 1-9 tenths of a second.
  • Appending "+#" where # is 1-9 will slow down sorting iterations by 1-9 tenths of a second.
  • Sorting iterations will adjust themselves slightly if the game is unable to keep up with the sorting.
  • Guild bank sorting should no longer lock up the client.

4.2
  • Additional throttling and limiting changes.
  • The number of items sorted per iteration has been capped at 75.
  • Rarity should once again sort correctly.

4.1
  • Additional throttling added when handling large numbers of items to prevent infinite looping.
  • "debug" command added (for debugging purposes when necessary).

4.0
  • Guild bank sorting and throttle modifier implemented.
  • Appending "guild#" to a command, where # is the number of the vault, will cause it to sort your guild bank (ie. "/xbs guild1 name" or "/xbs name guild5")
  • Guild bank sorting checks permissions prior to sorting and should not be counting against daily limits.
  • Appending "-#" where # is 1-9 will cause the throttling to decrease by 1-9 tenths of a second. Speeds above -5 are not recommended.

3.0
  • Bank sorting implemented.
  • Appending "bank" to a command will cause it to sort your bank rather than inventory (ie. "/xbs bank name" or "/xbs name bank")
  • "Condense" sorting now uses the regular sorting loop rather than the original one. (Meaning the last empty slot bug is fixed for reals this time!)
  • Added note to description to type /xbs for instructions. (Altira)
  • Some unused code removed from files.

2.1
  • Sorting should now take fewer iterations to complete.
  • Similar items will now sort by stack size (ex. Soulhide (50), Soulhide (30), Soulhide (15))
  • Added /xbs abort to break out of sorting.
  • Sorting will automatically abort if to many iterations occur.
  • Multiple items should now sort correctly rather than loop infinitely. (Protonova)
  • Empty spaces should now be filled when sorting by methods other than condense. (Protonova)
  • Performance fix: Sorting list is no longer generated when not actually sorting. (algritz)

2.0
  • Added additional sorting methods (Name, type and rarity).
  • Sorting now takes place using an update hook rather than trying to process all at once.
  • Fixed an issue where condensing would occasionally leave the last slot in a bag empty.

1.0
  • Initial release
Archived Files (35)
File Name
Version
Size
Author
Date
15.0
123kB
Xioden
03-07-14 06:23 PM
14.3
123kB
Xioden
02-13-14 04:50 AM
14.2
123kB
Xioden
01-23-14 02:31 AM
14.1
123kB
Xioden
01-22-14 02:39 PM
14
123kB
Xioden
01-21-14 03:13 PM
13.3
122kB
Xioden
01-04-14 04:18 AM
13.2
122kB
Xioden
12-29-13 08:33 PM
13.1
121kB
Xioden
12-28-13 07:09 PM
13
121kB
Xioden
12-28-13 01:44 AM
12.1
121kB
Xioden
12-07-13 01:42 AM
12
121kB
Xioden
11-29-13 10:01 AM
11.1
121kB
Xioden
11-15-13 12:16 AM
11
121kB
Xioden
11-13-13 12:11 AM
10.1
121kB
Xioden
08-21-12 04:32 PM
10.0
121kB
Xioden
08-18-12 03:58 AM
10.0
121kB
Xioden
08-18-12 03:56 AM
9.0
109kB
Xioden
07-01-12 04:32 PM
8.0
109kB
Xioden
03-10-12 10:57 PM
7.3
49kB
Xioden
03-08-12 12:23 PM
7.3
49kB
Xioden
03-06-12 11:48 AM
7.2
49kB
Xioden
03-05-12 09:03 PM
7.1
49kB
Xioden
03-05-12 03:47 PM
7.0
33kB
Xioden
03-05-12 04:07 AM
6.2
8kB
Xioden
03-03-12 05:55 PM
6.1
8kB
Xioden
02-21-12 04:53 PM
6.0
7kB
Xioden
02-20-12 04:45 PM
5.0
6kB
Xioden
02-08-12 04:33 PM
4.3
5kB
Xioden
02-05-12 06:13 PM
4.2
5kB
Xioden
02-05-12 02:06 AM
4.1
4kB
Xioden
02-04-12 12:14 PM
4.0
4kB
Xioden
01-27-12 06:29 PM
3.0
3kB
Xioden
01-16-12 08:42 PM
2.1
4kB
Xioden
01-10-12 06:46 PM
2.0
3kB
Xioden
01-09-12 09:44 PM
1.0
3kB
Xioden
01-05-12 06:24 PM


Post A Reply Comment Options
Unread 01-06-12, 01:56 PM  
algritz
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 12
Uploads: 1
Parameters for sorting

Feature request :

- Sorting by Type
- Sorting by Name
- Sorting by Soulbound Type
- Sorting by stack size

- Any combination of the above

Thanks !
algritz is offline Report comment to moderator  
Reply With Quote
Unread 01-10-12, 06:37 AM  
Protonova
 
Protonova's Avatar

Forum posts: 0
File comments: 33
Uploads: 0
Awesome work with the 2.0 release. I know you're probably already working on this, but when do you expect to be done with bank/guild bank sorting as well? Either way tyvm for such a useful addon!

Oh 1 more thing, sometimes when the bags aren't condensed and you sort by type it won't actually put the items side by side. They may remain scattered around the bag but indeed from top to bottom sorted by type.

Edit:
Found an error, if there are 2+ items with the same name in this case Satyr Snowman and Holiday Snowman, it will infinitely loop trying to sort both even though they're in different slots. It just keeps saying "1 items moved." The snowman goes from right to left constantly. Same with the other type of snowman.

__________________
WoWInterface Profile: Fiercy
Github Profile: Protonova
Last edited by Protonova : 01-10-12 at 07:30 AM.
Protonova is offline Report comment to moderator  
Reply With Quote
Unread 01-10-12, 08:31 AM  
algritz
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 12
Uploads: 1
Thanks for this update!

Edit :
I've played with it a little and it seems to be causing some performance issue. I think this is related with the "on update" handler. Maybe Throttle the "refresh rate" (if that is possible)?
Last edited by algritz : 01-10-12 at 01:12 PM.
algritz is offline Report comment to moderator  
Reply With Quote
Unread 01-10-12, 05:34 PM  
Xioden
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 1
Quote:
Originally Posted by Protonova
Awesome work with the 2.0 release. I know you're probably already working on this, but when do you expect to be done with bank/guild bank sorting as well? Either way tyvm for such a useful addon!

Oh 1 more thing, sometimes when the bags aren't condensed and you sort by type it won't actually put the items side by side. They may remain scattered around the bag but indeed from top to bottom sorted by type.

Edit:
Found an error, if there are 2+ items with the same name in this case Satyr Snowman and Holiday Snowman, it will infinitely loop trying to sort both even though they're in different slots. It just keeps saying "1 items moved." The snowman goes from right to left constantly. Same with the other type of snowman.

Sorting with multiple items should be fixed with 2.1, I was making things overcomplicated and doing some extra checks that didn't need to be there in the first place (which screwed everything up since I was telling it not to move things that actually needed to be moved). As a side effect of this, the sorting seems to be taking less iterations.

Multiples of the same item (leather for example) with different quantities will also sort with highest first automatically (ex. 50, 50, 20).

Bank sorting is definitely planned. Guild bank I'm actually not sure if it's possible currently, but if it is it'll be doable I'll definitely implement it.
Xioden is offline Report comment to moderator  
Reply With Quote
Unread 01-10-12, 05:36 PM  
Xioden
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 1
Quote:
Originally Posted by algritz
Thanks for this update!

Edit :
I've played with it a little and it seems to be causing some performance issue. I think this is related with the "on update" handler. Maybe Throttle the "refresh rate" (if that is possible)?
Ah yea thanks! It is throttled, I just had the sort list being generated outside the throttling, so it was generating the sorting list every frame, but only actually doing anything with it every 2 seconds.
Xioden is offline Report comment to moderator  
Reply With Quote
Unread 01-10-12, 06:13 PM  
algritz
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 12
Uploads: 1
Quote:
Originally Posted by Xioden
Quote:
Originally Posted by algritz
Thanks for this update!

Edit :
I've played with it a little and it seems to be causing some performance issue. I think this is related with the "on update" handler. Maybe Throttle the "refresh rate" (if that is possible)?
Ah yea thanks! It is throttled, I just had the sort list being generated outside the throttling, so it was generating the sorting list every frame, but only actually doing anything with it every 2 seconds.
That might explain why when it was calculating the list my frame rate dropped 20 fps :-(
algritz is offline Report comment to moderator  
Reply With Quote
Unread 01-10-12, 06:47 PM  
Xioden
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 1
Quote:
Originally Posted by algritz
Quote:
Originally Posted by Xioden
Quote:
Originally Posted by algritz
Thanks for this update!

Edit :
I've played with it a little and it seems to be causing some performance issue. I think this is related with the "on update" handler. Maybe Throttle the "refresh rate" (if that is possible)?
Ah yea thanks! It is throttled, I just had the sort list being generated outside the throttling, so it was generating the sorting list every frame, but only actually doing anything with it every 2 seconds.
That might explain why when it was calculating the list my frame rate dropped 20 fps :-(
It's fixed for 2.1 which will be available as soon as the file is approved.
Xioden is offline Report comment to moderator  
Reply With Quote
Unread 01-11-12, 06:47 AM  
mad.styles.dw

Forum posts: 0
File comments: 7
Uploads: 0
Bank Slots

Is it possible to sort bank vaults too. From main bank vault to all bags in the bank. Great add on though very helpful thx great work!
Last edited by mad.styles.dw : 01-11-12 at 06:49 AM.
mad.styles.dw is offline Report comment to moderator  
Reply With Quote
Unread 01-11-12, 07:43 AM  
algritz
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 12
Uploads: 1
Quote:
Originally Posted by Xioden
Quote:
Originally Posted by algritz
Quote:
Originally Posted by Xioden
Quote:
Originally Posted by algritz
Thanks for this update!

Edit :
I've played with it a little and it seems to be causing some performance issue. I think this is related with the "on update" handler. Maybe Throttle the "refresh rate" (if that is possible)?
Ah yea thanks! It is throttled, I just had the sort list being generated outside the throttling, so it was generating the sorting list every frame, but only actually doing anything with it every 2 seconds.
That might explain why when it was calculating the list my frame rate dropped 20 fps :-(
It's fixed for 2.1 which will be available as soon as the file is approved.
Thanks for your work, I'll be trying it later today.

Edit: Tried it, didn't seem to cause the performance issue anymore. Thanks !

Next up : Bank sorting !
Last edited by algritz : 01-12-12 at 06:14 AM.
algritz is offline Report comment to moderator  
Reply With Quote
Unread 01-12-12, 01:12 PM  
Protonova
 
Protonova's Avatar

Forum posts: 0
File comments: 33
Uploads: 0
Great work on the latest version! No problem on my end. Just waiting for bank sorting :3
__________________
WoWInterface Profile: Fiercy
Github Profile: Protonova
Protonova is offline Report comment to moderator  
Reply With Quote
Unread 01-15-12, 06:05 PM  
Altira

Forum posts: 0
File comments: 1
Uploads: 0
Just a small request. In the description can you add the bag commands? I modified mine obviously but I think others might like this, especially when they first use it.

Such as:

Description = "Tool for automatically sorting your inventory\n/xbs name - Sorts by name\n/xbs type - Sorts by type\n/xbs rarity - Sorts by item quality\n/xbagsort - Sorts inventory by removing empty slots and shifting items towards first"

(The \n is the XML command to add a new line.)
Last edited by Altira : 01-15-12 at 06:10 PM.
Altira is offline Report comment to moderator  
Reply With Quote
Unread 01-15-12, 09:35 PM  
Xioden
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 1
Quote:
Originally Posted by Protonova
Great work on the latest version! No problem on my end. Just waiting for bank sorting :3
I got side-tracked working on some item-comparison stuff. Personal bank stuff will be a day or so, for guild bank might be a little longer, I'm not sure how the API stuff with that works as far as permissions and stuff go.
Xioden is offline Report comment to moderator  
Reply With Quote
Unread 01-15-12, 09:37 PM  
Xioden
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 1
Quote:
Originally Posted by Altira
Just a small request. In the description can you add the bag commands? I modified mine obviously but I think others might like this, especially when they first use it.

Such as:

Description = "Tool for automatically sorting your inventory\n/xbs name - Sorts by name\n/xbs type - Sorts by type\n/xbs rarity - Sorts by item quality\n/xbagsort - Sorts inventory by removing empty slots and shifting items towards first"

(The \n is the XML command to add a new line.)
/xbs without any arguments will show a list of commands already, but yes I can add something about it to the desciption.
Xioden is offline Report comment to moderator  
Reply With Quote
Unread 01-17-12, 04:19 AM  
Rustycage
Claw of Regulos
 
Rustycage's Avatar

Forum posts: 20
File comments: 150
Uploads: 0
Lightbulb Love this addon.

This addon keeps things just the way I want them to an extent.

I was wondering though, is it possible to make it save how I organize things, like I can save a profile for equipment, then a profile for trash etc, and then type a command to save it?

I've been making commands into macros, which really helps. But I've just wanted to have total control over how they are organized. And have them save that, so when any new item/equipment/trash gets looted, it automatically goes to the location I saved that type to. See what I'm saying?

Thanks for a great addon.
Rustycage is offline Report comment to moderator  
Reply With Quote
Unread 01-17-12, 07:18 AM  
algritz
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 12
Uploads: 1
great work once more, can't wait to sort my bank content !
algritz is offline Report comment to moderator  
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.