PDA

View Full Version : Unable to see the server


imported_Ich_Baboulen
11-04-2003, 09:12 AM
I setup a dedicated server but am unable to see it anywhere.

Here is the command line breakout i used and the output of the console as well.

CMD LINE

"D:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +set ui_console 1 +set net_ip xxx.xxx.xxx.xxx +set net_port 28959 + exec dedicated.cfg + map_rotate


Console Output

COD MP 1.1 build win-x86 Oct 8 2003
----- FS_Startup -----
Current language: english
Current search path:
D:\PROGRA~1\CALLOF~1\main\zzz_Novideo_XMEN.pk3 (2 files)
D:\PROGRA~1\CALLOF~1\main\pak6.pk3 (3 files)
D:\PROGRA~1\CALLOF~1\main\pak5.pk3 (4858 files)
D:\PROGRA~1\CALLOF~1\main\pak4.pk3 (1668 files)
D:\PROGRA~1\CALLOF~1\main\pak3.pk3 (1992 files)
D:\PROGRA~1\CALLOF~1\main\pak2.pk3 (694 files)
D:\PROGRA~1\CALLOF~1\main\pak1.pk3 (2642 files)
D:\PROGRA~1\CALLOF~1\main\pak0.pk3 (12828 files)
D:\PROGRA~1\CALLOF~1/main
D:\PROGRA~1\CALLOF~1\main\localized_english_pak1.p k3 (3736 files)
localized assets pak file for english
D:\PROGRA~1\CALLOF~1\main\localized_english_pak0.p k3 (1204 files)
localized assets pak file for english

File Handles:
----------------------
29627 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 Intel Pentium III
Measured CPU speed is 1.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: xxx.xxx.xxx.xxx:28959
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28960
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28961
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28962
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28963
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28964
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28965
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28966
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28967
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28968
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
WARNING: Couldn't allocate IP port
--- Common Initialization Complete ---
Working directory: D:\PROGRA~1\CALLOF~1
execing dedicated.cfg
map_rotate...

"sv_mapRotation" is:"gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_depot gametype sd map mp_harbor gametype sd map mp_hurtgen gametype sd map mp_pavlov gametype sd map mp_railyard gametype sd map mp_rocket"

"sv_mapRotationCurrent" is:""

Setting g_gametype: sd.
Setting map: mp_brecourt.
------ Server Initialization ------
Server: mp_brecourt
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current language: english
Current search path:
D:\PROGRA~1\CALLOF~1\main\zzz_Novideo_XMEN.pk3 (2 files)
D:\PROGRA~1\CALLOF~1\main\pak6.pk3 (3 files)
D:\PROGRA~1\CALLOF~1\main\pak5.pk3 (4858 files)
D:\PROGRA~1\CALLOF~1\main\pak4.pk3 (1668 files)
D:\PROGRA~1\CALLOF~1\main\pak3.pk3 (1992 files)
D:\PROGRA~1\CALLOF~1\main\pak2.pk3 (694 files)
D:\PROGRA~1\CALLOF~1\main\pak1.pk3 (2642 files)
D:\PROGRA~1\CALLOF~1\main\pak0.pk3 (12828 files)
D:\PROGRA~1\CALLOF~1/main
D:\PROGRA~1\CALLOF~1\main\localized_english_pak1.p k3 (3736 files)
localized assets pak file for english
D:\PROGRA~1\CALLOF~1\main\localized_english_pak0.p k3 (1204 files)
localized assets pak file for english

File Handles:
----------------------
59254 files in pk3 files
------- Game Initialization -------
gamename: main
gamedate: Oct 8 2003
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



The cfg file am using is the following:

// Hostname and Message of the Day
set sv_hostname "Ich Baboulen's - COD Test Server"
set scr_motd "Welcome to Test Server"

// Maximum Clients
set sv_maxclients "4"

// Team Icons
set scr_drawfriend "1"

// Forced Respawn
set scr_forcerespawn "0"

// Friendly Fire
set scr_friendlyfire "1"

// Allow Voting
// It is recommended if you have friendly fire on
// that you also enable voting so that players can kick team-killers.
set scr_allow_vote "1"

