Compiling problems after patch.

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

Homer
orc pawn
orc pawn
Posts: 28
Joined: Fri Apr 11, 2003 12:01 pm

Compiling problems after patch.

Post by Homer » Sun Nov 09, 2003 2:54 pm

I'm not much into programming but I found out how to compile macroquest awhile back using the post from jninja and Kint in this thread:

http://macroquest2.com/phpBB2/viewtopic ... 0&start=60

I use Visual Studio 6 and it has worked great until now after the new patch.

I tried with the newest CVS and the newest zip file and it compiles fine, but when I enter EQ with any character, I get a popup window named "Microsoft Visual C++ Debug Library":

"Program: D:\Games\Everquest\eqgame.exe
Module:
File: i386\chkesp.c
Line: 42

The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

(Press Retry to debug the application)"

Then it has 3 buttons: Abort, Retry, Ignore. If I press retry it comes up again, Ignore it goes away but comes again when I do a /who, and Abort crashes EQ.



I got this Dejavu.zip release to work:

http://macroquest2.com/phpBB2/viewtopic.php?t=3896

I'm just wondering how to compile the new CVS release?

Homer
orc pawn
orc pawn
Posts: 28
Joined: Fri Apr 11, 2003 12:01 pm

Post by Homer » Sun Nov 09, 2003 2:59 pm

I have another question, I just found this:
If you are using Visual Studio 6.0 to build, you must go to the C/C++ tab and change the struct byte allignment from 8 to 1.

Or, use the makefile.
in this thread:

http://macroquest2.com/phpBB2/viewtopic.php?t=2122


Is that the one under Settings, C++ tab, Category: Code generation, "Struct member alignment" that has to be set to "1 byte"?

Or how do I use the makefile? :)

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sun Nov 09, 2003 3:01 pm

Yes that's the one. But struct alignment wouldnt give you compile errors, it would just make MQ screw up a lot while running. The newest release should work fine, but apparently the stack pointer isn't being saved somewhere and we need to track that down.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Homer
orc pawn
orc pawn
Posts: 28
Joined: Fri Apr 11, 2003 12:01 pm

Post by Homer » Mon Nov 10, 2003 5:35 am

Thanks for the answer. Glad it is not only me having problems then, strange it works for some though.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Nov 10, 2003 1:00 pm

Actually I'd say strange it doesnt work for some =(

Grab the latest zip and compile. If it compiles, get us debugging information. Without it we cant get the problem fixed
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0