Compiler Problems

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

User avatar
driftinsupra
Official loudmouth
Official loudmouth
Posts: 212
Joined: Tue Jan 28, 2003 9:25 pm

Post by driftinsupra » Mon Mar 10, 2003 4:44 pm

But I am not even try9ing to run eq yet? I am just trying to get the program working but your right I didnt try to use the new offsets so I will give that a shot and see how it works then

almostleet
orc pawn
orc pawn
Posts: 11
Joined: Mon Mar 10, 2003 2:20 pm

Post by almostleet » Mon Mar 10, 2003 4:54 pm

Having the same problem as supra here, atleast I don't feel so alone now. But yeah evrything is GO except MQ shuts down after a few seconds. (yes I have the latest offsets)

User avatar
driftinsupra
Official loudmouth
Official loudmouth
Posts: 212
Joined: Tue Jan 28, 2003 9:25 pm

Post by driftinsupra » Mon Mar 10, 2003 5:06 pm

ok I found out it will stay open until I move my mouse cursor over the icon in the systray. Whats up with that?

almostleet
orc pawn
orc pawn
Posts: 11
Joined: Mon Mar 10, 2003 2:20 pm

Post by almostleet » Mon Mar 10, 2003 5:12 pm

But it still won't work when you run EQ, I tried.

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Mon Mar 10, 2003 5:13 pm

The DX81 SDK typicaly will install in C:\dxsdk. So the additional resources include directory field will say : C:\dxsdk\lib . Don't forget to setup Macroquest as your active project. Also setup eqlib as a dependancy to Macroquest. Under "fileview", dont forget to add your macroquest files to the project.

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 10, 2003 5:37 pm

driftinsupra wrote:ok I found out it will stay open until I move my mouse cursor over the icon in the systray. Whats up with that?
Macroquest has crashed after it has drawn the icon.

It will crash if you don't have the MemChecker address in your eqgame.ini.
Last edited by dont_know_at_all on Mon Mar 10, 2003 5:52 pm, edited 1 time in total.

User avatar
driftinsupra
Official loudmouth
Official loudmouth
Posts: 212
Joined: Tue Jan 28, 2003 9:25 pm

Post by driftinsupra » Mon Mar 10, 2003 5:43 pm

ok got updated offsets and still it just exits out

User avatar
driftinsupra
Official loudmouth
Official loudmouth
Posts: 212
Joined: Tue Jan 28, 2003 9:25 pm

Post by driftinsupra » Mon Mar 10, 2003 5:48 pm

Ok well I copied everything in the release directory over into the old release directory and it seems to work, can anyone tell me if this is gonna skrew anything up?

User avatar
driftinsupra
Official loudmouth
Official loudmouth
Posts: 212
Joined: Tue Jan 28, 2003 9:25 pm

Post by driftinsupra » Mon Mar 10, 2003 5:55 pm

OK so more hitches in the road. I ran mq and then eq and all seems to have gone well. I get into the game and see the familiar MacroQuest is active message but as soon as I do a /whotarget on an NPC I crash to desktop. Is this me being an idiot or something that isnt quite fixed with MQ?

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Mon Mar 10, 2003 5:56 pm

Silly question... did you copy the eqlib.dll to the same directory which you where running macroquest.exe? If the exe cant find the dll, the exe will exit.

almostleet
orc pawn
orc pawn
Posts: 11
Joined: Mon Mar 10, 2003 2:20 pm

Post by almostleet » Mon Mar 10, 2003 6:02 pm

Macroquest has crashed after it has drawn the icon.

It will crash if you don't have the MemChecker address in your eqgame.ini.


Can you elaborate a bit more on this for me please?

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Mon Mar 10, 2003 6:04 pm

almostleet wrote:
Macroquest has crashed after it has drawn the icon.

It will crash if you don't have the MemChecker address in your eqgame.ini.


Can you elaborate a bit more on this for me please?
You will also see that behavior if the executable can not find the correct eqlib.dll.

almostleet
orc pawn
orc pawn
Posts: 11
Joined: Mon Mar 10, 2003 2:20 pm

Post by almostleet » Mon Mar 10, 2003 6:10 pm

How do I check my MemChecker address?

this is the line in the .ini

MemChecker=004F7D24
Last edited by almostleet on Mon Mar 10, 2003 6:12 pm, edited 2 times in total.

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 10, 2003 6:11 pm

driftinsupra wrote:OK so more hitches in the road. I ran mq and then eq and all seems to have gone well. I get into the game and see the familiar MacroQuest is active message but as soon as I do a /whotarget on an NPC I crash to desktop. Is this me being an idiot or something that isnt quite fixed with MQ?
This sounds like you have old source. If you got source from me, get rid of it and grab the latest from the website. I originally did the memcheck changes based on the CVS source which is waaaay old.

You may have old offsets also.

Lastly, make eqjoe is correct. Make sure that the mq executable is finding the eqlib.dll that you compiled.

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Mon Mar 10, 2003 6:15 pm

Guys... all of you that are having problems with MQ exiting right after you start it, or it exits after you put your mouse over it. The directory which you start macroquest.exe should also have in it both your INI files (eqgame.ini and Macroquest.ini), eqlib.dll, Perl56.dll and ItemDB.txt. When you compile this project the DLL and the EXE will be in seperate directories. Copy them both to a fresh directory with the other files listed here.