• 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

newby compiling with new EQ structure

KOKKOR

New member
Before December patches and the new EQ structure, we had Cade's MQ2 compiling guide for newby to make changes in the MQ2 files : noauth +date / time check + warp + string

EQ structure changed and many changes had to be undertaken in MQ2 structure also

Is it possible to have a short compiling guide for the new MQ2 files ?
There are so many infos in so many files I can t find them all to get my own compile without errors :mad:

I guess the changes for noauth codes are the same ( microsoft into microsoap ) but not sure for other changes

Thks in advance
 
Here's what I always delete/modify:

String TLO...
In MQ2Data.cpp find
Rich (BB code):
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;
	/**/
}
and remove
Rich (BB code):
	WriteChatf("Due to complete misuse of the String Top-Level Object, it has been removed.");
	return false;
	/*



	/**/

Disables the time stamp...
Remove from MQ2PluginHandler.cpp
Rich (BB code):
DWORD checkme(char *module)
{
    char *p;
    PIMAGE_DOS_HEADER pd = (PIMAGE_DOS_HEADER)module;
   PIMAGE_FILE_HEADER pf;
    p = module + pd->e_lfanew;
    p += 4;  //skip sig
    pf = (PIMAGE_FILE_HEADER) p;
    return pf->TimeDateStamp;
}

static unsigned int mq2mainstamp = 0;
Remove from MQ2PluginHandler.cpp
Rich (BB code):
    if (!mq2mainstamp) {
        mq2mainstamp = checkme((char*)GetModuleHandle("mq2main.dll"));
    }
Remove from MQ2PluginHandler.cpp
Rich (BB code):
		return 0;
	}
    if (mq2mainstamp > checkme((char*)hmod)) {
        DebugSpew("Please recompile %s %d %d", FullFilename, mq2mainstamp, checkme((char*)hmod));
        FreeLibrary(hmod);

Warp crap...
Remove from MQ2PluginHandler.cpp
Rich (BB code):
	if (!stricmp(Filename,"mq2warp")) // ^_^
	{
		return 0;
	}
Find in MQ2Main.h and replace 0 with offset
Rich (BB code):
#define CDisplay_MoveLocalPlayerToSafeCoords 0
In EQData.h replace
Rich (BB code):
/*0x24c*/   FLOAT   Unknown0x24c[0x3];
with
Rich (BB code):
/*0x1ec*/   FLOAT	SafeYLoc; 
/*0x1f0*/   FLOAT	SafeXLoc; 
/*0x1f4*/   FLOAT	SafeZLoc;
Remove from MQ2CommandAPI.cpp
Rich (BB code):
if (!stricmp(Command,"/warp"))
{
Function=0;
}

/zone in DoDH....
In EQData.h change
Rich (BB code):
#define   MAX_ZONES                                    0x15B
to
Rich (BB code):
#define   MAX_ZONES                                    0x171
 
i don't have time to compare with cades other post in guides section..

but plink is any of that different than what he posted?

If so .. then i would post only that part...

so as not to confuse 8-)

army
 
I'm not familiar with what post you're talking about army. Only thing I've started changing since being here was the MAX_ZONES define, everything else I was already changing...

plink
 
KK THKS REAL MUCH TO YOU Plink
seems changes are almost the same before and after patch
i thought they were many things to modify
so i can try asap to run my own compiles

take care all
 
newby compiling with new EQ structure

Users who are viewing this thread

Back
Top
Cart