set sv_pure 1 //set 1 for on and 0 for off, make it so client files match server files

//set sv_gamespy "1" //Show up in game spy

//set sv_floodprotect "1"

//set g_gametype "tdm" //gametype: bel, dm, re, sd, tdm

//set g_forceteamspectate "0" // set to 0 for kill cam and 1 for team spectate
//set sv_invulnerabletime "3" // set time after respawn
//set g_teamkillwarn "3" // Obviouse
//set g_teamkillkick "3" // look above
//set g_teamswitchdelay "10" // delay before you can switch teams

set g_log "games_mp.log"
set g_logsync "0

// Rconpassword
set rconpassword ""

// Weapons Allowed
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "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"

// Search and Destroy Settings
set scr_sd_graceperiod "20"
set scr_sd_roundlength "10"
set scr_sd_roundlimit "7"
set scr_sd_scorelimit "5"
set scr_sd_timelimit "0"

// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "20"

// Retrieval Settings
set scr_re_graceperiod "20"
set scr_re_roundlength "10"
set scr_re_roundlimit "7"
set scr_re_scorelimit "5"
set scr_re_showcarrier "0"
set scr_re_timelimit "0"

// Team Deathmatch
set scr_tdm_scorelimit "150"
set scr_tdm_timelimit "20"

// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "20"

// The rotation.
set sv_mapRotation "gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_depot gametype sd map mp_harbor gametype sd map mp_hurtgen gametype sd map mp_pavlov gametype sd map mp_railyard gametype sd map mp_rocket"

I don't think that am doing anything wrong. Already contacted my ISP and informed me that nothing is blocked from their side. I have turned off my firewall but still nothing. :cry:

Any suggestions???

[/i]

Tighten
11-04-2003, 10:42 AM
WARNING: Couldn't allocate IP port

Doesn't look like the DS could find the bound port from that console mesg.

Is this set as a service or is that cmd line being used in a shortcut?

For the shortcut try using " -port " instead of set net_port.

I may be wrong on the Shortcut info, I have never set a server up with a shortcut, if so, someone step in and correct me.

imported_Ich_Baboulen
11-04-2003, 11:08 AM
Thanks for the reply. I proceeded as you suggested but still am getting the same error.

For your information am getting the same error even if i dont specify the net port. It uses the default port 28960.

Next :P

imported_Ich_Baboulen
11-11-2003, 05:55 AM
Duh, how stupid of me i was using the Global IP and not the internal IP of the server :P

But still although the server runs ok (the lan part) i cant see it anywhere. I believe it has to do with some ports of the router except the 28959

rudedog
11-11-2003, 07:27 AM
see your other posts about ports.

as for this one.

"D:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +set ui_console 1 +set net_ip xxx.xxx.xxx.xxx +set net_port 28959 + exec dedicated.cfg + map_rotate

1st go into your config_mp.cfg located in the main dir. and remove the lines:
net_ip
net_port

then try changing to this:

"D:\Program Files\Call of Duty\CoDMP.exe" + set dedicated 2 + set net_ip xxx.xxx.xxx.xxx + exec dedicated.cfg + map_rotate

Is there a reason your calling for a different port other then the default 28960?

Also it sound like your using a router. If so, use the external or public IP (from your ISP) Make sure the net_ip xxxxxx reflects that IP address, which is sent to the master.activision.com server

I would also look at your router. try this

for a test only, setup the game server in your routers DMZ. Just to see if it broadcast to the outside world. If it does. then we need to look closer at how your forwarding the port 28960 to your game server. I would also update any router firmware.

let us know how you make out with these recommendations.

good luck

imported_Ich_Baboulen
11-11-2003, 10:18 AM
Thanks for the reply. Here is some feedback:



1st go into your config_mp.cfg located in the main dir. and remove the lines:
net_ip
net_port

These lines do not exist in the config_mp.cfg file



Is there a reason your calling for a different port other then the default 28960?

No there is no reason, i was just making experiments :P



Yes, i am behind a router and specificly am using a Zyxel 650R. I used http://www.whatismyip.com to check my public IP and proceeded as instructed, but whenever i use this ip i get the following error:

