SourceTV relay for an Orangebox game on Windows
Posted: Tue Mar 08, 2011 11:44 pm
First, enable the SourceTV in your game server itself: http://www.nfoservers.com/forums/viewto ... =18&t=3625. If you only need a few clients to connect, you're done -- just have them connect to your server IP and port 27020.
If you need to host more clients than 10 or so, it's best to set up a second SourceTV to act as a pure relay.
1. Copy your "c:\game installs\sourcebase" folder to a new one. We will use "c:\game installs\tvbase" for the purposes of this guide.
2. We'll call the game that you're running "cstrike" here, for CS:S. You could also run one for a TF2 server ("tf"), or another server type. Edit "c:\game installs\tvbase\orangebox\cstrike\cfg\server.cfg" to contain the following, customizing as needed:
And edit the autoexec.cfg file in the same directory to contain the following:
3. Go to Start->Run and type "cmd.exe", then hit enter.
4. Type the following to start your SourceTV, substituting your IP and game type:
The SourceTV should start and connect to your game server, if the SourceTV inside your game server is running and you specified the correct IP and port.
You can also run either SourceTV (the game server's, or the separate relay) on a different port, using the "tv_port" variable in its server.cfg. If you change the one for your game server, make sure to also adjust the port that you tell the SourceTV to relay.
If you need to host more clients than 10 or so, it's best to set up a second SourceTV to act as a pure relay.
1. Copy your "c:\game installs\sourcebase" folder to a new one. We will use "c:\game installs\tvbase" for the purposes of this guide.
2. We'll call the game that you're running "cstrike" here, for CS:S. You could also run one for a TF2 server ("tf"), or another server type. Edit "c:\game installs\tvbase\orangebox\cstrike\cfg\server.cfg" to contain the following, customizing as needed:
Code: Select all
tv_name "Your SourceTV relay"
tv_title "Your SourceTV relay"
// the password for the sourcetv we are connecting to -- blank by default
password ""
// relay the sourcetv at this address
tv_relay your.game.server.ip:27020
sv_contact "your@email.address"
rcon_password "desiredpassword"
exec banned_user.cfg
writeid
sv_stats 0
Code: Select all
log on
exec server.cfg
4. Type the following to start your SourceTV, substituting your IP and game type:
Code: Select all
cd "\game installs\tvbase\orangebox"
srcds.exe -console -game cstrike -ip your.sourcetv.server.ip -maxplayers 0 +tv_maxclients 255
You can also run either SourceTV (the game server's, or the separate relay) on a different port, using the "tv_port" variable in its server.cfg. If you change the one for your game server, make sure to also adjust the port that you tell the SourceTV to relay.