SRCDS Steam group


[RESOLVED] Need some help with Dediacted Tf2 server setup
#1
unable to connect to server does not show up under LAN and i get server not responding if i try to add it by IP

Server OS: Windows Home Server 2011 64-bit
Processor: i7 2600 3.40 GHz Quad-Core Hyper-Threading Support
Yes
Ram: 8GB
Game(s): TF2
Start Up Command:
Code:
@echo off
cls
echo Protecting srcds from crashes...
title TeamFortress watchdog
:srcds
echo (%date%) (%time%) srcds started.
start /wait C:\TF2Server\orangebox\srcds.exe -console -game tf -tickrate 33 -map arena_badlands -maxplayers 10 -exec server.cfg
echo (%date%) (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Admin Mods: none

Bandwidth: 30Mbps up 3Mbps down
Router: WRT320N wired
Local IP of Server: 192.168.1.125
External IP: 66.41.X.X

server.cfg
Code:
// General Settings //

IP 192.168.1.125
port 27015


// Hostname for server.
hostname TF2 Server

// Overrides the max players reported to prospective clients
sv_visiblemaxplayers 10

// Maximum number of rounds to play before server changes maps
mp_maxrounds 5

// Set to lock per-frame time elapse
host_framerate 0

// Set the pause state of the server
setpause 0

// Control where the client gets content from
// 0 = anywhere, 1 = anywhere listed in white list, 2 = steam official content only
sv_pure 1

// Is the server pausable
sv_pausable 0

// Type of server 0=internet 1=lan
sv_lan 0

// Whether the server enforces file consistency for critical files
sv_consistency 1

// Collect CPU usage stats
sv_stats 1



// Execute Banned Users //
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip



// Contact & Region //

// Contact email for server sysop
sv_contact emailaddy@google.com

// The region of the world to report this server in.
// -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_region 0



// Rcon Settings //

// Password for rcon authentication
rcon_password haywire

// Number of minutes to ban users who fail rcon authentication
sv_rcon_banpenalty 1440

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 5



// Log Settings //

// Enables logging to file, console, and udp < on | off >.
log on

// Log server information to only one file.
sv_log_onefile 0

// Log server information in the log file.
sv_logfile 1

// Log server bans in the server logs.
sv_logbans 1

// Echo log information to the console.
sv_logecho 1



// Rate Settings //

// Frame rate limiter
fps_max 600

// Min bandwidth rate allowed on server, 0 == unlimited
sv_minrate 0

// Max bandwidth rate allowed on server, 0 == unlimited
sv_maxrate 20000

// Minimum updates per second that the server will allow
sv_minupdaterate 10

// Maximum updates per second that the server will allow
sv_maxupdaterate 66



// Download Settings //

// Allow clients to upload customizations files
sv_allowupload 1

// Allow clients to download files
sv_allowdownload 1

// Maximum allowed file size for uploading in MB
net_maxfilesize 15



// Team Balancing //

// Enable team balancing
mp_autoteambalance 1

// Time after the teams become unbalanced to attempt to switch players.
mp_autoteambalance_delay 60

// Time after the teams become unbalanced to print a balance warning
mp_autoteambalance_warning_delay 30

// Teams are unbalanced when one team has this many more players than the other team. (0 disables check)
mp_teams_unbalance_limit 1



// Round and Game Times //

// Enable timers to wait between rounds. WARNING: Setting this to 0 has been known to cause a bug with setup times lasting 5:20 (5 minutes 20 seconds) on some servers!
mp_enableroundwaittime 1

// Time after round win until round restarts
mp_bonusroundtime 8

// If non-zero, the current round will restart in the specified number of seconds
mp_restartround 0

//Enable sudden death
mp_stalemate_enable 1

// Timelimit (in seconds) of the stalemate round.
mp_stalemate_timelimit 300

// game time per map in minutes
mp_timelimit 35



// Client CVARS //

// Restricts spectator modes for dead players
mp_forcecamera 0

// toggles whether the server allows spectator mode or not
mp_allowspectators 1

// toggles footstep sounds
mp_footsteps 1

// toggles game cheats
sv_cheats 0

// After this many seconds without a message from a client, the client is dropped
sv_timeout 900

// Maximum time a player is allowed to be idle (in minutes), made this and sv_timeout equal same time?
mp_idlemaxtime 15

// Deals with idle players 1=send to spectator 2=kick
mp_idledealmethod 1

// time (seconds) between decal sprays
decalfrequency 30



// Communications //

// enable voice communications
sv_voiceenable 1

// Players can hear all other players, no team restrictions 0=off 1=on
sv_alltalk 0

// amount of time players can chat after the game is over
mp_chattime 10

// enable party mode
// tf_birthday 1


Attached Files
.jpg   Router ports.jpg (Size: 157.28 KB / Downloads: 9)
.jpg   server console.jpg (Size: 113.83 KB / Downloads: 1)
Reply
#2
Add -ip 192.168.1.125 and -port 27015 in your startup parameters.
Reply
#3
(09-25-2011, 07:05 PM)Mike Wrote:  Add -ip 192.168.1.125 and -port 27015 in your startup parameters.

nope still the same thing server not responding.

read a post that said changing maps after starting some times help but i get this see image


Attached Files
.jpg   pending.jpg (Size: 136.23 KB / Downloads: 8)
Reply
#4
ok Fixed with Home server 2011 you need to set a rule under the firewall adv settings for both the app and the port in incoming and outgoing

still one small problem it not taking my hostname out of the server.cfg but i can change it after it starts
Reply
#5
Add hostname "name" instead. Try it. And add +exec server.cfg in startup parameters.
Reply
#6
(09-28-2011, 03:56 AM)Mike Wrote:  Add hostname "name" instead. Try it. And add +exec server.cfg in startup parameters.

did not work

C:\TF2Server\orangebox\srcds.exe -console -game tf -tickrate 33 -ip 192.168.1.125 - port 27015 +map arena_badlands -maxplayers 10 +exec server.cfg

and tried hostname "name" and hostname name

if this is the only problem i have then so be, i can live with setting the host name after starting the server
Reply
#7
Weird.. Try to add +hostname "name" in the startup parameters.
Reply
#8
(09-29-2011, 03:33 AM)Mike Wrote:  Weird.. Try to add +hostname "name" in the startup parameters.

no luck i deleted the host name out of the config file and did

C:\TF2Server\orangebox\srcds.exe -console +hostname "test" -game tf -tickrate 33 -ip 192.168.1.125 - port 27015 +map arena_badlands -maxplayers 10 +exec server.cfg

C:\TF2Server\orangebox\srcds.exe -console +hostname test -game tf -tickrate 33 -ip 192.168.1.125 - port 27015 +map arena_badlands -maxplayers 10 +exec server.cfg

still loads as Team Fortress 2 Dedicated Server
Reply
#9
found the problem config_areana.cfg had a host name command in it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)