ackk help ;) i have no clue why it doesnt work

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

After reading this, what do you think?

You are a tard! dont use my program!
5
36%
Hmm, looks like u r on right track
3
21%
help, i'm a noob too!
6
43%
 
Total votes: 14

aidanz2
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sun Mar 16, 2003 8:48 pm

ackk help ;) i have no clue why it doesnt work

Post by aidanz2 » Sun Mar 16, 2003 8:55 pm

ok, i read about this and wanted to give the prog a try but am having issues ;)

First off i tried downloading the precompiled .zip from the sourceforge files section, obviously not the latest version of the program ;)
i downloaded the latest ini file, my opther ini file doent have .dist on it. I launchthe prog, it goes into the tray, i launch eq window, login, select my char, enterworld, and eq crashes.

I do have VC6 on my comp, and tried to compile source but am having issues there as well. I saw a brief tutorial and tried it. I recompiled detours.h, and.lib, put them in my include and lib folders. I have an active workspace w/ an eqlib dll workspace in that. I added all of the files needed. Where i am stcuk is what do u mean w/ the add direct x 8.1 stuff and also where to add the win_32.lib and also the other lib topwards the end.

thx a lot for any help ;)
maybe to make it easier could anyone just email me the compiled version of the 3-8-03 release :)
thanks a lot

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Sun Mar 16, 2003 8:59 pm

You got the wrong source code. The version on Sourceforge isn't current (hey Liz, I did bring this up... :) )

You are looking for a file named SRC-20030308.zip. The link is in one of the posts in the general discussion forum.

aidanz2
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sun Mar 16, 2003 8:48 pm

Post by aidanz2 » Wed Mar 19, 2003 4:40 pm

ok, doenloaded source from http://www.roylemotorworks.com/archives ... 08-MCK.zip

opened vc++6
opened the .cpp
compiled ok
but got errors in linking the file
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/MacroQuest.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

MacroQuest.exe - 2 error(s), 0 warning(s)
help anyone?
Thx a lot :)

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Wed Mar 19, 2003 5:38 pm

Eh, depends on when you downloaded my source files. A few days back they were wrong... correct version is there now, but don't remember when I uploaded the repaired version.

And you should be aware that the -MCK source files are my personal build, and my incorporate some experimental and/or non-sanctioned stuff.

That being said, you can't just compile the -MCK source. Assuming all the settings in my VC6 workspace carried over properly (can't see why they shouldn't), you can't just hit "compile".

Open the workspace. From the top menues, select Build, then Batch Build. Make sure both project configurations, EQLib and Macroquest are checked. Then click Build.

It should take an ungodly long time (at least on my machine) due to certain optimizations.

Assuming everything goes correctly, you get two new files in the /SRC-20030308-MCK/Release directory, MacroQuest.exe and EQLib.dll.

Certain notes: if you haven't compiled Detours yet it may not work. Yes, my versions of detours.h and detours.lib are in the -MCK distribution, but there's a good chance I didn't change the source code and workspace files to point to those correctly, since I also put them in my VC6 directories. Second, dinput.h is in my VC6 include directory, so if ya got the wrong version of that you might have problems.

I've had the whole link failure thing before though. Seems to be a minor bug in VC6. Whatcha do, ya go to Build, Batch Build, make sure both are checked, and click Clean. That gets rid of all the intermediate files that didn't link together right. Also gets rid of MacroQuest.exe and EQLib.dll in the Release directory. Clean it up, then Batch Build again.

Hope that helps. For anyone else reading this, the only one who can help you with the -MCK files is yours truly, since I assembled that collection and made the source tree modifications. Just gimme a PM if you need help with that setup, since it ain't official in any way, shape or form.

aidanz2
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sun Mar 16, 2003 8:48 pm

Post by aidanz2 » Thu Mar 20, 2003 10:11 pm

ok, here are steps i found in a post
For the VC60 compiler, you must:
1. Compile the detours source and move lib and pdb file into appropriate directory
2. Create a blank win32 application project pointing at the MQ directory.
3. Add a win32 dll project to the project in step 2. Call it eqlib
4. Add all the sources in the eqlib directory to the eqlib project.
5. Add the CINTERFACE definition to the Preprocess definitions.
6. Add the DX8.1 include path to the Additional include directories.
7. Add ws2_32.lib to the Object/library modules.
8. Add ..\Detours\lib (where you put the objects from 1.) to Additional library path
9. Press F7 and cross your fingers.
10. Switch back to the main project.
11. Add the sources in the MacroQuest directory to this project.
12. Press F7 and pray.

Everything should have compiled at that point. Gather up exe and eqlib.dll and you should be good to go.
ok, have correct detours.
2. made a blank wuin32, and a dll fike
4. added sources
5. added cinterface ( do u need a _ after the comma, the other things in that box hadem)

ok now i have problems.
6. how do u add dx 8.1,
7. where is theobject/library module?
8. what is the aditional library's patgh?

and from there i understanfd, but i can guess theese r important parts ;)
any help would be areciated for this lil noob

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Fri Mar 21, 2003 10:52 am

I repeat, if you are using the source code from SRC-20030308-MCK, the steps posted elsewhere to compile are INCORRECT.

The -MCK files are my private build, and all the necessary VC6 workspace mods have already been done. Following the steps you listed will just mess things up. See my previous post in this thread for what you need to do.

aidanz2
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sun Mar 16, 2003 8:48 pm

Post by aidanz2 » Sun Mar 23, 2003 3:12 am

that one wasn't you're personal one ;)
its the normal release

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Sun Mar 23, 2003 8:49 pm

Incorrect. SRC-20030308-MCK.zip is my PERSONAL build, not the official one, which is why you find it at Royle Motorworks, Ltd. and not at Sourceforge or Evil Pumpkin (L124RD's server).

The -MCK build has a number of customizations, including a modified source tree and the necessary code changes to support it, removal of all PERL functions, etc. At one point it had all the Telnet code stripped from it, but I replaced that after a kick from Revenge (thanks bro.)

And I repeat again, instructions posted elsewhere will not work when trying to compile any source code with -MCK in it. If you follow the 12 step program listed in other posts (and above) you will make a mess because of alterations I've made to various directories, and because it is already configured for VC6.

aidanz2
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sun Mar 16, 2003 8:48 pm

Post by aidanz2 » Mon Mar 24, 2003 1:42 pm

nonono, i meant that attempt was WITH the normal release, lol sorry for being vague. I didn;t use the MCK that time

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Mon Mar 24, 2003 5:12 pm

Ah, okay, sorry for the misunderstanding.

Use the Windows search function to find your missing files; looks like you are having trouble finding dinput.h.

You don't need to worry about where ws2_32.lib is, just add it. Won't need the full path to it since it is in a subdirectory of VC6 that the program will find without trouble.

aidanz2
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sun Mar 16, 2003 8:48 pm

Post by aidanz2 » Mon Mar 24, 2003 9:01 pm

the instructions say
6. Add the DX8.1 include path to the Additional include directories.
, . Add ..\Detours\lib (where you put the objects from 1.) to Additional library path
where do i make/find the additional include directories. Also, what exactly am i linking to in the directx folder?
thx

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Mar 24, 2003 11:28 pm

aidanz2 wrote:where do i make/find the additional include directories. Also, what exactly am i linking to in the directx folder?
thx
You need the DirectX 8.1 SDK for the include files.

You are not linking against directx.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Tue Mar 25, 2003 12:39 pm

You are adding the directory that contains dinput.h to your list of additional include directories. On my computer that directory is C:\DXSDK\Include.