• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

MQ2SuperStacker (Five MILLION stackable items in one stack)

TeachersPet

Well-known member
Joined
Jul 27, 2005
RedCents
71¢
MQ2SuperStacker essentially allows you to stack up to five million items instead of the regular 20. It updates your stack limits on every Pulse (anytime something happens in EQ essentially) so you should be fine macroing.

Read the Plugin Comments for more information regarding inspiration and proper useage of the plugin.

Updated 7/27/06
- You no longer have to /setstacklimits, I just put the calls in OnPulse
- Also attatched a new DLL

Updated 11/2/06
- Fixed bug where some items wouldn't change their StackSize causing crashing issues

Updated 1/04/07
- Updated source to work without ItemInfo->Stackable (Thought I did a LONG time ago). DLL is also updated.
- Also fixed it to work for items that have a stacksize naturally less than 20.

Updated 1/17/07
- Updated DLL
Rich (BB code):
/*
	MQ2SuperStacker
	By: TeachersPet
	
	Credit to WickedMofo of MMOBugs for initially creating a similar
	plugin and giving me the idea.  Other than that though, this is an
	original work and any claims otherwise are false.  At best I blatantly
	stole code from MacroQuest2's {Me.FreeInventory} TLO.

	This Plugin was created specifically for RedGuides users only

	P.S. So help me god TurkReno if you jack so much as a line of my code, I'll 
	have my boot so fucking far up your ass it will take two away teams and a 
	brilliant modification of the Warp Drive by Geordi LaForge to unwedge it.
*/

#include "../MQ2Plugin.h"

PreSetup("MQ2SuperStacker");

VOID SetStackLimits() {
	for(DWORD slot = 22; slot < 30; slot++) {
		if(PCONTENTS pItem = GetCharInfo2()->InventoryArray[slot]) {
			if(pItem->Item->Type == ITEMTYPE_PACK) {
				int i = 0;
				while(i < pItem->Item->Slots) {
					if(pItem->Contents) {
						if(pItem->Contents->Item->StackSize > 1)
							pItem->Contents->Item->StackSize = 5000000;
					}
					i++;
				}
			} else {
				if(pItem) {
					if(pItem->Item->StackSize > 1)
						pItem->Item->StackSize = 5000000;
				}
			}
		}
	}
}

VOID CursorStackLimits() {
	PCONTENTS pCursor = GetCharInfo2()->Cursor;
	if(pCursor) {
		if((pCursor->Item->StackSize > 1) && (pCursor->Item->StackSize != 5000000)) {
			pCursor->Item->StackSize = 5000000;
		}
	}
}

PLUGIN_API VOID OnPulse(VOID) {
	if(gGameState == GAMESTATE_INGAME) {
		CursorStackLimits();
		SetStackLimits();
	}
}
 
Last edited:
Curious what happens when you log off with a stack of 100k and happen to log back in with or without the plugin loaded.

I understand intention is to use when tradeskilling but what if LD or other even causes a camp or crash. Assuming it would unstack everything back to what eq allows, will they just drop to the ground?

If anyone tested pls post.

Otherwise rock on TP this will be a new favorite in my book I'm sure.



1 step further is there a way to stack non-stackables?
.......I....hate...mistletoe cutting sickles.
 
TeachersPet was running around PoK handing people stacks of 1k, so I can assume the plugin is not required to keep the stacks.
 
Woot! This might make me consider returning to finish smithing (...a big ARGH to all those ingredients in mistletoe cutting sickle) Thanks!

Now if only unstackable items could be made to stack....
 
If thats the cast I dont see why sony would nerf it, I bet they just implicate it into the game and increase the stack size on alot of items. maybe not 5 mil lol but a more reasonable number. Insterad of 20 do the 100 or 1k deal.

Could be just wishful thinking.

Would a DLL be allowed TP ?
 
This has caused me to CTD a few time use with caution when stacking and unstacking items. plugin has to be on all the time. also cannot continue to combine items from large stacks. just tells me I dont have any.




Think i just got my warning, 1k components gones after CTD
 
Last edited:
Wouldn't this be semi-dangerous? I mean all of the stacks are sent up to the server. Serverside, implementing a check that looked to see if the client was reporting stacks > 20 would seem quite simple to implement. I hope I'm wrong. This plugin would so completely rock for doing tradeskills.
 
If it is anything like the mmobugs version.. after certain crashes all your stacks revert to 20... which means you lose a ton of items.

I had a crash where I had velium pieces stacked to like 1000 and after the crash I had only one stack of 20.

I would be careful if I were you.
 
this one is much more stable, You can even drop big stacks on the ground and have them stay intact.
 
cant seem to get it to work , trying to stack arrows . any help please ?
I loaded the plugin and did stack limit to 1000 . cant get past 100
 
I don't know what's causing the crashing errors. It seems to only happen for certain people. I was testing it all last night putting items into unchanged stacks and received no crashes. I'll look into it some more though.

Also, DW70, I had a stack of 15,000 grapes last night so I'm pretty sure it's not limited to 1k.

