Download
(100 Kb)
Download
Updated: 11-28-15 04:01 PM
Updated:11-28-15 04:01 PM
Created:11-12-11 11:42 PM
Downloads:6,663
Favorites:5
MD5:
Baggotry -- a test harness for some item API stuff  Popular! (More than 5000 hits)
Version: 0.16
by: seebs [More]
Baggotry is mostly a test harness for LibBaggotry (which it embeds). LibBaggotry will be available seperately in the nearish future, but I'm still at the "does this interface even make sense?" phase.

What it's for:

/bag -S 1 -c collectible

^-- splits all collectibles into stacks of 1, if it can

/bag -S 10 -c material

^-- splits/merges all materials into stacks of 10

/bag -S 0 -c material

^-- merges all materials into the largest stacks it can

/bag -s -x -q common

^-- sums the value of all the trash items you currently hold

/bag sell:<:1

^-- lists everything with no sell price. (Note that :0 doesn't work, because items with no sell price do not have a sell price, which is different from 0.)

/bag rarity:epic

^-- lists all items with rarity of exactly epic (does not include relics)

/bag rarity:>=:uncommon

^-- lists all items with rarity of uncommon or higher

/bag stack:<:1

^-- lists all items which don't stack

Still working on a good way to express nil as opposed to 0/empty string. Note that the addon handles double-quotes and backslashes in the standard Unixy way:

/bag name:"roc orchid petals"

Can also check multiple inventories with -C; see LootSorter for a more serious effort to make this usable.
Several internal bits reworked, the most obvious external change is combining merge/split into a generic "stack". Also added rarity.

Added relational operator test code.

Added multi-character support.

(0.5 is just a bug fix release.)

0.6:
Argument processing cleanups.

0.7:
* Switch to LibAccounts in backend
* May temporarily forget about alt inventory until you've logged in on them again.
* Initial attempt at "move" functionality which isn't working very well.
* Explicit BSD license.

0.8:
* Various improvements, plus the conversion to LibEnflitrate backend.

0.9:
* Tooltips to show ownership across alts.

0.10:
* TOC updates.

0.11:
* TOC updates etc.

0.13:
* Event model and ToC updates
* Ownership tooltips removed -- they're now in the Alternia addon.

0.14:
* More event model stuff.

0.15:
* New versions of some internals.
* Can now handle "-s equip".
* Can handle "stats.resistAll>100" (subfields like stats now work)
* Improved prettiness of reporting output.

0.16:
* Possible performance warning workaround (in libbaggotry)
Optional Files (0)


Archived Files (14)
File Name
Version
Size
Author
Date
0.15
99kB
seebs
01-12-14 07:12 PM
0.14
95kB
seebs
07-12-13 07:51 PM
0.13
95kB
seebs
07-04-13 10:17 PM
0.11
92kB
seebs
11-03-12 01:45 AM
0.10
63kB
seebs
06-22-12 09:47 PM
0.9
70kB
seebs
03-23-12 07:52 PM
0.8
67kB
seebs
02-29-12 07:55 PM
0.7
34kB
seebs
12-12-11 01:35 AM
0.6
21kB
seebs
11-20-11 05:58 PM
0.5
20kB
seebs
11-20-11 04:26 AM
0.4
20kB
seebs
11-19-11 01:43 AM
0.3
17kB
seebs
11-13-11 03:26 PM
0.2
16kB
seebs
11-13-11 12:39 PM
0.1
14kB
seebs
11-12-11 11:42 PM


Post A Reply Comment Options
Unread 03-26-12, 01:39 AM  
seebs
Super Moderator
Riftui Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 31
Uploads: 36
It's totally possible that I screwed up the other -? options. Try category~=crafting. If that's it, I have to remember to add -c and -q and such back, I probably forgot to fix those.
seebs is offline Report comment to moderator  
Reply With Quote
Unread 03-25-12, 03:59 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
I tried

/bag -S 10 -c crafting

command, and it split Metamorphic Runes, Glass Beads and Plaques of the Mountaineer, instead of Twilight Bloom Roots, Roc Orchid Petals and Tempestflower Stems.

/bag -S 10 -c material

had the same result.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 02-29-12, 07:56 PM  
seebs
Super Moderator
Riftui Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 31
Uploads: 36
I think that's now spelled "-s inventory", because -i got hijacked to mean "include ..."
seebs is offline Report comment to moderator  
Reply With Quote
Unread 02-23-12, 01:49 AM  
seebs
Super Moderator
Riftui Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 31
Uploads: 36
I believe there already is one: "/bag -i ..."

The default I originally picked was "bank and inventory" since that's the most useful for listings.
seebs is offline Report comment to moderator  
Reply With Quote
Unread 02-01-12, 11:26 PM  
Algrim

Forum posts: 0
File comments: 2
Uploads: 0
Can you make a switch for only applying the sorting/splitting for bag items? With 1.7 patch, you can access your bank contents also. I just tried to split the collectibles, and it did also split all the artifacts in my bank too. X-)
Algrim is offline Report comment to moderator  
Reply With Quote
Unread 12-19-11, 07:55 AM  
algritz
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 12
Uploads: 1
Would it be possible to get a sorting option ?

