• 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

Removeing the time/date check on plugins From MQ2

Riddlerr

New member
Joined
May 21, 2005
RedCents
30¢
Well i never updated my source to 5/26 cause there was no need really. Just the fact that they changed it where any plugins have to have an later time/date than the MQ2Main.dll. Well today i saw how much of a pain in the ass it was to have the in the srouce now. so i looked around and found what needs to be takin out.. Open MQ2PluginHandler.cpp and remove each section of code.

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;
Rich (BB code):
    if (!mq2mainstamp) {
        mq2mainstamp = checkme((char*)GetModuleHandle("mq2main.dll"));
    }
Rich (BB code):
		return 0;
	}
    if (mq2mainstamp > checkme((char*)hmod)) {
        DebugSpew("Please recompile %s %d %d", FullFilename, mq2mainstamp, checkme((char*)hmod));
        FreeLibrary(hmod);
Hope this helps anyone that compiles there own.
 
also... could make this easyer.. just take the 5/25 MQ2PluginHander.cpp and tose it in the newest release's source.. and your gtg :)..
 
They also blocked warp specifically so delete this.

Rich (BB code):
	if (!stricmp(Filename,"mq2warp")) // ^_^
	{
		return 0;
	}

I like how they commented with ^_^.
 
yeah this was posted in my warp plugin. but just for the basic of what i was posting for. i posted just what was needed to remove the plugin timecheck
 
Removeing the time/date check on plugins From MQ2

Users who are viewing this thread

Back
Top
Cart