• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

No Stun Plugin, no offset required.

Status
Not open for further replies.
Rich (BB code):
#include "../MQ2Plugin.h" 
PreSetup("MQ2NoMez"); 
PLUGIN_API VOID OnDrawHUD(VOID) 
{ 
GetCharInfo()->Stunned = 00; 
                              }

never need an offset again, with this beauty.
 
Eh, if you mean MQ2Plugin.h, that's also the first non-comment line of EVERY other plugin and doesn't need to be posted as it's already in the MQ zip. If you mean the .h for this plugin, I don't think there is one. If you mean something else, tell me cause I'm clueless
 
Compiled this plugin its been added as an attachment on my Compile post. Have not tested it. Just download and add into your Relase folder
 
<3

edit- oh yea, syntax is /nostun on/off

Rich (BB code):
// MQ2NoStun.cpp : Defines the entry point for the DLL application.
// randomguy_01->I like Pie
// PLUGIN_API is only to be used for callbacks.  All existing callbacks at this time
// are shown below. Remove the ones your plugin does not use.  Always use Initialize
// and Shutdown for setup and cleanup, do NOT do it in DllMain.


#include "../MQ2Plugin.h"


PreSetup("MQ2NoStun");

BOOL bNoStun = FALSE;

VOID NoStunCmd(PSPAWNINFO pChar, PCHAR szLine)
{
   CHAR szArg[MAX_STRING] = {0};
   GetArg(szArg, szLine, 1);
   if (szArg[0] == 0) { WriteChatColor("Syntax: /nostun 'on/off'",USERCOLOR_DEFAULT); }
   else if (!strcmp(szArg, "on")) {
      if (!bNoStun) {
         bNoStun = true;
         WriteChatColor("oMFgZ You CaNt Be StUNNeD!!!111one");
      }
      else WriteChatColor("OmFgZ YoU StiLL CaNt Be StUNNeD!!!111one", USERCOLOR_DEFAULT);
   }
   else if (!strcmp(szArg, "off")) {
      if (bNoStun) {
         bNoStun = false;
         WriteChatColor("Dude- you can be stunned now, watch the fuck out.", CONCOLOR_RED);
      }
      else WriteChatColor("You're an idiot, NoStun is already off!", CONCOLOR_RED);
   }
}
// Called once, when the plugin is to initialize
PLUGIN_API VOID InitializePlugin(VOID)
{
	DebugSpewAlways("Initializing MQ2NoStun");
	AddCommand("/nostun",NoStunCmd);
}

// Called once, when the plugin is to shutdown
PLUGIN_API VOID ShutdownPlugin(VOID)
{
	DebugSpewAlways("Shutting down MQ2NoStun");
	AddCommand("/nostun",NoStunCmd);
}



// Called every frame that the "HUD" is drawn -- e.g. net status / packet loss bar
PLUGIN_API VOID OnDrawHUD(VOID)
{
	if (bNoStun) {
		GetCharInfo()->Stunned=00;
	}
	else return;
}
 
Last edited:
No Stun Plugin, no offset required.
Status
Not open for further replies.

Users who are viewing this thread

Back
Top
Cart