SRCDS Steam group


[SOLVED] TF2 Server Not Found
#1
Running a TF2 Server on CentOS 5.8. Server starts fine, but it does not show up when I try to find the game in TF2. All my other Servers show up, IE: CS:S, CS:GO & L4D2, but not TF2. I have completely disabled the Firewall for this Server so I am really lost at this point.

Here is my server.cfg file:

Code:
// this is your server name as shown in the server list
hostname "Tronyx's Team Fortress 2 Server"

sv_password ""
// your server password. a pair of double quotes means it is not set and anyone can join

// start rcon settings

rcon_password ""
// your rcon password to log into the dev rcon console or HLSW rcon console
sv_rcon_banpenalty 5
// Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 10
// Max number of times a user can fail rcon authentication before being banned

// end rcon settings

// start cvars for balancing un-even teams

mp_autoteambalance 1
// 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
mp_autoteambalance_delay 60
// Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_warning_delay 30
// Time (in seconds) after the teams become unbalanced to print a balance warning
mp_teams_unbalance_limit 2
// Teams are unbalanced when one team has this many more players than the other (0 disables)

// end cvars for balancing un-even teams

// start cvars for round and game times

mp_enableroundwaittime 1
// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_bonusroundtime 20
// Time after round win until round restarts (in seconds)
mp_restartround 20
// Time the current round will restart (in seconds)
mp_stalemate_timelimit 120
// Timelimit (in seconds) of the stalemate round
mp_timelimit 30
// game time per map in minutes

// end cvars for round and game times

// start cvars for win conditions

mp_maxrounds 4
// Max number of rounds to play before server changes maps
mp_winlimit 3
// Max number of rounds one team can win before a server changes maps

// end cvars for win conditions

// start client specific cvars

mp_forcecamera 0
// force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_allowspectators 1
// enable or disable spectators on the server. 0 is off 1 is on
mp_friendlyfire 0
// 0 is off and clients can do harm to team mates. 1 is on and players can kill or injure team mates
mp_footsteps 1
// footsteps on or off. 0 is off and 1 is on
sv_cheats 0
// allow cheats to be used by the client. 0 is off 1 is on
sv_timeout 300
// the amount of time in seconds that a client is booted for no input
sv_maxspeed 320
// the maximun speed a client can move at
sv_consistency 1
// Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
decalfrequency 10
// the pause in seconds between a decal being sprayed

// end client specific cvars

// start cvars for communication

sv_voiceenable 1
// allow players to use a microphone. 0 is off 1 is on
sv_alltalk 0
// toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
mp_chattime 10
// players can chat for this amount of time (in seconds) after a game is over

// end cvars for communication

// start download cvars

sv_allowupload 1
// allow custom decals to be uploaded. 0 is off 1 is on
sv_allowdownload 1
// allow files to be downloaded from the server. 0 is off 1 is on
net_maxfilesize 15
// Max download file size. Default is 15
sv_downloadurl ""
//redirect download location

// end download cvars

// start bandwidth rates/settings

sv_minrate 20000
sv_maxrate 30000
decalfrequency 10
sv_maxupdaterate 100
sv_minupdaterate 66
sv_mincmdrate 66
sv_maxcmdrate 100

// end bandwidth rates/settings

// start server logging

log off
// enable or disable server logging. on is on off is off
sv_logbans 0
// Log server bans in the server logs
sv_logecho 1
// Echo log information to the console. 0 is off 1 is on
sv_logfile 0
// Log server information in the log file. 0 is off 1 is on
sv_log_onefile 0
// log everything in one file

// end server logging

// start cvars for general operation

sv_lan 0
// is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 0
// server location. -1 is the world, 0 is USA east coast, 1 is USA west coast, 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa

sv_pausable 0
// enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 1
// forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 1
// kicks clients that do not have content that matches what is on the server

// end cvars for general operation

// start execute ban files

exec banned_user.cfg
exec banned_ip.cfg

// end execute ban files

Here is the command I use to start the Server:

Code:
screen -A -m -d -S tf2-server ./orangebox/srcds_run -console -game tf +maxplayers 16 -autoupdate

Here is the output when the Server starts:

Code:
**SNIP** (You don't need to see it checking for updates)
HLDS installation up to date
Using breakpad minidump system
Using breakpad crash handler

Console initialized.
Game_srv.so loaded for "Team Fortress"
Setting breakpad minidump AppID = 440
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(440)/version(5126)
Particles: Missing 'particles/error.pcf'
maxplayers set to 16
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "/var/srcds/orangebox/tf/replay/server/tmp/" ...no files removed.
Unknown command "r_decal_cullsize"
maxplayers set to 16
Unknown command "startupmenu"
Network: IP XXX.XXX.XXX.XXX, mode MP, dedicated Yes, ports 27015 SV / 27005 CL

Any help or advice would be greatly appreciated.

Thanks,

Chris
Reply
#2
Ok, I am seriously at my wits end. Server has it's own, static IP, there are NO firewalls, no other applications are running on the IP. Here is the output after starting the Server in case that helps:

Code:
--SNIP--
*Server checks for any updates*
HLDS installation up to date
Using breakpad minidump system
Using breakpad crash handler

Console initialized.
Game_srv.so loaded for "Team Fortress"
Setting breakpad minidump AppID = 440
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(440)/version(5140)
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "/var/srcds/orangebox/tf/replay/server/tmp/" ...no files removed.
Unknown command "r_decal_cullsize"
Unknown command "startupmenu"
WARNING: Port 27005 was unavailable - bound to port 27007 instead
WARNING: Port 27020 was unavailable - bound to port 27022 instead
Network: IP XXX.XXX.XXX.80, mode MP, dedicated Yes, ports 27015 SV / 27007 CL

I have confirmed that it's running as I can telnet to 27015 successfully. I have already tried removing everything entirely and reinstalling, but that did not help. Any advice would be greatly appreciated.

Chris
Reply
#3
SOLVED! Turns out that, unlike other SRCDS games, you MUST specify a starting map with the startup script (IE: +map cp_badlands) or else the Server just starts without actually starting a game.

Everything is working great now. Hopefully this will save someone the same frustrations in the future.

Chris
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)