Showing up in Serverlist

Defzi

Junior Member
Joined
Jul 31, 2011
Likes
0
#1
Hello!

I have a problem with my Call of Duty server, its not showing up in the masterlist.

This is my config

Code:
//Server Information
set sv_hostname "^9eq^7ualz^4.^9com S^4&^7D ^7rifle only"
set scr_motd "Welcome to equalz cod1 gaming Rifle Only Server."
sets .Location "Netherlands"
//
//Server Options
set sv_pure "1"
set rconpassword "*****"
set g_password ""
set sv_privateclients "0"
set sv_maxclients "16"
set sv_allowdownload "0"
set sv_cheats "0"
set g_log "games_mp.log"
set g_logsync "1"
set sv_kickbantime "300"
set sv_fps "20"
set sv_allowanonymous "0"
set sv_floodprotect "1"
//
Game Options
set g_gametype "sd"
set g_allowvote "0"
set g_allowVoteKick "0"
set g_allowVoteMap "0"
set g_allowVoteMapRestart "0"
set g_allowVoteMapRotate "0
set g_allowVoteTempBanUser "0"
set g_allowVoteTypeMap "0"
set g_allowVoteDrawFriend "0"
set g_allowVoteFriendlyFire "0"
set g_allowVoteKillCam "0"
set scr_drawfriend "1"
set scr_forcerespawn "0"
set scr_friendlyfire "0"
set scr_killcam "1"
set scr_freelook "0"
set scr_spectateenemy "0"
set scr_teambalance "1"
set scr_teamscorepenalty "0"
set g_deadchat "1"
//
//Gametypes Configuration
//-- Deathmatch
set scr_dm_scorelimit "100"
set scr_dm_timelimit "30"
//-- Team Deathmatch
set scr_tdm_scorelimit "300"
set scr_tdm_timelimit "30"
//-- Behind Enemy Lines
//-- Retrieval
//-- Search and Destroy
set scr_sd_scorelimit "10"
set scr_sd_timelimit "0"
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "0"
//
set sv_mapRotation ""
//Weapons
set scr_allow_m1carbine "0"
set scr_allow_m1garand "0"
set scr_allow_thompson "0"
set scr_allow_bar "0"
set scr_allow_enfield "0"
set scr_allow_sten "0"
set scr_allow_bren "0"
set scr_allow_springfield "0"
set scr_allow_kar98k "1"
set scr_allow_mp40 "0"
set scr_allow_mp44 "0"
set scr_allow_kar98ksniper "0"
set scr_allow_nagant "1"
set scr_allow_ppsh "0"
set scr_allow_nagantsniper "0"
set scr_allow_fg42 "0"
set scr_allow_panzerfaust "0"

set sv_gamespy "1"
set sv_master1 "codmaster.activision.com"
set sv_master2 "master.gamespy.com:28960"
set sv_master3 "master0.gamespy.com"
set sv_master4 "master1.gamespy.com"
set sv_master5 "clanservers.net"
set sv_master6 "master1.evenbalance.com"
Weird thing is, that Xfire's server browser does show it and its constantly sending heartbeats to codmaster.activision.com.

People can connect to the server if they are using /connect.
 

zeroy

Senior Member
Joined
Oct 20, 2004
Likes
2
Location
Louth, Ireland
#2
Problem might be in your startup command line, can you post this? Are you hosting this server on your Home PC, behind a Windows firewall + Router?
 
Joined
Nov 2, 2010
Likes
0
#3
try stopping your server for 5 minutes. Then turn it back on. I remember having this problem, not entirely sure how to fix but i think that is the way.
 

Defzi

Junior Member
Joined
Jul 31, 2011
Likes
0
#4
Code:
./cod_lnxded +set dedicated 2 +set net_port 28960 +pb_sv_enable +exec dedicated.cfg +map mp_harbor
I am running CentOS 5.5 as server OS.

Is my command line, its behind a firewall yes. I opened this range of ports:

TCP 20500 - 20510
UDP 20500 - 20510
TCP 28900 - 29000
UDP 28900 - 29000
TCP 27900 - 28000
UDP 27900 - 28000
TCP 20600 - 20610
UDP 20600 - 20610

--

