error compiling mq2-20031230

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

deda
a lesser mummy
a lesser mummy
Posts: 33
Joined: Thu Apr 24, 2003 3:40 pm

error compiling mq2-20031230

Post by deda » Tue Dec 30, 2003 8:06 am

trying to compile with .net gives this error:

MQ2Main fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Tue Dec 30, 2003 8:22 am

I tried using the "fix" from this link

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

No go...

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Tue Dec 30, 2003 8:35 am

i use vs6 dont know if there is a problem in .net but if you cant compile it, use the previous version instead then.
Last edited by EqMule on Tue Dec 30, 2003 8:41 am, edited 2 times in total.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Tue Dec 30, 2003 8:39 am

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
Last edited by bob_the_builder on Tue Dec 30, 2003 8:52 am, edited 2 times in total.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Tue Dec 30, 2003 8:41 am

Did you run MQ2Auth.exe to produce the new MQ2Auth0.h file needed?
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

User avatar
Schark
orc pawn
orc pawn
Posts: 28
Joined: Sat Nov 29, 2003 5:37 am

Post by Schark » Tue Dec 30, 2003 9:55 am

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

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Tue Dec 30, 2003 11:58 am

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...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Tue Dec 30, 2003 12:07 pm

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

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Post by Teh_ish » Tue Dec 30, 2003 12:15 pm

Just gonna chime in. Getting the same problem here. VS .Net 2003 Professional. Tried the #if 0, no joy.
OMGWTFBBQ

J-Squared
orc pawn
orc pawn
Posts: 22
Joined: Wed Nov 19, 2003 11:02 am

Post by J-Squared » Tue Dec 30, 2003 12:50 pm

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

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 » Tue Dec 30, 2003 1:10 pm

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.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Clambake
decaying skeleton
decaying skeleton
Posts: 3
Joined: Mon Dec 22, 2003 12:50 pm

Post by Clambake » Tue Dec 30, 2003 3:29 pm

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.

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 » Tue Dec 30, 2003 3:52 pm

it's fixed for release, I'm just helping you all figure out how to solve your problems ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Tue Dec 30, 2003 4:31 pm

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

tehHax0r
a lesser mummy
a lesser mummy
Posts: 40
Joined: Sat Oct 11, 2003 12:13 am

Post by tehHax0r » Tue Dec 30, 2003 8:13 pm

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.
[quote]Among programmers, laziness is considered the highest art form, and we do our best to express our souls in this art.[/quote]