• 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

Compiling Macroquest for free guide (1 Viewer)

Status
Not open for further replies.
Double click macroquest2.dsw file. This will Open Visual C++...

i did this and it did not open my visual studio 6 pro
 
You have VS6 not 7?

What happened when you double clicked macroquest2.dsw? Give any errors?
 
i did open the vs first then have mq2.dsw under modules but i dont see the build option, where do i find the build option? Whenever i open vs6 first and then double click the mq2.dsw it opens two vs6 windows btw and puts dsw under modules but i dont see the build option anywhere.

Would it be possible to use this instead?
 
Last edited:
ok i open VS c++ 6.0 first

then either file open or click open button

change file type to DSW

find macroquest2.dsw

on the toolbar... same line as file .. is build ... click build and another drop down menu opens.. click batch build

ensure all boxes are checked and click build button

if you are not seeing these things.. then either your not using VS C++ 6.0 or something is really wrong 8-)
 
armysoldier said:
I used pugs suggestion and got a nice free DL or VS6

Find your Warp Offset using Cades Thread

BEFORE YOU COMPILE ANYTHING Go to cades link in guides

you can make noauth+date/time check+warp+string

and he tells how to get other plugins added to the compile


then I did:

Rich (BB code):
Compiling MacroQuest2 using VC6++ or Visual Studio 6 
Install Visual C++ 6.0 or Visual Studio 6.0 

If you are installing VC6++ please make sure you have installed SERVICE PACK 6. You can find Service Pack 6 here: Service Pack 6


Download the MacroQuest2 source files

Unzip it into any new folder

Go to the newly created folder and double click MQ2Auth.exe

Double click macroquest2.dsw file. This will Open Visual C++

*** I OPEN VS6 first.. then click file --> open ***

Select Build -> Set Active Config and select MQ2main. Click OK

Select Build -> Build MQ2main.dll or press F7

Select Build -> Batch Build. Make sure everything in the batch build window that says release has a check by it

Click the Build button. All should compile with no errors or warnings


AND now you too can be the first to toss out the first running MQ2

8-)
 
Giving this a good bump ... All the new folks we have here... this is a READ for all

there is even a way to get a free copy of your own software .. so you can compile...

See the references to pugs post..


IT works.. its how i do my compiles...

I just don't publish them .. well because that would take away from others works...

once we get a good compile..I don't see why we need 20 others.. 8-)

Good luck ..

and enjoy
 
Another thing to mention before compiling is to change the MAX_ZONES in eqdata.h to 0x171 to get /zone /gate /fade to work in DoD content

Edit: Yeah it's probably said somewhere but majority of compiles I try don't have it done.
 
yeah and there's probably 10 guides how to compile mq2 etc too.......No one does the MAX_ZONES bit in their compiles.......so bah :) Making me have to self compile ~~
 
and this is for all those PEOPLE who are complaining about

a. not knowing how to compile
b. I don't have software to compile
c. Someone needs to updated the compiles every second of everyday

8-)


GO GO Good team

ARMY
 
This works too~~

Start by Downloading the Setup program here (link may change never know with MS). Install it.

Download SDK files from here Install It.

Open VC++ 2005 Express and from the Tools drop down menu select options.
Expand the "Projects and Solutions" tree and select VC++ Directories
In the right window from the "Show Directories for" drop down menu select the follwing items and add the paths below:

Executable files: C:\Program Files\Microsoft Platform SDK\Bin

Include files: C:\Program Files\Microsoft Platform SDK\include

Library files: C:\Program Files\Microsoft Platform SDK\lib

Alternately, you can double click on the existing Microsoft Platform SDK references that VC Express installed and edit them to point to the path you installed your Microsoft Platform SDK to.

Either way, you want only one reference to the MS Platform SDK for each item. You should remove any duplicate references to a Microsoft Platform SDK directory.

Make sure the directories you just entered are at the top of the list. If not use the Up or Down arrows to put them in the correct order.

If you installed using defualt directories navigate to C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults and edit corewin_express.vsprops using notepad.
Change AdditionalDependencies="kernel32.lib" to
AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"

Next navigate to C:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\ and open AppSettings.htm in notepad and comment out lines 441-444 like this:
// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;

Open VS2005 Express and from the file menu select New Project. Expand the Visual C++ node in the Product Types tree and then click Win32. Click on the Win32 Console Application template and then give your project a name and click OK. In the Win32 Application Wizard dialog box, make sure that Windows application is selected as the Application type and the ATL is not selected. Click the Finish button to generate the project.

As a final step, test your project by clicking the Start button in the IDE or by pressing F5. Your Win32 application should build and run.

