[cod] +set net_ip

Andrew Urm cod at lok1.net
Wed May 26 16:24:32 EDT 2004


Nope, appended both net_ip and net_port, but still gives me the same
error and starts up on :28961.

My command line is:
./cod_lnxded +set dedicated 2 +exec ded.cfg +set net_ip 69.9.37.131 +set
net_port 28960

I have pb_sv_enable in my .cfg and a map_rotate at the bottom of it.

My ifconfig shows the following:

loki at charlene:~/cod131$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:81:27:B7:00
           inet addr:69.9.37.130  Bcast:69.9.37.143  Mask:255.255.255.240
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:30682824 errors:0 dropped:0 overruns:0 frame:0
           TX packets:22237007 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:4202356858 (4007.6 Mb)  TX bytes:3465653294 (3305.1 Mb)
           Base address:0x1000 Memory:f4000000-f4020000

eth0:0    Link encap:Ethernet  HWaddr 00:E0:81:27:B7:00
           inet addr:69.9.37.131  Bcast:69.255.255.255  Mask:255.255.255.255
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           Base address:0x1000 Memory:f4000000-f4020000

eth0:1    Link encap:Ethernet  HWaddr 00:E0:81:27:B7:00
           inet addr:69.9.37.132  Bcast:69.255.255.255  Mask:255.255.255.255
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           Base address:0x1000 Memory:f4000000-f4020000

eth0:2    Link encap:Ethernet  HWaddr 00:E0:81:27:B7:00
           inet addr:69.9.37.133  Bcast:69.255.255.255  Mask:255.255.255.255
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           Base address:0x1000 Memory:f4000000-f4020000

...and so on.

This is my console output:

loki at charlene:~/cod131$ ./cod_lnxded +set dedicated 2 +exec ded.cfg +set
net_ip 69.9.37.131 +set net_port 28960
COD MP 1.4 build linux-i386 Apr 14 2004
----- FS_Startup -----
Current search path:
/home/loki/.callofduty/main
/home/loki/cod131/main/zzzpam_sounds.pk3 (12 files)

-snip-

File Handles:
----------------------
30173 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: 69.9.37.131:28960
ERROR: UDP_OpenSocket: bind: Address already in use
Opening IP socket: 69.9.37.131:28961
Hostname: charlene.avidnetworks.net
Alias: charlene
IP: 69.9.37.130
--- Common Initialization Complete ---
Started tty console (use +set ttycon 0 to disable)
^3PunkBuster Server: pb_sv_SsNext = 276322 (0 to 999999)
^3PunkBuster Server: pb_sv_LogNext = 24 (1 to 999999)
^3PunkBuster Server: 0 Power Players loaded from
/home/loki/.callofduty/pb/pbpower.dat
^3PunkBuster Server: 0 PB Rcon Filters loaded from
/home/loki/.callofduty/pb/pbrcon.dat
^3PunkBuster Server: 0 Map lines loaded from
/home/loki/.callofduty/pb/pbsvmaps.cfg
^3PunkBuster Server: PunkBuster Server (v1.087 | A1335 C1.080) Enabled
execing ded.cfg
Hitch warning: 951 msec frame time
^3PunkBuster Server: Game Version [COD MP 1.4 build 650 Apr 14 2004
15:32:45 linux-i386]
^3PunkBuster Server: PunkBuster Server (v1.087 | A1335 C1.080) Enabled
logfile opened on Wed May 26 14:03:18 2004



Anyone have any idea?


Thanks,

Andrew



SFC_Elmo wrote:
> Hi,
> 
> ..\CoDMP.exe +set dedicated 2 +exec xxx.cfg +set net_ip xxx.xxx.xxx.xxx +set
> net_port 28960 +map_rotate
> 
> ^^ this works here. 3 server at one maschine with 3 different ips
> 
> regards
> 
> SFC_Elmo
> http://www.schussfang.de
> 
> 
> ----- Original Message ----- 
> From: "Andrew Urm" <cod at lok1.net>
> To: <cod at icculus.org>
> Sent: Wednesday, May 26, 2004 8:40 AM
> Subject: [cod] +set net_ip
> 
> 
> 
>>I have several IPs allocated to me, and I want to host multiple
>>instances on the same default port 28960. However, when I append a +set
>>net_ip <unused ip>, I get the following, and it starts with a
>>non-default port.
>>
>>Can anyone give me pointers?
>>
>>
>>File Handles:
>>----------------------
>>30173 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: 69.9.37.132:28960
>>ERROR: UDP_OpenSocket: bind: Address already in use
>>Opening IP socket: 69.9.37.132:28961
>>Hostname: localhost.
>>Alias: localhost
>>IP: 69.9.37.130
>>
>>
>>
>>Thanks,
>>
>>Andrew
>>
>>
> 



More information about the Cod mailing list