CSORT - Sort items inside bags

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Agripa
a ghoul
a ghoul
Posts: 97
Joined: Tue Nov 23, 2004 10:16 pm

Post by Agripa » Fri Jul 07, 2006 4:56 pm

StackSize will tell me how many items can fit in a stack. I also know how many items are in a stack so for any given stack I know how many items can be added before it is full. So comparing every stack to every other stack before the actual sort and knowing when I can move items is not a problem. I just can not use FindItem for FindBankItem to automate it. My question is, what is the desired outcome?

What should happen when I leave an empty slot behind after a combine? Moving the empty slot to the beginning or end seems best but which one?

If I can increase the size of a stack should I do it even if the old stack will not be emptied?

achra
decaying skeleton
decaying skeleton
Posts: 5
Joined: Thu Jul 06, 2006 8:23 pm

Stacks

Post by achra » Fri Jul 07, 2006 6:58 pm

I don't think it matters where the empty slot ends up... That is, I wouldn't put any effort into that part of the sort, since I envision the macro arbitrarily combining as many stacks as possible - and then running the rest of your macro as written. Perhaps this would be more easily implemented as a separate macro, even... Run combine.mac to arbitrarily do the combines, and then CSORT.mac afterwards. (shrug)
I think that it should attempt to fill as many stacks as possible. I think most people would rather see 2 stacks of 20, and a stack of 12 than three stacks of 17 (or whatever).

Agripa
a ghoul
a ghoul
Posts: 97
Joined: Tue Nov 23, 2004 10:16 pm

Post by Agripa » Fri Jul 07, 2006 7:05 pm

Should be relatively easy to add and test. I will try to get to it this weekend.

achra
decaying skeleton
decaying skeleton
Posts: 5
Joined: Thu Jul 06, 2006 8:23 pm

Post by achra » Fri Jul 07, 2006 8:57 pm

Wow, thanks!

Doggone it, now to repay your generous effort I'm going to have to become a productive member of this scene.
:)

nyghteyes
orc pawn
orc pawn
Posts: 10
Joined: Thu Apr 27, 2006 6:49 pm

armor

Post by nyghteyes » Sat Jul 08, 2006 12:12 pm

I like this mac but was wondering if there anyway for this mac to sort by tradeskill ?

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Re: armor

Post by JimJohnson » Sat Jul 08, 2006 12:39 pm

nyghteyes wrote:I like this mac but was wondering if there anyway for this mac to sort by tradeskill ?
Wouldnt that be hard being alot of stuff is used by more then 1 ts?

nyghteyes
orc pawn
orc pawn
Posts: 10
Joined: Thu Apr 27, 2006 6:49 pm

was thinking more like

Post by nyghteyes » Mon Jul 10, 2006 6:09 pm

was thinking more like just sort by tradeskill part of tag and the stack option would be nice to get all combinable stuff together

xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: CSORT - Sort items inside bags

Post by xyilla » Mon May 19, 2025 2:36 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: CSORT - Sort items inside bags

Post by xyilla » Mon May 19, 2025 2:37 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: CSORT - Sort items inside bags

Post by xyilla » Mon May 19, 2025 2:38 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: CSORT - Sort items inside bags

Post by xyilla » Mon May 19, 2025 2:39 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: CSORT - Sort items inside bags

Post by xyilla » Mon May 19, 2025 2:41 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: CSORT - Sort items inside bags

Post by xyilla » Mon May 19, 2025 2:42 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: CSORT - Sort items inside bags

Post by xyilla » Mon May 19, 2025 2:43 am


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: CSORT - Sort items inside bags

Post by xyilla » Mon May 19, 2025 3:20 am