Date: Tue, 27 Jan 1998 02:52:48 -0500 From: Michael Imor <umji@cs.sunyit.edu> To: luoqi@watermarkgroup.com (Luoqi Chen) Cc: emulation@FreeBSD.ORG Subject: Re: I've got quake2 running, but not network mode Message-ID: <199801270358.DAA00314@fang.cs.sunyit.edu> In-Reply-To: <9801270147.AA28843@watermarkgroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Any chance of getting your hacked mremap()? Quake2 uses basically the same networking code as QuakeWorld (which runs OK under FreeBSD). Mike At 08:47 PM 1/26/98 -0500, Luoqi Chen wrote: >After hacked a version of mremap() that only implements shrinking, I was >able to play single-player games (softx version). But I had trouble with >network mode. When I chose join a game from the multiplayer menu, it exited >before showing the server and port menu. The error printed was Net_Sendpacket >error -99, which is EADDRNOTAVAIL. I did a ktrace, it was a sendto() call >to broadcast address 255.255.255.255, and since my default route is a non- >broadcastable ppp link, it returned error EADDRNOTAVAIL. So I added a piece >of code in linux_sendto(), whenever it saw a 0xffffffff address, I changed >to broadcast address of my ethernet card (not connected). The -99 error >message went away, but quake2 still shutdown at the same point. Does anyone >have any idea? It seems that networking code has changed a lot from quake >to quake2. > >-lq >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801270358.DAA00314>