Discussion:
Quake2 dedicated Bad Challenge
Ethan A Burns
2005-09-19 20:17:43 UTC
Permalink
I am having problems running quake2's dedicated server feature on my FreeBSD
box at home. I do quake2 +set dedicated 1 and the server starts up. I can
connect fine a first time, however, when I try to connect again after the first
time I keep getting a Bad Challenge error. The only thing that has seemed to
fix this so far is restarting the server.
Has anyone else had this problem? Does anyone know a fix for this yet?


--Ethan--
Nick Warne
2005-09-19 20:32:32 UTC
Permalink
Post by Ethan A Burns
I am having problems running quake2's dedicated server feature on my
FreeBSD box at home. I do quake2 +set dedicated 1 and the server starts
up. I can connect fine a first time, however, when I try to connect again
after the first time I keep getting a Bad Challenge error. The only thing
that has seemed to fix this so far is restarting the server.
Has anyone else had this problem? Does anyone know a fix for this yet?
Well, here is the code:

313 // see if the challenge is valid
314 if (!NET_IsLocalAddress (adr))
315 {
316 for (i=0 ; i<MAX_CHALLENGES ; i++)
317 {
318 if (NET_CompareBaseAdr (net_from,
svs.challenges[i].adr))
319 {
320 if (challenge ==
svs.challenges[i].challenge)
321 break; // good
322 Netchan_OutOfBandPrint (NS_SERVER, adr,
"print\nBad challenge.\n");
323 return;
324 }
325 }
326 if (i == MAX_CHALLENGES)
327 {
328 Netchan_OutOfBandPrint (NS_SERVER, adr, "print\nNo
challenge for address.\n");
329 return;
330 }
331 }

It seems to me to be a 'local' network vs not 'local' network issue, and not a
BSD problem. Is your box on the internet? If so, pass me IP to see if I can
connect OK?

Nick
--
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."
Loading...