/bag SO -sortType

possible sort type :

-a : alphabetically
-t : item type (armor, crafting material, essences, weapons, etc)
-s : soulbound status (BoA, BoE, BoP, BoU, nil)

This is something that I would really appreciate.
algritz is offline Report comment to moderator  
Reply With Quote
Unread 11-14-11, 10:56 PM  
seebs
Super Moderator
Riftui Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 31
Uploads: 36
Quote:
Originally Posted by DaemonSambe
Is there a reason i can't get it to load? Rift doesn't even recognize it as an existing addon...
1.6 only.
seebs is offline Report comment to moderator  
Reply With Quote
Unread 11-14-11, 04:53 PM  
DaemonSambe
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 30
Uploads: 1
Is there a reason i can't get it to load? Rift doesn't even recognize it as an existing addon...
DaemonSambe is offline Report comment to moderator  
Reply With Quote
Unread 11-13-11, 04:52 PM  
seebs
Super Moderator
Riftui Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 31
Uploads: 36
Actually, I might make a bag addon, but if I do it's going to be... uhm... Let's just say "experimental". Which is to say, it won't be based on a slot representation as we know it today. It'd basically look like a directory listing in "details" mode in OS X or Windows, with clickable headers to sort by. Many reasons for this, most of which come down to "I have never had one of these and I wonder whether it would be any use."
seebs is offline Report comment to moderator  
Reply With Quote
Unread 11-13-11, 04:18 PM  
Stumbles

Forum posts: 0
File comments: 2
Uploads: 0
Very nice Seebs. Sounds like you're enjoying yourself !!
Are you sure that along the way you don't want to make an all-in-one bag mod with a sort option? Pretty please
Stumbles is offline Report comment to moderator  
Reply With Quote
Unread 11-13-11, 03:33 PM  
seebs
Super Moderator
Riftui Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 31
Uploads: 36
Thanks.

Basically, what I'm hoping to build here is not the ACTUAL bag sorting addon, but rather, a set of tools that addon devs can use to quickly make bag sorting type things. The real fun is all in LibBaggotry, the command line tool is just there because, well, I sorta want it, and it's a way to get a feel for what it can do without having to learn your way around it enough to write code that uses it.

I do plan to have functionality later like "try to get all these items into the bank" or "try to get these items into this bag".
seebs is offline Report comment to moderator  
Reply With Quote
Unread 11-13-11, 01:14 PM  
Farius Kaupus
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 26
Uploads: 1
This looks promising when it comes to bag sorting. Awesome stuff.
Farius Kaupus is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: