• 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

MQ2COpen

cronic

Member
Joined
Apr 8, 2005
RedCents
Here's a cool plugin that removes the distance check for /open. Attached is a compiled version. Have fun.

Rich (BB code):
// cronic

#include "../MQ2Plugin.h"

#ifdef PKT_UPDATE_POSITION
#undef PKT_UPDATE_POSITION
#endif

#define PKT_UPDATE_POSITION  0x2B94
#define PKT_OPEN_OBJECT      0x383C

PreSetup("MQ2COpen");

VOID OpenCmd(PSPAWNINFO pChar, PCHAR szLine)
{
	// check for target
	if (!pTarget || !ppTarget) return;
	
	// acquire target
	PSPAWNINFO Target = (PSPAWNINFO)pTarget;

	// 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 = Target->Z;
	P.Y = Target->Y;
	P.X = Target->X;
	SendEQMessage(PKT_UPDATE_POSITION, &P, sizeof(P));

	// open
	SendEQMessage(PKT_OPEN_OBJECT, "", 0);

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

PLUGIN_API VOID InitializePlugin(VOID)
{
	AddCommand("/open", OpenCmd);
}

PLUGIN_API VOID ShutdownPlugin(VOID)
{
	RemoveCommand("/open");
}
 
Last edited:
cronic ur the 1 who makes the ghost macro where do i find that? heh heh an u have my vote
 
u have to Email him...then u would need to buy it from him not sure what the prices are...
 
there was an offset that let you /open mobs (eg death touch em) but there was a server side check for it. now im guessing this dosnt do that but was wondering... what kinda things can u do with it, not really much u can open that is benificial as u cant loot stuff with mobs around and im assuming like the Gank and sum plugs it fast warps u to it then warps u back? so you wouldnt even get the exp hit would you?

not gunan load the plug up as im being watched but still an intresting one :) good work C :)
 
Ghost can get u banned. He will even warn you of this. Now its only useful to scout a zone.
 
On LDoN if in zone you get hit - I'd say rule of thumb is if you get the exp you take the hit.
 
Tone said:
Ghost is still good for rangering/barding

Funny stuff coming from the client this patch. It looks like they may have added additional client data updates to the server which may have been added to detect warp and ghost. Some of the random disconnects may be because of these additional packets, or lack of packets being sent from the client. If the server does not like the location updates from your client, it disconects you.
 
Those updates went in a patch or two ago. I block them in my plugins, which is likely the reason that I haven't received emails from customers about being banned. I agree that the packet is likely to tattle on you for hacking.

cronic
 
I have a version of ghost not made by cronic sucks shit and drops you to server select because of these packets. My friend uses cronic's ghost and it's just like the packets never exsisted, cronic is leet ninja memory packet masta.
 
Is this supposed to let you open corpses as well or just chests in LDON?

If it is supposed to let you loot corpses it's not working for me I type in /open and nothing happens
 
This doesn't seem to want to work for me, been trying it in a Ldon, but the Barrel's are still saying too far away until I am on top of them like a normal rogue would be.
Anyone give me a clue as to how to use this and the inspect plugin too please?

If they need tweaking then some help would be appreciated.
 
I don't use this plugin so I don't have it compiled... smokinghot will probably post it when he gets it.
 
You asked Tone, but here it is anyway.
 
Yea not at home atm but i will have this in my compile by the end of the day but would prolly be easier to just take it from above in cades post and add to the folder u already have
 
dirtynumbangel said:
and when has /open ever made it so you can loot a corpse?
this is for containers silly. :p

Actually there's an NPC "corpse" in Akheva for the Magician epic 1.5, which requires use of the /open command. From what I heard, this doesn't work for that.
 
Tone said:
For 8/11 patch
#define PKT_OPEN_OBJECT 0x83B
#define PKT_UPDATE_POSITION 0x14CB

Have these offsets changed? If they have, does anyone know what the updates for these are?
 
Tried this on the BBM monster mission on the chests in freeport.

Didn't work, is it because the chests are treated as NPC's instead of LDoN objects?
 
Ok maybe this is wrong thread but anyway. I am doing a lot of MM missions and this will make it a lot faster question is ... is there a way to make a plugin or macro to target the chests open them warp loot them after hide/sneak then target the next and so on.... with Copen you take less of a chance at getting spotted so one less reason to get hit.... guess I am trying to automate the missions... any thoughts on how to combine these and get that to work....
 
I take it this does not work for the Artifacts in Thundercrest isles?


What are some examples of zones where this does work?
 
Last edited:
It's pissing me off the chest and stuff are listed as NPC's, but when im in range it /opens fine. It isn't liking the PKT_OPEN_OBJECT or something, but I've sniffed that packet like 5 times in the last 10mins its the same as 8/11 patch as op codes rarely change.
 
Will this work on mpg trial of subversion? Be nice to solo box that trial, just open chests with any toon...
 
bigdaddy said:
Will this work on mpg trial of subversion? Be nice to solo box that trial, just open chests with any toon...

Aren't chests locked in that trial? This can't open any chests that need to be unlocked using spells/picklock.
 
MQ2COpen

Users who are viewing this thread

Back
Top
Cart