To all with problems,

Are you using that particular DLL when you're crashing or are you using one you compiled yourself?
 
Tested again , works fine . only had trouble with other player made arrows . Thank you for a great plugin .
as for crashing , never happened to me .
 
would there be any way to stack non stackable items using this? recall awhile back no drops being xfered via bag in bag in bag of some sort. (semi new to MQ still so be nice!)
 
Here is the DEFINE :

Rich (BB code):
.text:005EDC30 EQ_Item__IsStackable
 
Or I could just Item->Stackable = 1 :o

I haven't tried that though, I'll look into it.
 
Anyone get a " This Merchant is currently sold out of this item" msg? or similar cant remember exact words. Once I recived that msg I couldnt buy anything from any Merchants, but once I zoned and came back they would let me buy again. This was after purchasing 600 of the same item.
 
I'm still curious as to anyones thoughts on the safety of this plugin. It seems anything that sends data back to the servers screaming "I'm cheating!" is a dangerous thing.
 
I don't believe it sends any red flags back to the server. However, if you have a GM looking at your inventory and seeing 5,000 bone chips in one stack, that might get a little bit iffy.
 
It has to send back stack counts to the server, I mean the server is tracking your inventory in near real time. The server clearly has to know how many items you have in a stack. You'd think once this comes to light, it'd be a simple matter to implement a server side check for stacks > 20 and do the old insta ban + form email like they did for some other easily catachable cheats (GM commands, hehe).
 
Arrows are now stacked at 100 so 20 is definitely not the limit. Keeping items to 100 in a stack should be safe.
 
Well playing devlis advocate here, but the server / client clearly has to know certain items (ie: those arrows) have a stack limit of X. So they just have the server side check cross reference the stack amount being reported vs the stack limit set for the item. Bang, your still dead. I wouldn't think it's really any safer. I'd just like to say though, I damn sure wish it was. This would probably be my favorite hack of all time! Props to you TP for coming up with it. Red cent incoming just for thinking of this! :D

My guess is they havent' added any checks for this yet. In fact it might even take a server downtime to do it. So abuse the hell of out it while you can.
 
TeachersPet said:
Rich (BB code):
 	P.S. So help me god TurkReno if you jack so much as a line of my code, I'll 
	have my boot so fucking far up your ass it will take two away teams and a 
	brilliant modification of the Warp Drive by Geordi LaForge to unwedge it.
*/

Brilliant!
 
When pulling from a large stack without the plugin running it only takes them 20 at a time. There is a hole there because when tradeskilling after using 20 of say 300, the system nolonger recognizes that you have anything left to combine eventhough the items in the combine window still show up green(ready to combine). I ended up having to unstack them all as I was using them instead of pulling from the large stack 1 after another.

Anyone else having this issue and found a way around it lemme know pls.

This was with previous version...mybad on posting before testing updated version.
 
Last edited:
So I'm curious, if you did /eqplayersupdate with a stack of more than 20 or 100 for ranged crap, how would it show up?
 
Hotter said:
So I'm curious, if you did /eqplayersupdate with a stack of more than 20 or 100 for ranged crap, how would it show up?

I know that on Magelo it will show whatever you have stacked, unless you modify it manually, have tested it. Not sure about the eqplayersupdate, since I block it.
 
Czarman said:
I know that on Magelo it will show whatever you have stacked, unless you modify it manually, have tested it. Not sure about the eqplayersupdate, since I block it.

If it's obvious and I missed it, flame on, but how do you block eqplayersupdate? I'm using this stacker for foraging, the TSing and I definitely don't want this information passed upstream inadvertently. Even if equpdate is only a possibility, I'd prefer to block it as a matter of principle.
 
If you want to be completely anon, you can also log into your station account via the EQ Website and turn it off there.
 
nyghteyes said:
When pulling from a large stack without the plugin running it only takes them 20 at a time. There is a hole there because when tradeskilling after using 20 of say 300, the system nolonger recognizes that you have anything left to combine eventhough the items in the combine window still show up green(ready to combine). I ended up having to unstack them all as I was using them instead of pulling from the large stack 1 after another.

Anyone else having this issue and found a way around it lemme know pls.

This was with previous version...mybad on posting before testing updated version.

Same problem. Bought two stacks each of two ingredients from the vendor. Manually combined them into two 40-count stacks. Stopped at 20 as you said. Bought another stack each, again combined into two big stacks, then /faded. Lost the extras in each stack!

Will experiment some more.
 
Definitely need to unstack before performing TS combines. This time, I had 80 items in two stacks of 40 (recipe uses two at a time). As expected, the combines stopped even though I had items left. Experimenting, I tried to move the remaining portion of the stack to another bag....crash to server select.

It appears the combine window is not reading the actual value or is maxing it at 20. As for the crash, I suspect the quantity counter went negative and I moved a stack with negative count. Nothing emperical, just a gut feeling.
 
MQ2SuperStacker (Five MILLION stackable items in one stack)

Users who are viewing this thread

Back
Top
Cart