Winsock Initialized
Opening IP socket: xxx.xxx.xxx.xxx:28959
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28960
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28961
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28962
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28963
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28964
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28965
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28966
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28967
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: xxx.xxx.xxx.xxx:28968
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
WARNING: Couldn't allocate IP port

If i use the default settings in the COD command line the console fires up normaly with no outward communication.



for a test only, setup the game server in your routers DMZ.

Its my first time am messing with routers since no dsl line was available in the past. Can you provide a few more details about this?

Thanks again

rudedog
11-11-2003, 01:20 PM
OK, what you want to do is go into the routers setup page. Normally this is done via a web page.

look for a tab that is for "port forwarding" or advanced.

Then look for "DMZ" . however you need to select it then add the IP address of the box behind the router. normally a 192.168.x.x number.

DMZ is a place on the router that passes all ports to a computer behind the router. This is needed when you setup a game server or need all the ports open. I would not recommend keeping this box in the DMZ as it posses a security risk but it's helpful when troubleshooting a problem like this

Irksome
11-11-2003, 01:42 PM
I might have missed a subtlety here but if I understand correctly rudedog you are suggesting that the netip is set to the routers external IP - this will not work - the netip needs to be set to the internal IP of the server ... NAT will work out the translation from there.

In fact netip is not necessary unless the server is multihomed and has more than 1 ip assigned to it.

rudedog
11-11-2003, 02:24 PM
But what will be relayed to the master.activision.com server? the private IP or public IP?? How does the master server know how to list those servers?

Cobra
11-11-2003, 03:09 PM
I found my Problem today.......
First i was thinking i had found out of it.
Becase i changed my router and at the same time I put in the game one more time.
And damn it did work.
So i told IW that it just was a router foult i had.
But a bit later on the evning a friend of mine did not get into the server.
So he asked me what I had done.
And i told him that i had fix a problem that i had that i did not show in the browsers.
And the thing i found out was that my friend had changed my exe file in the server so he could play there.
He have remote control to the server with PcAnywhere.
To start the server up if somethings happend and i am not at home.
So that was where the real error was.
No i have change back to the old router and it still works nice.
And my Friend had to go and buy the game in the store today.

Damn all the ours i have used to try to find out about this problem.

I have to say thanks to IW people that have tryed to help me with my problem.

imported_IW-Inherent
11-12-2003, 12:11 AM
You can't bind to an ip address that doesn't exist on your computer. The only time you should ever touch net_ip is if your computer is multihomed, if you don't know what that means then your computer isn't multhomed. Changing the port is fine, but not needed unless you don't have control over the firewall to allow that inbound, or you want to host multiple servers on the same IP address.

Irksome
11-12-2003, 04:42 PM
But what will be relayed to the master.activision.com server? the private IP or public IP?? How does the master server know how to list those servers?

Precisely! I am pretty certain that this is the exact problem I am coming up against.

I have a multihomed server, so I set +net_ip 192.168.18.2 to bind the cod server to the correct LAN IP. The server then sends a heartbeat to codmaster.activision.com

This heartbeat packet doesn't contain any data except cod heartbeat ergo the codmaster server must read the packet header and use the IP address there to list the server in the browser.

Now here is where I get a bit lost ... the IP going from my server to my router in the packet is 192.168.18.2 ... now what happens after that router I don't know. My logic says that the NAT router should translate the IP in the header from the private LAN address to the public router IP? But without sniffing the packet on the WAN side of the router I can't tell if thats is happening. I suspect its not happening because when the Server is behind the router it is not listed in the in game browser but 5 minutes after I connect it directly to the WAN it is listed.

I would have thought that there would be an additional command that should be used in conjunction with net_ip that sets the 'public' ip of the server to be reported?

Sorry but this is driving me insane :twisted:

Cobra
11-12-2003, 05:06 PM
I would gues that in the sec the master get your heartbeat it knows your external ip.
Becase that shows when it gets your beat.
So i dont think that would be a problem for it to solv your external ip.

just like if i portscanned your ip you would see in your firewall what external ip scanned your ports.
You would not see my internal ip to the router.