SDL Network Crash

For all the help you need with Armagetron!
Post Reply
User avatar
subby
Shutout Match Winner
Posts: 1199
Joined: Sun Dec 21, 2003 1:18 am
Location: A cave, Melbourne, Australia.

SDL Network Crash

Post by subby »

Hi everyone, its me, the oldies will know me but the newbies won't Anyway I CVS'ed ARmarmaAd compilation and it worked compiled perfectly with gcc 3.4, well done guys :)

Anyway The game works fine as a local game but crashes if i try network game with the famous "SDL" thingy error.

Anybody have this problem with network? Whats the likely cause. Whats the best and quickest way of finding out the problem? What info should i post to help me play a little arma again (been a long while)

Thanks

P.S. I hope my easy way out for adding the hud into the "psuedo FPS" function hasn't upset you z-man hehe. :mrgreen:
User avatar
/dev/null
Shutout Match Winner
Posts: 819
Joined: Sat Sep 04, 2004 6:28 pm
Location: Chicago-ish

Post by /dev/null »

Your hostname has to be resolvable, if its not itll bomb
edit your /etc/hosts file and add a line something like this to it

Code: Select all

192.168.0.1     eatavegan
where eatavegan is replaced with your hostname, and the ip is replaced with either your actual ip, or your loopback ip, either way will work, as long as it resolves.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: SDL Network Crash

Post by Z-Man »

subby wrote: P.S. I hope my easy way out for adding the hud into the "psuedo FPS" function hasn't upset you z-man hehe. :mrgreen:
Not too much :) I hope you don't mind if I give it a more sensible name when I see it the next time, and move it into a source file on its own.

I commited the old hostname lookup fix from Armagetron to CVS, that should solve this problem for everyone.
User avatar
subby
Shutout Match Winner
Posts: 1199
Joined: Sun Dec 21, 2003 1:18 am
Location: A cave, Melbourne, Australia.

Re: SDL Network Crash

Post by subby »

z-man wrote:
subby wrote: P.S. I hope my easy way out for adding the hud into the "psuedo FPS" function hasn't upset you z-man hehe. :mrgreen:
Not too much :) I hope you don't mind if I give it a more sensible name when I see it the next time, and move it into a source file on its own.

I commited the old hostname lookup fix from Armagetron to CVS, that should solve this problem for everyone.
Cool, i'll try download the new CVS version on the weekend to tryit out, else I'll chnage the hosts file. (It makes sense that it failed to me now since I had changed the hostname b/c I had two computers with the same hostname which stuffed up samba file serving)

@z-man: And no, I really felt bad putting the code where I did z-man. I wanted to create its own file but had too little experience with *nix programming to be confident enough in committing a major change to the overall file structure w/o f*cking it all up :)
Post Reply