Skip to content
View in the app

A better way to browse. Learn more.

Learn more

hltv-auto-recording/README.txt

README.txt
36 lines · 1.9 KB · Text
Raw
HLTV Auto Recording (olds.ro workshop card LIB-0835)
Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.

Every map gets its own HLTV demo, named
    <olds_hltvrec_prefix>_<map>_<YYYYmmdd_HHMM>     e.g. match_de_dust2_20261205_2130
(the proxy adds .dem). Only letters, digits, - and _ are kept in the name.

  - olds_hltvrec_delay seconds after the first round of the map starts
    (RG_CSGameRules_RestartRound), the recording starts, if at least
    olds_hltvrec_minplayers players are on (the HLTV proxy is not counted)
    and an HLTV proxy is connected. If not, one log line says why, and the
    plugin tries again at the next round start, without logging again.
  - mp_restartgame / sv_restart while recording: the demo goes on.
  - At the end of the map's final round (intermission) or when the map
    changes (plugin_end, before the switch) the recording stops.

Two ways to reach the proxy:
  olds_hltvrec_rcon_addr ""   (default) the plugin runs the server commands
      olds_hltvrec_cmd_start <name> (tv_record) and olds_hltvrec_cmd_stop
      (tv_stoprecord): for servers where a proxy bridge adds those commands.
  olds_hltvrec_rcon_addr "127.0.0.1:27020" and olds_hltvrec_rcon_pass "..."
      rcon straight to the HLTV proxy (UDP, challenge first): "record <name>"
      and "stoprecording". Set the password in the proxy's hltv.cfg too
      (rcon_password). A failing rcon is logged once per map.
  Both rcon cvars are protected (not shown to clients).

Cvars (configs/plugins/olds_hltvrec.cfg):
  olds_hltvrec_delay 15.0, olds_hltvrec_prefix "match",
  olds_hltvrec_minplayers 4, olds_hltvrec_cmd_start "tv_record",
  olds_hltvrec_cmd_stop "tv_stoprecord", olds_hltvrec_rcon_addr "",
  olds_hltvrec_rcon_pass "".
Admin: amx_hltvrec_status (ADMIN_RCON).

Install: compile scripting/olds_hltvrec.sma with amxxpc 1.10 and add
olds_hltvrec.amxx to plugins.ini. Needs ReAPI and the sockets module (enable
it in modules.ini). No downloads.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.