• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

newby compiling with new EQ structure (1 Viewer)

KOKKOR

New member
Joined
Dec 2, 2004
RedCents
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