• 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

MQ2SumCorpse

TeachersPet

Well-known member
Joined
Jul 27, 2005
RedCents
71¢
*** I was just informed MQ2Pax does this, I wish I knew why I keep making random plugins I don't need to make ***

I lost cronic's source to his old MQ2CSum and threw this together.

Rich (BB code):
/*
	MQ2SumCorpse
	By: TeachersPet

	Usage: /sumcorpse

	cronic made a plugin that's probably pretty close to this. I lost his source so I threw this together.
*/

#include "../MQ2Plugin.h"

#define OP_MovePkt 0x178A
#define OP_CorpseDrag 0x8279
#define OP_CorpseDrop 0x3e35

struct _MOVEPKT {
     unsigned short SpawnID;
     unsigned short TimeStamp;
     int ZHeading:12;
     unsigned int HeadingRemainder:2;
     unsigned int Heading:10;
     unsigned int paddingHeading:8;
     float DeltaY;
     unsigned int Animation:10;
     unsigned int paddingAnimation:22;
     float DeltaX;
     float Y;
     int DeltaHeading:10;
     int paddingDeltaHeading:22;
     float DeltaZ;
     float Z;
     float X;
} M;

PreSetup("MQ2SumCorpse");

VOID SumCorpse(PSPAWNINFO pChar, PCHAR szLine) {
	if (!pTarget || !ppTarget) {
		WriteChatColor("Please Target a corpse",USERCOLOR_DEFAULT);
		return;
	}

	PSPAWNINFO Target = (PSPAWNINFO)pTarget;

	if (Target->Type != SPAWN_CORPSE) {
		WriteChatColor("Please Target a corpse",USERCOLOR_DEFAULT);
		return;
	}

	ZeroMemory(&M, sizeof(M));
	M.SpawnID = (unsigned short)GetCharInfo()->pSpawn->SpawnID;
	M.Heading = GetCharInfo()->pSpawn->Heading;

	M.Y = Target->Y;
	M.X = Target->X;
	M.Z = Target->Z;

	SendEQMessage(OP_MovePkt, &M, sizeof(M));

	SendEQMessage(OP_CorpseDrag, Target->Name, 152);

	M.Y = GetCharInfo()->pSpawn->Y;
	M.X = GetCharInfo()->pSpawn->X;
	M.Z = GetCharInfo()->pSpawn->Z;

	SendEQMessage(OP_MovePkt, &M, sizeof(M));

	SendEQMessage(OP_CorpseDrop, Target->Name, 17);
}

PLUGIN_API VOID InitializePlugin(VOID)
{
	AddCommand("/sumcorpse",SumCorpse);
}

PLUGIN_API VOID ShutdownPlugin(VOID)
{
	RemoveCommand("/sumcorpse");
}
 
couldnt you change that code around a little into a working GK plugin? or is it way different
 
jmac said:
couldnt you change that code around a little into a working GK plugin? or is it way different
Umm what are you talking about, that is totally irrelevent.
 
why not? it throws a movement packet at your target right? so why not throw a movement packet at your target then add in a backstab?
 
jmac said:
why not? it throws a movement packet at your target right? so why not throw a movement packet at your target then add in a backstab?
Because he didnt want to? But you sound like you know what your doing so why not make it yourself.
 
I could probably create a ghostkill plugin derived directly from this code, but why bother? I've already got like four.

TeachersPet said:
*** I was just informed MQ2Pax does this, I wish I knew why I keep making random plugins I don't need to make ***
 
TeachersPet said:
I could probably create a ghostkill plugin derived directly from this code, but why bother? I've already got like four.

4? Can i have one? hahahah yea right
 
It costs alot, but let me tell you. GhostKill is something I enjoy greatly. If you want to be able to farm things, not even Anguish, just loot mobs, you should get it.

If you can't afford it, then don't ask for it.

Honestly, the e-mails and PM's get old after a while, begging for my version of GK or NDelay, I will give you my response here, PM TeachersPet.
 
:p Tell you what Marbury...I'll pay you double what I paid for Abyss's GK if it will work for a Pure Melee Class that doesn’t have to ... 1) Require shrouding to a rogue, 2) Require five hours of AFK bow shooting that gets your target to 95% because your toon class sucks at shooting an arrow and the mob heals quicker then you can shoot it :p , 3) Requires a form of No Delay (willing to work with one actually) or 3) Requires your toon to be a MONK (which is fast becoming a sure sign of someone GK'ing).

In other words...If you can meet my needs for a GK plugin...I'm sure I can meet your monetary interest. :D
 
What you're asking for is...well, I won't say impossible, because I don't know that, but to the best of my knowledge, impossible. Ghostkilling works off of special abilities, like backstab, etc. The reason that you'd shroud to a rogue from another melee class is that they have the most DPS from special abilities. From a warrior or any other class, you'd just have to bash or kick the mob to death, if that is even possible, which it likely isnt...due to regen.
 
:rolleyes: I know...just tired of the same question being asked and the same answer given...just thought I would throw in a curve ball and see what came up. :D

But, you are correct Z...probability of someone developing a code like that would be pretty much impossible due to logistics (i.e. - decerning what mobs could be successfully GK with ratio of skilled dps versus quality of said mobs loot), BUT, theoretically it should be possible to creat a GK for any class using their specific special ability (still trying to determine what that is for my poor toon..lol). With that said I like to point out to all you MQ2'ers who haven't figured it out yet, GK will not work adequately for most classes and furthermore the rogue shroud (correct me if Im wrong please) requires lvl 70 in order to get the backstab skill.<--Not really sure about that one as I have rarely ever used shrouds with the exception of the beserker line which i am fully capped in.

At any rate though...if anyone is willing to take up the challenge to develop a GK Like the one I mentioned above I am willing to pay for it's development and have toon's/accounts i can sacrifice to test. ;)
 
Rogue shrouds should have backstab all the way down until you get below the level that a regular rogue would get it.
 
Hmmm..guess it's time to break out the old shroud macro then and get a good rogue shroud. To bad a rogue shroud wont give you that niffty "sneak" ability, but i guess thats why we have ghost...lol ;)
 
Rogue shroud does give sneak ability, hide as well. There is also a goblin rogue shroud which needs no unlocking but if you're hell bent on breaking out that shroud macro then I suggest doing the kobold cleric one, it will unlock a rogue shroud with sneak and hide and FD if you get yourself in trouble.

A word about GK using special abilities. Monk is the same way, if not for the monknodelay a monk would not have a chance in hell to GK anything. I'm not sure exactly how it works except that it uses an AA. If you could make a no delay feature for Warrior kick, Beastlord Kick, Rogue backstab, etc they would become viable classes to GK with. The rogue has to be some uber to GK anything signifigant, it takes me almost 1/2 hour to kill something in frostcrypt, 15 minutes in ashengate and I'm in the top 10 rogues on my server.
 
MQ2SumCorpse

Users who are viewing this thread

Back
Top
Cart