• 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

Datestamp removal, help!?

Spunge16

Well-known member
Hey Guys, Just wondering if anyone could explain here or even via PM how to remove the datestamp auth for MQ2? Since i barely play EQ that much, i dont really want to pay a premium any longer for pre compiles and instead would like to just do my own but i have a few old plugins that i want to use but i cant load them with vanilla MQ2 source

Any help would be much appreciated

Cheers,

Spunge
 
These are pretty much each file that needs to be looked at. The main one you want to remove that crap you described is MQ2Data.cpp.

Rich (BB code):
####################
### MQ2Inlines.h ###
####################


-- #define Warp				 0


###################
### EQClasses.h ###
###################

-- #define ZoneToGoTo 0
-- #define SafeZLoc 0
-- #define SafeYLoc 0
-- #define HackPackHelp		 0


################
### EQData.h ###
################

Look for MAX_ZONES and change this for DoDh zones.. (Needs updating for PoR)

-- #define   MAX_ZONES  	0x15B   
++ #define   MAX_ZONES    0x02C7 // SOF    

-- #define ExactLocation	0
-- #define zWarp				 	0


#####################
### EQUIStructs.h ###
#####################

-- #define GateBind 	0
-- #define Fly				0
-- #define SafeXLoc 	0


####################
### MQ2Globals.h ###
####################

   namespace MQ2Globals
   {
++ EQLIB_VAR float FPS;
   /* BENCHMARK HANDLES */ 

-- #define ZoneShift			 0


#######################
### MQ2Prototypes.h ###
#######################

-- #define DoWarp				 0

#######################
### MQ2Commands.cpp ###
#######################

   VOID PluginCmdSort(VOID)
   {
--     PMQCOMMAND pCmd=pCommands;
--     int i;
--     while(pCmd) {
--         if (pCmd->EQ==0) {
--             //
--             for(i=0;i<sizeof(keyarray)/4;i+=4) {
--                 if (!stricmp(pCmd->Command, (char *)&keyarray)) {
--	             pCmd->Function=CmdCmd;
--                 }
--             }
--         }
--         pCmd=pCmd->pNext;
--     }
   }


###################
### MQ2Data.cpp ###
###################

   TLO(dataString)
   {
--    WriteChatf("Due to complete misuse of the String Top-Level Object, it has been removed.");
--    return false;
-- /*
      if (!ISINDEX())
         return false;
      strcpy(DataTypeTemp,szIndex);
      Ret.Ptr=&DataTypeTemp[0];
      Ret.Type=pStringType;
      return true;
-- /**/
   }


#######################
### MQ2DataVars.cpp ###
#######################

-- #ifndef SafeXLoc
-- #error 1
-- #endif


######################
### MQ2Globals.cpp ###
######################

   namespace MQ2Globals
   {
++    float FPS=0.0f;

   /* BENCHMARKS */ 

-- #ifndef DoWarp
-- BOOL bLaxColor=TRUE;
-- #else
   BOOL bLaxColor=FALSE;
-- #endif


############################
### MQ2Pluginhandler.cpp ###
############################

-- static unsigned int mq2mainstamp = 0;
++ static unsigned int mq2mainstamp = 1;


--	if (!stricmp(Filename,"mq2warp")) // ^_^
--	{
--		return 0;
--	}

--    if (!mq2mainstamp) {
--        mq2mainstamp = checkme((char*)GetModuleHandle("mq2main.dll"));
--    }

--    if (mq2mainstamp > checkme((char*)hmod)) {
--        char tmpbuff[MAX_PATH];
--        sprintf(tmpbuff, "Please recompile %s -- it is out of date with respect to mq2main (%d>%d)", FullFilename, mq2mainstamp, checkme((char*)hmod));
--        DebugSpew(tmpbuff);
--        MessageBoxA(NULL, tmpbuff, "Plugin Load Failed", MB_OK);
--        FreeLibrary(hmod);
--        return 0;
--    }


#####################
### MQ2Spawns.cpp ###
#####################

-- #ifndef GateBind
-- 	ProcessGameEvents=0;
-- #endif


#####################
### MQ2MapAPI.cpp ###
#####################

-- #ifndef zWarp
--     gSpewToFile=1;
-- #endif
 
Datestamp removal, help!?

Users who are viewing this thread

Back
Top
Cart