Now for actual MQ2 compiling
Open VS2005 Express (duh) select Open Project/Solution and select the .sln file from the folder you have extracted your MQ2 zip file. It may likely ask you if you want to update the files, you will say yes. Right click MQ2Main from the left tree and select "Set as StartUp Project" Right Click again and go to properties. Under the C\C++, Code Generation Section you will have to turn Enable C++ Exceptions to No. Then right click again and select build.

It should "hopefully" build with no errors. Next select Batch Build from the Build drop down menu. In the window select all plugins to compile. Then click build!

Some warnings may arise, but so far no word on any problems being caused by them.
This information is from here under Compiling with VS2005 Express.
 
I've got 2005 Express working for everything that I normally compile except MQ2RWarp. For that I get the following errors...

Rich (BB code):
------ Build started: Project: MQ2RWarp, Configuration: Release Win32 ------
Compiling...
MQ2RWarp.cpp
EQLIB_IMPORTS
.\MQ2RWarp.cpp(243) : error C2668: 'pow' : ambiguous call to overloaded function
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(575): could be 'long double pow(long double,int)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(573): or 'long double pow(long double,long double)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(527): or 'float pow(float,int)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(525): or 'float pow(float,float)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(489): or 'double pow(double,int)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(123): or 'double pow(double,double)'
        while trying to match the argument list '(int, unsigned int)'
.\MQ2RWarp.cpp(342) : error C2668: 'pow' : ambiguous call to overloaded function
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(575): could be 'long double pow(long double,int)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(573): or 'long double pow(long double,long double)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(527): or 'float pow(float,int)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(525): or 'float pow(float,float)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(489): or 'double pow(double,int)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(123): or 'double pow(double,double)'
        while trying to match the argument list '(int, unsigned int)'
.\MQ2RWarp.cpp(518) : error C2668: 'pow' : ambiguous call to overloaded function
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(575): could be 'long double pow(long double,int)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(573): or 'long double pow(long double,long double)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(527): or 'float pow(float,int)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(525): or 'float pow(float,float)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(489): or 'double pow(double,int)'
        D:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(123): or 'double pow(double,double)'
        while trying to match the argument list '(int, unsigned int)'
Build log was saved at "file://d:\MQ2\MQ2RWarp\Intermediate\BuildLog.htm"
MQ2RWarp - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Early in the code we have...

Rich (BB code):
#define INFINITY ((int) pow(2, sizeof(int)*8-2)-1)

and the first point the compile has a problem with is...

Rich (BB code):
		if (distances[i*MAX_ZONES+j]==INFINITY)
		{
			WriteChatColor("I don't know a route to that zone.", CONCOLOR_RED); 
			return;
		}

The other two errors are also interactions with INFINITY.

Looking up pow in math.h, it seems that ANSI C++ added overloaded versions of this function, so changing the INFINITY define to ...

Rich (BB code):
#define INFINITY ((int) pow((double) 2, (double) (sizeof(int)*8-2)-1))

makes it compile without errors.

I'm still fairly new to C++ though, so does anyone see any gotchas with that fix?

Thanks for any feedback.
 
well its the antiwarp code in MQ2 u gotta either remove it or get precompiled plugin for RWarp=/
 
Umm... Was there anything in my post that made it seem like I was unaware of that??

I started out with "I've got [new compiler] working for everything I normally compile except MQ2Rwarp [implying that it, along with everything else works fine with my OLD compiler]."

I then proceeded to give exact examples of the overloaded C++ function that was giving me a problem in the new compiler and how I addressed it. From my understanding of C++ overloaded functions, my fix takes care of it. I was hoping to get affirmation (or correction) from the more knowledgeable C++ folks out there.

I thought it was pretty clear that I had a C++ question, not a MQ2RWarp question.
 
I've got 2005 Express working for everything that I normally compile except MQ2RWarp. For that I get the following errors...
Reading this does not tell me that 2005 Express is a new compiler for you. I thought it was the one you normally compile with. All of a sudden you can compile everything as normal but can't compile Rwarp anymore.
Ok, so reading that sentance and not knowing alot about code my self but reading alot on the boards about the new antiwarp code that is inside the mq2source that requires removing before rwarp and piggy will work again I think his answer was perfectly understandable and didn't eem in anyway a put down to you just a possible solution to your problem.
To you it may seem like all that was implied but it does not really show in your statement.

Don't take it too hard
 
You would get an answer if you post on the MQ2Rwarp thread in strats and cheats sections....

Alot ignore this section.. and since your issues are limited to compiling rwarp .. post there ...

BUT i have not seen this error when compiling rwarp ..



ARMY
 
Ok, I guess it wasn't as clearly implied as I thought it was. I put it in this 'free compiler' thread which included the 2005 Express instructions since this new (to me) compiler was behaving differently for me than my old compiler (the previously posted upon Visual C++ Toolkit 2003).

I can see how some of the assumptions I was making weren't laid out as well as I'd intended in my first post. My bad.

