[bf1942] Failure to open ports
Rust, Robert
RustRobert at stanleygroup.com
Thu Jan 2 10:01:22 EST 2003
How about sharing the php code...that looks interesting..
-----Original Message-----
From: ScratchMonkey [mailto:ScratchMonkey at SewingWitch.com]
Sent: Thursday, January 02, 2003 9:00 AM
To: Battlefield 1942
Subject: [bf1942] Failure to open ports
Using the xmas build, if I restart from the command line (ssh) the server
starts pretty reliably, but if I restart from a webscript (PHP issuing same
command using sudo), the server exhibits the "trying to bind to
255.255.255.255" behavior. It only opens the remote admin port, but no
GameSpy or player ports. I'm suspecting this is some kind of timing bug
regarding restarts, perhaps with the sockets not getting shut down cleanly
when a SIGTERM is received so they're not available immediately when it
comes back up. (But I have a 6 second delay between stop and start and it
still fails.)
In my ServerSettings.con:
game.serverInternet 1
game.setServerIP 66.28.14.59
game.setServerPort 14567
More information about the Bf1942
mailing list