Page 1 of 1

How to control HLTV remotely [Now includes SrcTV]

Posted: Sat Aug 21, 2004 1:50 am
by |dC|2bit
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.

Posted: Thu Apr 14, 2005 2:47 pm
by bOoya
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