• 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

MQ2CGank

cronic

Member
Joined
Apr 8, 2005
RedCents
Use this in conjunction with /itemtarget to pick up a groundspawn from anywhere. Attached is a compiled version. Have fun.

Instructions:
- Target a ground spawn with /itemtarget.
- Type '/gank'.

Rich (BB code):
// cronic

#include "../MQ2Plugin.h"

#ifdef PKT_UPDATE_POSITION
#undef PKT_UPDATE_POSITION
#endif

#define PKT_UPDATE_POSITION  0x2B94
#define PKT_GRAB_ITEM        0x3CB2

PreSetup("MQ2CGank");

VOID GankCmd(PSPAWNINFO pChar, PCHAR szLine)
{
	// check for target
	if (!pTarget || !pGroundTarget) return;
	
	// acquire item
	PGROUNDITEM pItem = (PGROUNDITEM)pGroundTarget;

	// setup move packet
	struct _MOVEPKT {
	/*0000*/ unsigned short SpawnID;
	/*0002*/ unsigned short TimeStamp;
	/*0004*/ int Heading:12;
	/*0004*/ int padding1_0004:10;
	/*0004*/ int padding2_0004:10;
	/*0008*/ float DeltaY;
	/*0012*/ float X;
	/*0016*/ float DeltaX;
	/*0020*/ int DeltaHeading:10;
	/*0020*/ int Animation:10;
	/*0020*/ int padding0020:12;
	/*0024*/ float Z;
	/*0028*/ float Y;
	/*0032*/ float DeltaZ;
	} P;

	// init move packet
	ZeroMemory(&P, sizeof(P));
	P.SpawnID = (unsigned short)pChar->SpawnID;
	P.Heading = (unsigned int)(pChar->Heading * 4);

	// jump to
	P.Z = pItem->Z;
	P.Y = pItem->Y;
	P.X = pItem->X;
	SendEQMessage(PKT_UPDATE_POSITION, &P, sizeof(P));

	// gank
	struct _GRABITEMPKT {
		unsigned long DropID;
		unsigned long SpawnID;
	} GP;

	GP.DropID = pItem->DropID;
	GP.SpawnID = pChar->SpawnID;
	SendEQMessage(PKT_GRAB_ITEM, &GP, sizeof(GP));

	// jump back
	P.Z = pChar->Z;
	P.Y = pChar->Y;
	P.X = pChar->X;
	SendEQMessage(PKT_UPDATE_POSITION, &P, sizeof(P));

	// clear target
	pTarget = 0;
	pGroundTarget = 0;
}

PLUGIN_API VOID InitializePlugin(VOID)
{
	AddCommand("/gank", GankCmd);
}

PLUGIN_API VOID ShutdownPlugin(VOID)
{
	RemoveCommand("/gank");
}
 
Last edited:
Farming pieces for quests come into mind. For alternate access to qvic and txevu you have to collect various ground spawns in zones. If you look up the quest info on allakhazam you may be able to find ground spawn loc's. Then you can use this without leaving the zone in or clearing to the ground spawn.
 
Any use for this??

I CAN THINK OF A MILLION!! Sweet plugin man, EXACTLY what i needed. I hate to give away any of my tricks i use, so i wont. (hehe) Ill just say that doing what i do, this is one of the most useful plugins I will have to pleasure of dealing with. Any chance we can get header file for this in case it goes down with the patch??


Thanks
 
smokinghot said:
Any use for this??

I CAN THINK OF A MILLION!! Sweet plugin man, EXACTLY what i needed. I hate to give away any of my tricks i use, so i wont. (hehe) Ill just say that doing what i do, this is one of the most useful plugins I will have to pleasure of dealing with. Any chance we can get header file for this in case it goes down with the patch??


Thanks

why not share your tricks? teach us jedi! why not give a little back :)
 
your learnin they like to use others tricks but not share, and what is shared doesn't work anymore lol
 
imo maddog. they basiclly hand out alot of shit to this site. they work hard to keep the people happy here. what happends when something they are finding to be a nice exploit goes public? it gets nerfed. so they do it for them selfs. tell they feel they had enough. then they release it. a week later guess what? it gets nerfed because to many people abuse it? thats the way hacking works. We will take cronic for example. his plugins. esp Xfer and AdvGhost. you think he released those as soon as he got/wrote the code? i would guess no. unless he does not play eq. does this make cronic an ass? hell no much <3 for cronic. but we will take AdvGhost (z axis hack) he release his version and maybe 3-4 days later. there was emergancy patches in tacvi/txevu/riwwi/rs/rcod. maybe a week or so later. it was damn near complety nerfed. and watched so hard that severel hundred people got banned. and probally thousands of suspended accounts.
but any body that plays eq that writes code to exploit ,iam sure get there share from it before they release it.
 
kait said:
Farming pieces for quests come into mind. For alternate access to qvic and txevu you have to collect various ground spawns in zones. If you look up the quest info on allakhazam you may be able to find ground spawn loc's. Then you can use this without leaving the zone in or clearing to the ground spawn.