I still want to make sure that my understanding of the overloaded function (the "pow" call in this case) is correct, but regardless, the fix I posted worked for me. I'll post it in the RWarp thread as a possible fix if anyone else runs into the issue.

*edit* BTW, rereading this post, I see that while I implied an apology to TSPlayer62, I didn't explicitely state it. :) Sorry if I came across as jumping on your case. :)
 
And of course I now feel really silly since i find that I don't even use this logic in my copy of MQ2RWarp any more since most of the zoning stuff got stripped from it a while ago separating the Warp stuff to MQ2RWarp, and the zone stuff to MQ2PiggyZone.

My fix also works (for me) on MQ2PiggyZone though.
 
i get a fetal error msg in command prompt " error u1073 " don't know how to make " and error U1077" when trying to compile outside of command prompt i get the error saying "error C3068: 'EQClasses::CStmlWnd::AppendSTML' : a 'naked' function cannot contain objects that would require unwinding if a C++ exception occurred
1>Build log was saved at "file://c:\MQ2\MQ2Main\Intermediate\BuildLog.htm"

And a LNK1181, can anyone help. Thanks in advance
 
Please post the full error set that you get from the compiler using quote so that we can direct you as to what to fix.
 
I get this problem when i try to compile any file with the VS2005 icon on it i tried a few and i just cant get this to work can anyone help PLZ

------ Build started: Project: MQ2Main, Configuration: Release Win32 ------
Compiling...
EQClasses.cpp
.\EQClasses.cpp(136) : error C3068: 'EQClasses::CStmlWnd::AppendSTML' : a 'naked' function cannot contain objects that would require unwinding if a C++ exception occurred
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2Main\Intermediate\BuildLog.htm"
MQ2Main - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Map, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2Map\Intermediate\BuildLog.htm"
MQ2Map - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Telnet, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\mq2telnet\Intermediate\BuildLog.htm"
MQ2Telnet - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Labels, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2Labels\Intermediate\BuildLog.htm"
MQ2Labels - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2ItemDisplay, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2ItemDisplay\Intermediate\BuildLog.htm"
MQ2ItemDisplay - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Irc, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2Irc\Intermediate\BuildLog.htm"
MQ2Irc - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2HUD, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2HUD\Intermediate\BuildLog.htm"
MQ2HUD - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2EQIM, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2EQIM\Intermediate\BuildLog.htm"
MQ2EQIM - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2EQBugFix, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2EQBugFix\Intermediate\BuildLog.htm"
MQ2EQBugFix - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2CustomBinds, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2CustomBinds\Intermediate\BuildLog.htm"
MQ2CustomBinds - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2ChatWnd, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2ChatWnd\Intermediate\BuildLog.htm"
MQ2ChatWnd - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Chat, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2Chat\Intermediate\BuildLog.htm"
MQ2Chat - 1 error(s), 0 warning(s)
------ Build started: Project: MQ2Bzsrch, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file '..\Release\MQ2Main.lib'
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2Bzsrch\Intermediate\BuildLog.htm"
MQ2Bzsrch - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 13 failed, 0 up-to-date, 0 skipped ==========
 
You didn't set your MQ2Main as your start-up project and you didn't build it first seperately.
 
well im not sure how to set as the start up project any way you could send me a video on how to lol. well here is one of the errors i get when i try to do the MQ2main file alone



------ Rebuild All started: Project: MQ2Main, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'MQ2Main', configuration 'Release|Win32'
Compiling...
MQ2Windows.cpp
MQ2Utilities.cpp
MQ2Spawns.cpp
MQ2Pulse.cpp
MQ2PluginHandler.cpp
MQ2ParseAPI.cpp
MQ2Mouse.cpp
MQ2Main.cpp
EQLIB_EXPORTS
MQ2MacroCommands.cpp
MQ2KeyBinds.cpp
MQ2Globals.cpp
MQ2DInput.cpp
MQ2DetourAPI.cpp
MQ2DataVars.cpp
MQ2DataTypes.cpp
MQ2DataAPI.cpp
MQ2Data.cpp
MQ2Commands.cpp
MQ2CommandAPI.cpp
MQ2CleanUI.cpp
Generating Code...
Compiling...
MQ2ChatHook.cpp
MQ2Benchmarks.cpp
MQ2Auth.cpp
EQClasses.cpp
.\EQClasses.cpp(136) : error C3068: 'EQClasses::CStmlWnd::AppendSTML' : a 'naked' function cannot contain objects that would require unwinding if a C++ exception occurred
Generating Code...
Build log was saved at "file://c:\Documents and Settings\andy\Desktop\MQ2\MQ2Main\Intermediate\BuildLog.htm"
MQ2Main - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
 
ok i give up hehe i tried everything i know to try even used wiki i changed the setting and i still get errors
 
Compiling Macroquest for free guide
Status
Not open for further replies.

Users who are viewing this thread

Back
Top
Cart