Compiling Anet

Dig into the deep dark mysteries that Activision left behind...

Moderator: megahirtz

Post Reply
WT_Lexi
Vigilante
Posts: 66
Joined: Sun Feb 08, 2004 4:16 pm
Location: Wuppertal / Germany
Contact:

Compiling Anet

Post by WT_Lexi »

Jeezuz,

i just tried compiling the ANET Server on my Debian Box and thats all i got.

---cut
../../../dp/dpprivy.c: In function `writeSwap':
../../../dp/dpprivy.c:117: warning: use of cast expressions as lvalues is deprecated
../../../dp/dpprivy.c: In function `readSwap':
../../../dp/dpprivy.c:122: warning: use of cast expressions as lvalues is deprecated
make[1]: *** [dpprivy.o] Error 1
make[1]: Leaving directory `/tmp/dep/src/linux/dp/normal'
+ die
+ echo 'Build failed; ./build'
Build failed; ./build
+ exit 1
make: *** [all] Error 1
---cut

I guess Dan used a few commands in his Makefile who are out of date and have been removed in actual GCC Versions. I emailed him the problem and hope he gets the time to respond.

Maybe we can get that "I wanna Host behind a Router" issue overworked aswell. The Server operates at a Standard UDP Port but communicates on random Ports with the Clients. Maybe i can read out something. Together with the patched .dll Files it would be possible to fix that issue.

We?ll see if his Kegelhighness answers my mail. I hope so.
Lexi
Wolfteam
Lightfoot
Legend of Sorts
Posts: 2345
Joined: Wed Dec 31, 1969 4:00 pm
Location: Somewhere in the Southwest
Contact:

...

Post by Lightfoot »

:D
-Lightfoot

http://twitch.tv/dsavage66
http://discord.me/ultrafunk

If only you could see what I've seen...
WT_Lexi
Vigilante
Posts: 66
Joined: Sun Feb 08, 2004 4:16 pm
Location: Wuppertal / Germany
Contact:

Post by WT_Lexi »

And zzzapp. I got an answer from Dan:

---cut
The bad functions will compile with gcc-2.95.3, maybe you can install that.

Otherwise the fix is to change

(unsigned char *)*bp += size;

to

(*(unsigned char **)bp) += size;

i.e. just move the star left :-)

Let me know if this helps.
- Dan
---cut

Will do that and then report back ;-)
Lexi
Wolfteam
Lightfoot
Legend of Sorts
Posts: 2345
Joined: Wed Dec 31, 1969 4:00 pm
Location: Somewhere in the Southwest
Contact:

...

Post by Lightfoot »

:shock:
-Lightfoot

http://twitch.tv/dsavage66
http://discord.me/ultrafunk

If only you could see what I've seen...
Ataraxia
Vigilante
Posts: 113
Joined: Tue Feb 08, 2005 2:48 am
Location: NSW, Australia
Contact:

Post by Ataraxia »

Now to start building that ME box I keep promising myself to do. By the time thats done, hopefully we can see some action! :D
KIV 6051 [SH]
Legend
Posts: 582
Joined: Wed Mar 31, 2004 3:53 pm
Contact:

Post by KIV 6051 [SH] »

I'd recommend joining the Anet yahoo group. It's basically a forum except all the posts are emails to the members. Speaking of which, I am willing to pay a programmer to fix the DLL files and possibly rewrite the source for Anet so that it can be hosted from a more modern OS. I'm going to see if I can get a thread going in the yahoo group to see if anyone is interested.
The link to join is here:

http://groups.yahoo.com/group/anet-server/ "or send a message to anet-server-subscribe@yahoogroups.com to join."

Which you probably already know is posted here:

http://kegel.com/anet/
The Wingnut
Hell on Wheels
Posts: 75
Joined: Thu Feb 12, 2004 1:07 am
Location: Hell, NM
Contact:

Post by The Wingnut »

In my typical 'late to the game' fashion and oblivious nature, I'm putting together a puzzle that's telling me the last server that was available for all flavors of I'76 has been updated beyond being able to support us. Is this true? Do we have nowhere to play online?
Killed 12 - 27- 83...but that was my 8th life.
Lightfoot
Legend of Sorts
Posts: 2345
Joined: Wed Dec 31, 1969 4:00 pm
Location: Somewhere in the Southwest
Contact:

Nope...

Post by Lightfoot »

BZ911.COM...

The server works but it dosen't suppor "original" I'76, just Nitro Pack and I'82...and the BZ'ers aren't super friendly...

Kind of like us...
-Lightfoot

http://twitch.tv/dsavage66
http://discord.me/ultrafunk

If only you could see what I've seen...
The Wingnut
Hell on Wheels
Posts: 75
Joined: Thu Feb 12, 2004 1:07 am
Location: Hell, NM
Contact:

Post by The Wingnut »

Okay...I've just seen some hints that there's no more online play available. People compiling for their own servers, references to 'the end finally coming', so forth.

Anything happening tonight? I'm itching to get blown the hell up, since that's all I was ever good for.
Killed 12 - 27- 83...but that was my 8th life.
The Wingnut
Hell on Wheels
Posts: 75
Joined: Thu Feb 12, 2004 1:07 am
Location: Hell, NM
Contact:

Post by The Wingnut »

..and instead of posting out of context, let me put something up in the 'General' forum and stop hijacking a dormant thread.
Killed 12 - 27- 83...but that was my 8th life.
Post Reply