Yeah I thought of those, except, they weren't relevant to me nor are the 1.5 ground spawns, so I just wanted to see if there was some cool ground spawns items that this could be used on that I just hadn't recalled. Any nice quests that have ground spawns that are difficult to reach or something of that nature?
 
maddog said:
your learnin they like to use others tricks but not share, and what is shared doesn't work anymore lol
my thought exactly.

Well,

i cant get this plugin to work on my compile, however, i am using the newest MQ2 open source files, which have had a few issues. I have got everything to work. but this.... :( Im not too sure many people are using my compile yet, as it was just made sticky, but I would like to know who has got this to work?? And, if u know, what open source files are u using?


THanks
 
Post a list of all of the compile errors for this and I'll see what's up.

cronic
 
works for me I am using the current open source file from MQ Devs and made the only standard chages for Zone/warp etc.
 
compiled for me /shrug
Rich (BB code):
--------------------Configuration: MQ2CGank - Win32 Release--------------------
Compiling...
MQ2CGank.cpp
EQLIB_IMPORTS
Linking...
   Creating library ../Release/MQ2CGank.lib and object ../Release/MQ2CGank.exp

MQ2CGank.dll - 0 error(s), 0 warning(s)
--------------------Configuration: MQ2COpen - Win32 Release--------------------
Compiling...
MQ2COpen.cpp
EQLIB_IMPORTS
Linking...
   Creating library ../Release/MQ2COpen.lib and object ../Release/MQ2COpen.exp

MQ2COpen.dll - 0 error(s), 0 warning(s)
 
post your idea for exploiting eq smokin then peeps can help you out more and will be more inclined to share thier plugin (if i'm right i have one that already does what your thinking of)

also whats this about plane access with lootin ground spawns?
 
Howling stones perma key comes to mind hehe. Its nice to have. If you dont want to have to warp to get by doors everytime and such.
 
Well I kinda feel like a scumbag for thinking of it but....

Use this plugin like a forage macro, can even write a rule to auto destroy things you dont want, things that are no drop (quest ground spawn) and then run it in the bazaar or poknowlege, any well populated zone.

It will snag anyhting anyone acidentally drops and then bag it.

It's kinda like the metal detector of EQ. /puts on her old man hat and wades down to the beachside.
 
I wouldn't mind doing that, but I'd feel like a dickwad. I almost posted a plugin that allows you to add "fake" platinum to the trade window, and then (thankfully) decided against it. There are lines that one shouldn't cross =P

cronic
 
Type /items. You can either "/itemtarget name" with one of the items in that list, or you can "/itemtarget" with no arguments and just target the nearest item to your character.

cronic
 
Ya that plat spoofer is bad lol I know some one that sells it and that is just royally fucked up haha.
 
That motherfucker is selling it? You'd think I'd learn not to deal with frenchmen.

Shit.

cronic
 
Make Pally epic pretty easy - like spell divine might with all the stuff you have to collect. Zone in collect....leave. Fight Phini? Why? Collect leave.

All this talk about being banned for this and that....pssssht! Don't do stupid stuff and you are fine. It's when you show off or do obvious stuff that people petition you on.
 
So trying to be sly I tried OOW - "small task"

In Broodlands /splooge point 488.75 1158.10 33.85 then zone in.

Once in I /itemtarget /splooge mob /splooge safe and clear tasks.

Any recommendation on killing the goblin carrying the fertilizer to keep flower alive? He seems to be in tight corridor and not much room to run.
 
Is this plugin essentialy warping you to the ground spawn then warping you back? If so I'm staying away from it. I've been suspended once, and don't know how closely they're watching me now. Only plugins I use now on a regular absis are docrack for showspells and EB, and itemdb so I don't have to run a link bot on my other computer.
 
sacluded said:
Is this plugin essentialy warping you to the ground spawn then warping you back? If so I'm staying away from it. I've been suspended once, and don't know how closely they're watching me now. Only plugins I use now on a regular absis are docrack for showspells and EB, and itemdb so I don't have to run a link bot on my other computer.

I would imagine it runs alot like the corpse summon plugin, quickly warping you in and out while grabbing the item.
 
sacluded said:
I've been suspended once, and don't know how closely they're watching me now.

I've been using MQ for some time now and haven't even come close to being banned, but I can surely walk through any zone and see someone using /plugins. Hell I can even identify guilds using it. They don't need to watch you....It's obvious.

==========================

This would be great if anyone can figure out how to get fertilizer from Goblin in Thundercrest. I've got the other two parts of quest done in 30 secs but flowers keep dying.

???? What I foraged a flower ???? omg another EQ bug.
 
Do the offsets for this change? I can't seem to get this to work. It loads fine but dose nothing.

EDIT: compiled it myself instead of using the download. Now it just crashes me to desktop. Same question at top.
 
Last edited:
Is this working? I can target item but when I goto gank the target clears and no item shows up on my curser.
 
Stiflersmom said:
Is this working? I can target item but when I goto gank the target clears and no item shows up on my curser.

Same - and same with /plugin mq2csum

/target corpse, /sumcorpse --- Nothing
 
/csum works for me still.

hoever i think maybe this not working has something to do with this

mq2internal.h
Rich (BB code):
// im not sorry
#define PKT_CORPSE_DRAG		 0
#define PKT_CORPSE_DROP      0
#define PKT_UPDATE_POSITION  0
#define _UPDATEPOSITIONPKT	 0

I recently deleted all my old source and only have the latest 3 which were prety recent to each other. Dose anyone have a source prior to this plugins release or can anyone tell me if im even loking in the right place?
 
Not sure why this was posted in the Gank plugin post.. but. yes it still does work.

#ifdef PKT_CORPSE_DRAG
#undef PKT_CORPSE_DRAG
#endif
#ifdef PKT_CORPSE_DROP
#undef PKT_CORPSE_DROP
#endif
#ifdef PKT_UPDATE_POSITION
#undef PKT_UPDATE_POSITION
#endif

#define PKT_CORPSE_DRAG 0x50C0
#define PKT_CORPSE_DROP 0x7C7C
#define PKT_UPDATE_POSITION 0x14CB

is there to remove the checks from the devs attempt to stop suck plugins..
 
Because i was trying to figure out what was going on and if that had anything to do with why this plugin wasnt working. Aslo it was a question if it had anything to do with why its not working and if it mattered.

Im not the best with offsets. If anyone can get PKT_GRAB_ITEM offset i think it will work again.
 
Re: MQ2CGank - Update please

Is it possible to get an update on MQ2CGank?
Here is my Problem: I can target the item , but when I /gank the target clears and there is no item that shows up on my curser. What is wrong? Any Ideas? Thanks
 
Hate to bother you cronic, but an update for this would be nice :) I would do it myself but I have no idea wtf I'm doing
 
Rich (BB code):
// MQ2CGank by cronic
// updated 7/13/2005 by randomguy_01

#include "../MQ2Plugin.h"

#ifdef PKT_UPDATE_POSITION
#undef PKT_UPDATE_POSITION
#endif

#define PKT_UPDATE_POSITION  0x14CB
#define PKT_GRAB_ITEM        0xF47

PreSetup("MQ2CGank");

VOID GankCmd(PSPAWNINFO pChar, PCHAR szLine)
{
	// check for target
	if (!pTarget || !pGroundTarget) return;
	
	// acquire item
	PGROUNDITEM pItem = (PGROUNDITEM)pGroundTarget;

	// setup move packet
	 struct _MOVEPKT {
		 /*0000*/ unsigned short SpawnID;
		 /*0002*/ unsigned short TimeStamp;
		 /*0004*/ float Y;
		 /*0008*/ float DeltaZ;
		 /*0012*/ float DeltaY;
		 /*0016*/ float DeltaX;
		 /*0020*/ int Animation:10;
		 /*0020*/ int DeltaHeading:10;
		 /*0020*/ int padding0020:12;
		 /*0024*/ float X;
		 /*0028*/ float Z;
		 /*0032*/ int Heading:12;
		 /*0032*/ int padding1_0032:10;
		 /*0032*/ int padding2_0032:10;
	 } P;

	// init move packet
	ZeroMemory(&P, sizeof(P));
	P.SpawnID = (unsigned short)pChar->SpawnID;
	P.Heading = (unsigned int)(pChar->Heading * 4);

	// jump to
	P.Z = pItem->Z;
	P.Y = pItem->Y;
	P.X = pItem->X;
	SendEQMessage(PKT_UPDATE_POSITION, &P, sizeof(P));

	// gank
	struct _GRABITEMPKT {
		unsigned long DropID;
		unsigned long SpawnID;
	} GP;

	GP.DropID = pItem->DropID;
	GP.SpawnID = pChar->SpawnID;
	SendEQMessage(PKT_GRAB_ITEM, &GP, sizeof(GP));

	// jump back
	P.Z = pChar->Z;
	P.Y = pChar->Y;
	P.X = pChar->X;
	SendEQMessage(PKT_UPDATE_POSITION, &P, sizeof(P));

	// clear target
	pTarget = 0;
	pGroundTarget = 0;
}

PLUGIN_API VOID InitializePlugin(VOID)
{
	AddCommand("/gank", GankCmd);
}

PLUGIN_API VOID ShutdownPlugin(VOID)
{
	RemoveCommand("/gank");
}
 
Cadewen

regarding:The update that we got for MQ2CGANK posted above from randomguy_01.

I have a question for you and just want to confirm the process.

Q1:Since randomguy posted the update in souce code format that means we must add the plugin to the MQ2 projects(13) and compile with mq2?

also

Q2:if this is true then this means we have to wait for a new version of MQ2 to come out correct?

OR

Q3:Since Tone, came out with his own compiled version of MQ2 can I add & compile MQ2gank to Tones version and begin using this plugin?

Thanks~
 
Q1: Exactly, after the devs update the source, but read the answer to Q3

Q2: Read the answers to both the other questions :p

Q3:You can download the old MQ2 source and compile this plugin with that, then add it to tone's compile.
 
MQ2CGank

Users who are viewing this thread

Back
Top
Cart