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

Theo Macris theo at dsl-only.net
Tue Jan 13 11:58:34 EST 2004


as I have said below I have tried all the combinations of port and ip
that I can think of. In SoF2 there is a cvar called lan_mask or
something like that. Does CoD have such a setting? One machine is
running on port 28960 and the next defaults up to 28961:

Opening IP socket: 192.168.0.9:28960
ERROR: UDP_OpenSocket: bind: Address already in use
Opening IP socket: 192.168.0.9:28961

This sucks. Well at least there is one server present and a second
one if we get our modified uglyGS working. Any other ideas? Anyone
tried this on a LAN?




---- Original Message ----
From: cod at kaleplek.net
To: cod at icculus.org
Subject: Re: [cod] 2 servers on one machine -Help, Friday deadline!
Date: Tue, 13 Jan 2004 12:38:36 -0100 (CET)

>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