SRCDS Steam group


Ubuntu 7.10 TF2 issues
#1
Hello all,

I've been attempting to get a tf2 server setup for an upcoming LAN party on my ubuntu server and it's gone mostly smooth, save for 2 issues.

1) SourceTV - I did some testing early last week on a windows box and was able to start SourceTV successfully by adding the cvars to server.cfg. Pasted the same commands into the linux install cfg file and it never starts. Not a big deal, I just added it to the command line, which started SourceTV. However, the server now only broadcasts on SourceTVs port. I've tried setting the hostport to 27015 and tv_port to 27020 and both available games listed from the server browser still point to the 27020 port. I also tried connecting to the game via ip and the the 015 port, and no game was found. I'm a bit at wits end on this one.

2) Some custom ctf maps appear to not rotate if the game is at a 0-0 tie. The standard maps appeared to rotate fine and even a few of the custom maps. I haven't gotten to testing it against cp maps. Is this a setting in the map config I see referenced in the terminal when the map is loading?

Below is the command line I'm running (with STV) and server config. I basically copied it from these forums and just tweaked a few things. The 3 minute map time is just for testing purposes. Let me know if/what more info I can post. I'm still a bit new at using srcds.

The party is on very soon, so some quick help/ideas would be very very appreciated. Thanks!

./srcds_run -game tf +map ctf_2fort +hostport 27015 +tv_enable 1 +tv_port 27020
Code:
// this is your server name as shown in the server list
hostname ""

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 10
// Timelimit (in seconds) of the stalemate round
mp_timelimit 3
// game time per map in minutes

// end cvars for round and game times

// start cvars for win conditions

mp_maxrounds 3
// 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 1
// is this an internet or LAN server. 0 is internet 1 is LAN
sv_region -1
// 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_contact blah@blah.com
// contact email for sysop
sv_pausable 0
// enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 0
// 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

//SourceTV

tv_enable 1
tv_maxclients 2
tv_delay 20
tv_delaymapchange 1
Reply
#2
Code:
//SourceTV

tv_enable 1
tv_port 27020
tv_maxclients 2
tv_delay 20
tv_delaymapchange 1

Move these to a new cfg file called 'autoexec.cfg' and see if that helps.

Also remove +hostport and change it with -port.
Reply
#3
Thanks for the response, but unfortunately no dice. The srctv started, but both servers are still using 27020 after moving the TV settings to an autoexec.cfg and changing to -port on the command line.
Reply
#4
More strangeness to report. On a whim I changed my command line to include the IP of the server:

./srcds_run -game tf +map ctf_2fort -ip 192.168.1.104 -port 27015

Now the servers don't show up in the server browser, but, I was able to connect to them directly, both the game on port 27015 and SourceTV on 27020. I may just have all the attendees add the server to their favorites for the duration, as it brought up the game when I tested that. Still, if anyone has some more ideas I can try, I'll give them a whirl.

At this point, the ctf map not cycling when finished isn't a deal breaker. I'm sure at least one flag will be captured, we're not very good. lol
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)