Page 1 of 1
error compiling mq2-20031230
Posted: Tue Dec 30, 2003 8:06 am
by deda
trying to compile with .net gives this error:
MQ2Main fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions
Posted: Tue Dec 30, 2003 8:22 am
by bob_the_builder
Posted: Tue Dec 30, 2003 8:35 am
by EqMule
i use vs6 dont know if there is a problem in .net but if you cant compile it, use the previous version instead then.
Posted: Tue Dec 30, 2003 8:39 am
by bob_the_builder
if you cant compile it, use the previous version instead then
Yeah thanks, nice work around .... anyways, yes previous is working, the bzsrch is in this new update *cough* . Anyways, no worries mate. Just posting the issues I run across.
EDIT ...
Did you run MQ2Auth.exe to produce the new MQ2Auth0.h file needed?
Yes, otherwise I get an error about not finding the MQ2Auth0.h
Did that first before I read changes.txt .
Bob
Posted: Tue Dec 30, 2003 8:41 am
by EqMule
Did you run MQ2Auth.exe to produce the new MQ2Auth0.h file needed?
Posted: Tue Dec 30, 2003 9:55 am
by Schark
Getting the same error compiling the latest version from clean unpack of zip under .NET:
EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions
Posted: Tue Dec 30, 2003 11:58 am
by EqMule
did you REALLY follow the
Compiling Instructions?
and if that doesnt work and you are using vs net try menu Build->Batch Build and select only the Release versions...
Posted: Tue Dec 30, 2003 12:07 pm
by bob_the_builder
did you REALLY follow the Compiling Instructions?
and if that doesnt work and you are using vs net try menu Build->Batch Build and select only the Release versions...
Yes and yes. Same erro as the other post I had linked above, same error. I added the #if 0 and #endif as was the "fix" from the other post. Did not work this time. Same exact error though on the compile.
http://macroquest2.com/phpBB2/viewtopic.php?t=4354
Posted: Tue Dec 30, 2003 12:15 pm
by Teh_ish
Just gonna chime in. Getting the same problem here. VS .Net 2003 Professional. Tried the #if 0, no joy.
Posted: Tue Dec 30, 2003 12:50 pm
by J-Squared
Just gonna chime in. Getting the same problem here. VS .Net 2003 Professional. Tried the #if 0, no joy.
Just wanted to add.. same here. Read all the above, we seem to be getting the same thing. I'm also useing VS .Net 2003 Prof.
J
Posted: Tue Dec 30, 2003 1:10 pm
by Lax
Here's what you do.
Open up eqgame.h
Block comment all the new offsets starting at here:
Code: Select all
// CXWnd
#define CXWnd__Bottom 0x54ADB0
with either #if 0/#endif or /* */
And if you want to be useful instead of a dickweed, you could always help determine which ones are causing you this problem, by systematically commenting out different sections and narrowing it down.
If you need a quick lesson on algorithms here you go:
Each time you try it, chop it in half. If one half works fine and the other doesnt, you narrowed it down by 50%. If both dont, then you need to test both halves individually. This is a recursive algorithm, so first you have two halves... then you have four... then eight... then sixteen... but each time you're narrowing it down, so while there's 16 halves, you are only going to be checking two of them.
1,2 ... 2 is ok, split 1 into 1,2 and 2 is 3,4 (but we're ignoring 3,4)
1,2 ... 1 is ok, split 1 into 1,2 and 2 is 3,4 (but we're ignoring 1,2)
3,4 ... 4 is ok, split 3 into 5,6 and 4 is 7,8 (but we're ignoring 7,8)
.... etc...
JUST KEEP CHECKING HALF OF WHATS NOT WORKING, ASSHOLE
k
figure out which ones are fucking you up and you can have a cookie.
Posted: Tue Dec 30, 2003 3:29 pm
by Clambake
Ok looks like the following lines are causing the problem:
#define CStmlWnd__MakeWndNotificationTag 0x563870
and
#define CStmlWnd__ParseSTMLTable 0x5690D0
in VC .Net here as well.
Posted: Tue Dec 30, 2003 3:52 pm
by Lax
it's fixed for release, I'm just helping you all figure out how to solve your problems

Posted: Tue Dec 30, 2003 4:31 pm
by bob_the_builder
it's fixed for release, I'm just helping you all figure out how to solve your problems
Thanks, that's all I ask for. Guidance and Wisdom to do the things that I know I can do
Bob-the-dickweed
Posted: Tue Dec 30, 2003 8:13 pm
by tehHax0r
Clambake wrote:Ok looks like the following lines are causing the problem:
#define CStmlWnd__MakeWndNotificationTag 0x563870
and
#define CStmlWnd__ParseSTMLTable 0x5690D0
in VC .Net here as well.
Commenting out these offsets fixes the error under VCNET 2003 for me as well.