Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Auto Demo Recorder

Featured Replies

  • Administrator

Starts a client-side demo on every player when they join, named by map, date and nickname, so evidence of rule breakers is kept.

Auto Demo Recorder 1.0.0 (olds.ro)

Starts a demo on every player's own client a few seconds after they join, named <map>_<date>_<nickname>, so evidence of rule breakers is kept on the players' side. The client engine writes it into its own cstrike folder; nothing is sent from the server. Bots and HLTV are skipped.

Requirements

  • AMX Mod X 1.10.0.5490 or newer

Install

  • Compile scripting/olds_autodemo.sma and copy olds_autodemo.amxx to addons/amxmodx/plugins/.
  • Copy data/lang/olds_autodemo.txt to addons/amxmodx/data/lang/.

Settings (addons/amxmodx/configs/plugins/olds_autodemo.cfg, created on first run)

  olds_autodemo_enable 1     1 = record on every joining player
  olds_autodemo_delay 8.0    seconds after joining before the demo starts (1-60)
  olds_autodemo_tell 1       1 = the player is told the demo's name in chat

Command: olds_autodemo_status (ADMIN_CFG) lists the demos started on this map.

How it works

  • client_putinserver sets a task; olds_autodemo_delay seconds later the client gets "stop" and then "record <name>".
  • The name is <map>_<YYYYMMDD>_<nickname>. Map and nickname keep only letters, digits, '_' and '-' (anything else becomes '_'; the nickname is cut at 24 characters), so the file name is always valid and stays in the game folder. A nickname of only symbols becomes "player".
  • After a map change clients join anew, so a new demo with the new map's name starts after the delay. Rejoining the same map on the same day reuses the name, and the client overwrites that demo.
  • With olds_autodemo_enable 0 no command is sent.

No downloads: the demo is recorded by the client engine into its own folder.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_autodemo.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0832).

Auto Demo Recorder
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads3.1 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 129 lines
/*
 * Auto Demo Recorder (olds.ro workshop card LIB-0832)
 *
 * Starts a demo on every player's own client a few seconds after they join,
 * named <map>_<date>_<nickname>, so evidence of rule breakers is kept on the
 * players' side. The client engine writes it into its own cstrike folder;
 * nothing is sent from the server. Bots and HLTV are skipped.
Show all 129 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.