• 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

MQ2 Compiling Guide

Status
Not open for further replies.
Re: noauth+date/time check+warp+string

Updated. There's probably more I need to put in.
 
Re: noauth+date/time check+warp+string

()===D====> said:
What good does the date / time check removal do?
When you compile, a time stamp is put on each plugin saying what date it was compiled. If you don't remove the date / time stamp checks, every plugin you compile has to have the same compile stamp or later than MQ2Main.dll or else you'll be unable to load the plugin. When you remove the checks, you make it so that you only have to recompile if your plugin isn't working properly and you have new/different code.

It's not a real big deal but say you want to use MQ2Hail and it was compiled on 1/1/06 and your compile was done on 1/3/06. Without removing the check you won't be able to load the plugin, but if you do remove it, you'll be able to use it.

plink
 
Re: noauth+date/time check+warp+string

the time check second code must have changed i think
 
Re: noauth+date/time check+warp+string

leplubo said:
the time check second code must have changed i think
I think so too
Cade says to remove this bit.
Rich (BB code):
return 0;
	}
    if (mq2mainstamp > checkme((char*)hmod)) {
        DebugSpew("Please recompile %s %d %d", FullFilename, mq2mainstamp, checkme((char*)hmod));
        FreeLibrary(hmod);

Well i am showing

Rich (BB code):
 return 0;
	}
    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);

Do I yank it all? :confused:
 
nm, searched anti-warp and found the correct thread.
 
Last edited:
friend showed me what was up. sorry
 
Last edited:
Is there an updated guide somewhere I am missing. With so many changes to the structs, my compile is not allowing a bunch of plugins.
 
Just thought I might update this while I work my way through it. The suggested change to MQ2Main.h is no longer required, as the line that you needed to remove is no longer in the distribution. Thank you MQ2 devs.

AND thanks Cade!

--jimbo
 
I did this and still does not work.

Cade said:
I've seen how to do a noauth compile in one place and how to remove the plugin date/time check in another and what to remove to get warp to work somewhere else. Haven't seen how to put string back in but I imagine it's here somewhere, but I know how. So to save people the time of searching around, here's how to do what I just listed.

[size=+1]Noauth compile:[/size]

With a hex editor (I recomend hex workshop) open MQ2Auth.exe before you run it and replace (Ctrl+H usually, if that doesn't work go to Edit -> Replace. If you don't have that option you will have to go to find and do it manually)
Rich (BB code):
microsoft\
with
Rich (BB code):
microsoap\
After that's done, run MQ2Auth.exe [size=+3]and do the same thing to MacroQuest2.exe in the release folder.[/size]
 
Hi Larry. I heared a song called "My Name is Larry" once. That wasn't you, was it? heheh.

You are going to have to be more specific than "It still doesn't work".

--Jimbo

edit: I found the song. It was performed by Larry (Wild Man) Fischer. He was a paranoid schizophrenic street musician, popular in the hippie era in Las Angeles, CA. If you click on the 'Trailer' link on this site you can hear a bit of the song.
 
Last edited:
OK specific being that it does not let me run it on any other computer; i.e. it sayes i'm not athorized to run it on that computer.
 
Did you run MQ2Auth.exe on the computer in question? I think you still have to do it once after you do those two hacks.
 
Last edited:
What jimbo said, did you run MQ2Auth.exe after you edited it?
 
Larry,
1) recursively remove the read-only flag from the MQ2 folder.
2) delete MQ2Auth0.h from the MQ2Main folder just for a check
3) run MQ2Auth.exe
4) confirm that MQ2Auth has been recreated
5) build MQ2Main
6) batch built the rest
7) double-click MacroQuest2.exe in the Release folder

Still get the pop-up?

--Jimbo
 
thank you for this guide. I have been compiling myself, just to get MQ2 up and running, but whenever I tried loading some of my plugins, I would get the authorization error.

I decided to buckle down, and read thru this, d/l the hex editor, and finally got the auth bypass.

Now I gotta try to figure out how to do the anti-warp part. Some of it doesn't seem to match up, though. I'm assuming it's changed.
 
MQ2 Compiling Guide
Status
Not open for further replies.

Users who are viewing this thread

Back
Top
Cart