PDA

View Full Version : CoD4 linux dedicated LAN server issues.


johnblade
12-12-2007, 07:58 AM
Heya all, trying to start a linux LAN server and having no joy.

./cod4_lnxded-bin +set dedicated 1 +exec server.cfg +map_rotate +set net_ip 10.0.0.26

With the above I can't see any servers show up in the Browser and yes i am waiting about 5 mins. Tried adding the port specification in the startup but no joy.

When the game starts up I ask it the 'dedicated' variable and it comes back:
dedicated
"dedicated" is: "dedicated internet server^7" default: "dedicated internet server^7"
Domain is one of the following:
0: listen server
1: dedicated LAN server
2: dedicated internet server


So it's not taking the command correctly.
Try to set it when its started and...
set dedicated 1
dedicated is read only.


I'm trying to have this server work in a non-internet LAN.

MajorWoody
12-12-2007, 10:38 PM
./cod4_lnxded-bin +set dedicated 1 +exec server.cfg +map_rotate +set net_ip 10.0.0.26
Are you also setting "dedicated 1" in your config? Remove it if you are. Try dropping the ip off the command. It'll auto detect just fine. If you've really got more than one IP on your LAN box move the IP before the server.cfg like:

./cod4_lnxded-bin +set dedicated 1 +set net_ip 10.0.0.26 +exec server.cfg +map_rotate

johnblade
12-14-2007, 02:46 AM
fixed it - grabbed the latest beta and worked: http://treefort.icculus.org/cod/cod4-linux-server-12102007.tar.bz2

still in internet mode though, but at least i can see it on the games list.