I already stopped my server a few times but still not working :(



Is it right that it only sends a heartbeat to codmaster? I have more than one Masterservers so...
 
Last edited:
Joined
Jul 25, 2011
Likes
0
Location
Virginia USA
#5
if memory serves +seta net_ip "000.000.000.000" must be in linux commandline

also nomatter how many master servers you specify codmaster & gamespy are the only ones that'll resolve via dns instead of ip & gamespy mus be enabled via cvar sv_gamespy "1" explicitly . . . also I don't believe gamespy traffic gets logged by cod console nor am I certain gamespy even keeps track of cod classic or uo any longer
 

Defzi

Junior Member
Joined
Jul 31, 2011
Likes
0
#6
NET_IP has now been added to the cmd line, it takes a while before the masteserver grabs my server, i think?

And i see when the server launches that it says: opening socket with my IP. But 3 lines after that, the ip still says: 127.0.0.1.
 

zeroy

Senior Member
Joined
Oct 20, 2004
Likes
2
Location
Louth, Ireland
#7
NET_IP has now been added to the cmd line, it takes a while before the masteserver grabs my server, i think?

And i see when the server launches that it says: opening socket with my IP. But 3 lines after that, the ip still says: 127.0.0.1.
Have you tried website like gametrcaker.com or game-monitor.com to see if you can Rcon query your server?
 

Defzi

Junior Member
Joined
Jul 31, 2011
Likes
0
#8


Think that works, game-monitor does not give any result on the server IP.


Where does Xfire grab its servers? I think from the Masterlist too?
 
Last edited:
Joined
Jul 25, 2011
Likes
0
Location
Virginia USA
#9
are you sure you've opened inbound AND outbound for your IP in both your linux firewall & in any networking appliances between yourself & your ISP?

you didn't install SELinux did ya?

try adding +set dedicated 2 as the first line in your config file, eliminating all of your sv_master lines ()it'll still phone home if ya don't specify) and setting sv_gamespy to 0 for troubleshooting purposes

also check fs_homepath & fs_basepath (I think there's an fs_gamepath that plays a role too?) and verify they point where they should

it does take 2 minutes minimum usually to grab a brand new server but if you're in holland it might be longer
 

Defzi

Junior Member
Joined
Jul 31, 2011
Likes
0
#10
The current path is:

"fs_homepath" is:"/home/cod_1/.callofduty^7" default:"/home/cod_1/.callofduty^7"

"fs_basepath" is:"/home/cod_1^7" default:"/home/cod_1^7" :p, and SELinux is disabled and a firewall on my linux machine has been disabled.

I now edited the homepath to /home/cod_1 see if that makes any difference.


And yes im sure that i've opened these ports, people from the outside can connect and i've rechecked my firewall settings on my router, the only port that my ISP is blocking is port 25, smtp server.


--- Edit:
As far i can see, still nothing in the Serverlist... Xfire detecting it still though.
 
Last edited:

Defzi

Junior Member
Joined
Jul 31, 2011
Likes
0
#11
Hmm, after a while my server quits with the message: Aborted.

What is this? :p

I have no custom mods installed besides the AWE rifle only.

Code:
------- Game Initialization -------
gamename: Call of Duty
gamedate: Nov 15 2004
0 teams with 0 entities
-----------------------------------
Sending heartbeat to codmaster.activision.com
Sending heartbeat to codmaster.activision.com
Sending heartbeat to codmaster.activision.com
Aborted
 
Last edited:
Joined
Jul 25, 2011
Likes
0
Location
Virginia USA
#12
are you sure awe will run on the linux server binary..? not all mods do

troubleshooting-wise I'd say the next step is to remove the mod & try getting your server to resolve without it
everything else seems to be configured properly from what you've posted so I'm willling to blame the mod for now, without knowing as much about linux as I'd like
 

Nilsonbor

Junior Member
Joined
Jan 29, 2012
Likes
0
#13
buy kamagra - Nolvadex for sale - cialis pills

Honeymoon returned and my husband feels like a teenager again with cialis 40mg. His erection is the same as at our first date 30 years ago. He feels like a man again, his penis is hard with a big head so he can be proud of it again. Nolvadex really helps.
 
Last edited:
Joined
Jul 25, 2011
Likes
0
Location
Virginia USA
#14
well for clarification CoD UO and classic use 28960-28969 and 20500-20519 TCP and UDP by default

it seems from the information you gave before 20510 is open but not 20511-20519 which is the range used for some masterserver communication

also sv_master statements are for ip, not dns

try disabling sv_gamespy


fs_basepath and fs_gamepath point to the 'roots' for any gamefiles, the game executable and startup script can be located anywhere provided they have full exclusive to where fs_basepath and fs_homepath point

fs_basegame and fs_game point to where all of your *.pk3 and config files must go; in practical terms there are subdirectories that the game parses in addition to the hardcoded 'main' directory ...all of your *.so files (*.dll functional equivalents actually regardless of extension must exist in the one or both of the fs_basegame or fs_game directories within your fs_basepath root NOT your fs_homepath root) the game will automatically create fs_game under fs_homepath to store screenshots, logs and other automatically or dynamically generated data (I usually just let it since I've 5 other directories from which to choose for organizational purposes)
 
Top Bottom