PDA

View Full Version : How to set IP address for server?


Barabarossa
02-29-2004, 12:12 PM
Is this a valid command in a cfg file to get the IP sent to master servers?
(In fact this is a straight MOHaa command copy)

seta net_ip 81.69.134.82

TeaBagger
03-01-2004, 07:07 AM
Heres a sample for you

"C:\Program Files\Call of Duty\CoDMP.exe" +set net_ip 69.93.96.2

Now I would use set instead of seta. If you need any other help let me know, other than that I don't know what other info you wanted. I don't know what you mean by master server??? For instance if I run a server from my house Computer than I dont need to put net_ip, If I run it like I do on our clan server box and I have 3 copys installed than each one needs to have a port assigned seperately. But that may not be your problem if you are having one with the master server showing your server. What is your problem exactly????

MajorDay
03-02-2004, 06:47 PM
Is this a valid command in a cfg file to get the IP sent to master servers?
(In fact this is a straight MOHaa command copy)

seta net_ip 81.69.134.82

seta net_ip will set the ip address of your server,but make sure this line is in your config as well.
set sv_master1 "codmaster.activision.com"

dreamdarts
03-06-2004, 04:03 AM
Hello

I have some Problems

This is my commandline
"C:\Programme\Call of Duty\CoDMP.exe" +set dedicated 2 +exec dedicated4.cfg +set net_ip 212.202.7.xxx instead on 192.168.x.x +map_rotate

This is my dedicated.cfg

// Contact Information
set sv_hostname "^4M^5C^4O CoD Dedicated Server"
set sv_motd "Welcome to www.mco-solutions.de"
sets .Admin "Privat Paula"
sets .Email "info@mco-solutions.de"
sets .IRC ""
sets .Website "www.mco-solutions.de"
sets .Location "Germany"


// Passwords
set g_password ""
set sv_privatePassword "xxx"
set rconPassword "xxxx"


// General Settings
set scr_friendlyfire "2"
set sv_maxClients "20"
set sv_privateClients "4"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "350"
set sv_pure "1"
set logfile "1"
set g_log "publictdm.log"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "0"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
set sv_kickBanTime "300"
seta sv_master1 "codmaster.activision.com"
seta sv_master2 "master0.gamespy.com"


// cam
set scr_killcam "1"
set scr_freelook "0"
set scr_spectateenemy "0"


// ballance
set scr_teambalance "1"


// Forced Respawn
set scr_forcerespawn "0"


// Team Icons
set scr_drawfriend "1"


// Gametype
set g_gametype "tdm"


// Weapons
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"


// Team Deathmatch
set scr_tdm_scorelimit "0"
set scr_tdm_timelimit "15"

// The rotation.tdm
set sv_mapRotation "gametype tdm map mp_dawnville gametype tdm map mp_depot gametype tdm map mp_brecourt gametype tdm map mp_harbor gametype tdm map mp_carentan gametype tdm map mp_chateau gametype tdm map mp_railyard"

// Startmap
map mp_railyard

but i could not connect to the Server.

When I start the server this was shown

COD MP 1.2 build win-x86 Jan 20 2004
----- FS_Startup -----
Current language: english
Current search path:
C:\PROGRA~1\CALLOF~1\main\pak8.pk3 (235 files)
C:\PROGRA~1\CALLOF~1\main\pak6.pk3 (3 files)
C:\PROGRA~1\CALLOF~1\main\pak5.pk3 (4858 files)
C:\PROGRA~1\CALLOF~1\main\pak4.pk3 (1668 files)
C:\PROGRA~1\CALLOF~1\main\pak3.pk3 (1992 files)
C:\PROGRA~1\CALLOF~1\main\pak2.pk3 (694 files)
C:\PROGRA~1\CALLOF~1\main\pak1.pk3 (2642 files)
C:\PROGRA~1\CALLOF~1\main\pak0.pk3 (12816 files)
C:\PROGRA~1\CALLOF~1/main

File Handles:
----------------------
29874 files in pk3 files
execing default_mp.cfg
couldn't exec language.cfg
execing config_mp.cfg
couldn't exec autoexec_mp.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found AMD w/ 3DNow!
Measured CPU speed is 2.00 GHz
System memory is 512 MB (capped at 1 GB)
Video card memory is 64 MB
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: 212.202.7.xxx:28960
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 212.202.7.xxx:28961
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 212.202.7.xxx:28962
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 212.202.7.xxx:28963
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 212.202.7.xxx:28964
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 212.202.7.xxx:28965
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 212.202.7.xxx:28966
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 212.202.7.xxx:28967
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 212.202.7.xxx:28968
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 212.202.7.xxx:28969
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
WARNING: Couldn't allocate IP port
--- Common Initialization Complete ---
Working directory: C:\PROGRA~1\CALLOF~1
execing dedicated4.cfg
logfile opened on Sat Mar 06 10:05:22 2004


