How to control HLTV remotely [Now includes SrcTV]

CS 1.6, DoD, TFC, etc.
Locked
|dC|2bit
This is my homepage
This is my homepage
Posts: 144
Joined: Wed Oct 01, 2003 6:09 pm
Location: Eugene, OR
Contact:

How to control HLTV remotely [Now includes SrcTV]

Post by |dC|2bit » Sat Aug 21, 2004 1:50 am

How to control HLTV remotely (i.e. through RCON)

HLTV can be accessed remotely using console rcon commands in the event that you do not have direct access to the computer running it. To do this, "adminpassword" must be set in the HLTV server's hltv.cfg.

From your Half-Life console, type "rcon_address ???.hltv.nuclearfallout.net". This is necessary to establish that you are using rcon on the HLTV server, not the game server.

Type "rcon_port 27020". This ensures that you're using the appropriate HLTV server port.

Type "rcon_password <adminpassword>", using the adminpassword that you defined in the HLTV config file.

And now you have access to the HLTV server. From here you can tell HLTV to connect to the game server being used by typing "rcon connect <server IP>:<port>".

You can also have it record demos by typing "rcon record <file prefix>" in the HL Console. File prefix is just the name so you can identifiy the file from the rest of your demos.

After you are done recording make sure to type "rcon stoprecording" in the HL Console to stop recording. If you do not the demo might not be saved properly.

User avatar
bOoya
Former staff
Former staff
Posts: 886
Joined: Thu Jan 15, 2004 3:46 pm
Location: Corona, CA
Contact:

Post by bOoya » Thu Apr 14, 2005 2:47 pm

Valve has created a short document on SrcTV and the way it functions. It is written far better than anything I could have hoped to write.
VALVe's SrcTV DOC: http://developer.valvesoftware.com/wiki/Source_TV

Locked