• 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

Setgrav.dll

Jmo

Ex-Admin Dust Bunny
Creator
Joined
Mar 16, 2006
RedCents
794¢
Here's the setgrav Plugin that people have been asking for. I know I found it on the boards here somewhere before the last patch. Don't know if it still works as I haven't tested it yet with the new patch, but it worked before. Basically, you type /setgrav -1 and everything flies up into the air. You can chant it with a bard until it is dead with no agro. Works wonders on Bard dragons for 1.5, Lirah the Bridgekeeper, and various other mobs. Rumor has it that you can kill the Kyv Heartstriker in Tipt, but I've never tried. Enjoy, I hope it works. If not, I'm sure someone can decompile it and get the code to fix it up.
 
Last edited:
Here's the code. All credit to Teacher's Pet.
Rich (BB code):
#include "../MQ2Plugin.h"

PreSetup("MQ2SetGrav");

VOID SetGrav(PSPAWNINFO pChar, PCHAR szLine)
{
	CHAR szMsg[MAX_STRING] = {0};
	CHAR Arg1[MAX_STRING];
	GetArg(Arg1,szLine,1);
	bRunNextCommand = TRUE;
	if (Arg1[0]!=0) {
		((PZONEINFO)pZoneInfo)->ZoneGravity = (FLOAT)(atof(Arg1));
	} else {
		sprintf(szMsg,"Current Gravity is: %3.2f",((PZONEINFO)pZoneInfo)->ZoneGravity);
		WriteChatColor(szMsg,USERCOLOR_DEFAULT);
	}
	return;
}

PLUGIN_API VOID InitializePlugin(VOID)
{
	DebugSpewAlways("Initializing MQ2SetGrav");
	AddCommand("/SetGrav",SetGrav);
}

PLUGIN_API VOID ShutdownPlugin(VOID)
{
	DebugSpewAlways("Shutting down MQ2SetGrav");
	RemoveCommand("/SetGrav");
}
 
How detectable is this, and What does it look like to other people?
 
From what little I understand of it all, it's client side. However, I'm guessing that you yourself will actually get float around on the ceiling and that's something other people will be able to see.
 
In the past when I used this, It would look like the old Pathing bug where a mob would Be in front of you by a pillar and constanly jumping up and dwon from the floor to top of the pillar. With the new pathing in the system this may be different now.
 
Sounds neat,

could someone who got it working, pls post the fixed and compiled version? thx.
 
It is TP's wishes that this not be posted in a DLL form, or in a complete source form.

It would be nice if you minded that.
 
I'm sorry, i didn't know that. I downloaded it myself from the author's post on the site not more than a month ago. I never compiled it myself and downloaded it as a DLL straight from his post.
 
thez said:
It is TP's wishes that this not be posted in a DLL form, or in a complete source form.

It would be nice if you minded that.
In a "complete source" form? The only difference in the one I posted here and TP's own post is that TP's own post only have the SetGrav function. These last things suchs as presetup, assigning slash commands etc. aren't exactly hard to figure out how to add, if you're compiling yourself.

Will leave the .dll's out though :)
 
I don't care if this is posted as a DLL as it's not exactly "game breaking." AFAIK the only two exploits it can be involved in are suicide (for no exp loss on Zek) and I think it has a Z axis exploit. Other than that it's just fun to jump over the PoK bank hehe.
 
Sooo, this wasn't nerfed, just not updated?

The last time I checked from another account, player and mobs all looked stationary while graved.

From the executing account it looked like player and all nearby mobs were high in the sky. Like he said, it's a fun toy. A little tricky though. I died way more while playing around with it than I recieved in benefit from using it.
 
I set it to 5 and just stood there watching my safefall max out w/out moving hehe.
 
This still works, what they wacked was the free access to be able to Zwarp kill...

Beats me. put a site up for hacks then take the hacks out. hehe guess ya gatta protect ur turf somehow.
 
Setgrav.dll

Users who are viewing this thread

Back
Top
Cart