g_gametype will be changed upon restarting.
------ Server Initialization ------
Server: mp_railyard
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current language: german
Current search path:
C:\PROGRA~1\CALLOF~1\main\pak8.pk3 (235 files)
C:\PROGRA~1\CALLOF~1\main\pak6.pk3 (3 files)
C:\PROGRA~1\CALLOF~1\main\pak5.pk3 (4858 files)
C:\PROGRA~1\CALLOF~1\main\pak4.pk3 (1668 files)
C:\PROGRA~1\CALLOF~1\main\pak3.pk3 (1992 files)
C:\PROGRA~1\CALLOF~1\main\pak2.pk3 (694 files)
C:\PROGRA~1\CALLOF~1\main\pak1.pk3 (2642 files)
C:\PROGRA~1\CALLOF~1\main\pak0.pk3 (12816 files)
C:\PROGRA~1\CALLOF~1/main
C:\PROGRA~1\CALLOF~1\main\localized_german_pak2.pk 3 (20 files)
localized assets pak file for german
C:\PROGRA~1\CALLOF~1\main\localized_german_pak1.pk 3 (3658 files)
localized assets pak file for german
C:\PROGRA~1\CALLOF~1\main\localized_german_pak0.pk 3 (1288 files)
localized assets pak file for german

File Handles:
handle 1: console_mp.log
----------------------
59748 files in pk3 files
------- Game Initialization -------
gamename: Call of Duty
gamedate: Jan 20 2004
0 teams with 0 entities
-----------------------------------
-----------------------------------
net_ip will be changed upon restarting.
map_rotate...

"sv_mapRotation" is:"gametype tdm map mp_dawnville gametype tdm map mp_depot gametype tdm map mp_brecourt gametype tdm map mp_harbor gametype tdm map mp_carentan gametype tdm map mp_chateau gametype tdm map mp_railyard"

"sv_mapRotationCurrent" is:""

Setting g_gametype: tdm.
Setting map: mp_dawnville.
==== ShutdownGame ====
------ Server Initialization ------
Server: mp_dawnville
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current language: german
Current search path:
C:\PROGRA~1\CALLOF~1\main\pak8.pk3 (235 files)
C:\PROGRA~1\CALLOF~1\main\pak6.pk3 (3 files)
C:\PROGRA~1\CALLOF~1\main\pak5.pk3 (4858 files)
C:\PROGRA~1\CALLOF~1\main\pak4.pk3 (1668 files)
C:\PROGRA~1\CALLOF~1\main\pak3.pk3 (1992 files)
C:\PROGRA~1\CALLOF~1\main\pak2.pk3 (694 files)
C:\PROGRA~1\CALLOF~1\main\pak1.pk3 (2642 files)
C:\PROGRA~1\CALLOF~1\main\pak0.pk3 (12816 files)
C:\PROGRA~1\CALLOF~1/main
C:\PROGRA~1\CALLOF~1\main\localized_german_pak2.pk 3 (20 files)
localized assets pak file for german
C:\PROGRA~1\CALLOF~1\main\localized_german_pak1.pk 3 (3658 files)
localized assets pak file for german
C:\PROGRA~1\CALLOF~1\main\localized_german_pak0.pk 3 (1288 files)
localized assets pak file for german

File Handles:
handle 1: console_mp.log
----------------------
89622 files in pk3 files
------- Game Initialization -------
gamename: Call of Duty
gamedate: Jan 20 2004
0 teams with 0 entities
-----------------------------------
-----------------------------------
Resolving codmaster.activision.com
codmaster.activision.com resolved to 63.146.124.59:20510
Sending heartbeat to codmaster.activision.com
Hitch warning: 6010 msec frame time
Hitch warning: 3567 msec frame time

My Server is behind a Linux Router and this is my portforwarding for CoD
/usr/sbin/ipmasqadm autofw -A -v -r udp 28960 28960 -h $hiddenhost2
/usr/sbin/ipmasqadm autofw -A -v -r tcp 28960 28960 -h $hiddenhost2
/usr/sbin/ipmasqadm autofw -A -v -r udp 28961 28961 -h $hiddenhost2
/usr/sbin/ipmasqadm autofw -A -v -r tcp 28961 28961 -h $hiddenhost2
/usr/sbin/ipmasqadm autofw -A -v -r udp 20500 20500 -h $hiddenhost2
/usr/sbin/ipmasqadm autofw -A -v -r tcp 20500 20500 -h $hiddenhost2
/usr/sbin/ipmasqadm autofw -A -v -r udp 20510 20510 -h $hiddenhost2
/usr/sbin/ipmasqadm autofw -A -v -r tcp 20510 20510 -h $hiddenhost2


WHAT IS WRONG ABOUT THIS?????????
I NEED HELP