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

cod at kaleplek.net cod at kaleplek.net
Tue Jan 13 08:38:36 EST 2004


Hi there,

Yoe can see in your logfile that both servers are using the same port.
What you have to do is setup both servers on different ports.

#!/bin/sh
../cod_lnxded +set dedicated 1 +set net_port 28960 +set net_ip >> first
nic <<  +exec dedicated1.cfg +map_rotate

#!/bin/sh
../cod_lnxded +set dedicated 1 +set net_port 28965 +set net_ip >> second
nic << +exec dedicated1.cfg +map_rotate

Be sure not to put it in your config file those ports. I heard there are
some issues with this.

Regards
Quint



> 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
>







More information about the Cod mailing list