[cod] 2 servers on one machine -Help, Friday deadline!

Steven Hartland steven at multiplay.co.uk
Tue Jan 13 08:38:20 EST 2004


./cod_lnxded +set dedicated 2 +exec server1.cfg +set net_port 10000
and:
./cod_lnxded +set dedicated 2 +exec server2.cfg +set net_port 11000

Works fine here running over 50 servers like it.
If you want to do LAN servers you must have the servers in the port
range 28960 -> 28963 as thats the only ports the client broadcasts
to when looking for LAN servers.
e.g.
codmp +set net_port 28961 +set dedicated 1 +exec server1.cfg +map mp_chateau
codmp +set net_port 28962 +set dedicated 1 +exec server2.cfg +map mp_chateau

    Steve / K
----- Original Message ----- 
From: "Theo Macris" <theo at dsl-only.net>
To: <cod at icculus.org>
Sent: Tuesday, January 13, 2004 3:20 AM
Subject: [cod] 2 servers on one machine -Help, Friday deadline!


> I'm trying to run 2 servers on one machine (now with 2 NICs) for a huge
> LAN.
> 
> What to do! Only one server shows in the game browser!
> I have tried all combinations of net_ip net_port Ive even tried binding
> two IPs to a NIC and when that didnt work I installed another NIC. The
> LAN starts on Friday, I need help! If you have two servers running,
> please let me see your start scripts.
> 
> #!/bin/sh
> ./cod_lnxded +set dedicated 1 +exec dedicated1.cfg +map_rotate
> 
> File Handles:
> ----------------------
> 29625 files in pk3 files
> execing default_mp.cfg
> couldn't exec language.cfg
> execing config_mp_server.cfg
> couldn't exec autoexec_mp.cfg
> Hunk_Clear: reset the hunk ok
> Opening IP socket: localhost:28960
> --- Common Initialization Complete ---
> Started tty console (use +set ttycon 0 to disable)
> execing dedicated1.cfg
> logfile opened on Mon Jan 12 19:15:20 2004
> 
> 
> #!/bin/sh
> ./cod_lnxded +set net_ip 192.168.0.9 +set dedicated 1 +exec
> dedicated2.cfg +map_rotate
> 
> File Handles:
> ----------------------
> 29625 files in pk3 files
> execing default_mp.cfg
> couldn't exec language.cfg
> execing config_mp_server.cfg
> couldn't exec autoexec_mp.cfg
> Hunk_Clear: reset the hunk ok
> Opening IP socket: 192.168.0.9:28960
> ERROR: UDP_OpenSocket: bind: Address already in use
> Opening IP socket: 192.168.0.9:28961
> --- Common Initialization Complete ---
> Started tty console (use +set ttycon 0 to disable)
> execing dedicated2.cfg
> logfile opened on Mon Jan 12 19:16:09 2004
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
>  
> 
> 

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.





More information about the Cod mailing list