Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Featured Replies

  • Administrator

Admins can query the current HLTV status: delay, connected spectators and proxy address, to check that a broadcast is healthy.

HLTV Report 1.0.0 (olds.ro) - Demo / HLTV

Admins check that an HLTV broadcast is healthy. amx_hltvstatus (ADMIN_KICK) prints, to the admin's console and chat:

  • every HLTV proxy on the server: its name and address (ip:port), the broadcast delay (tv_delay) and the proxy slots (tv_maxclients);
  • how many proxies are connected and how many spectators are on the server.

With no proxy it says "No HLTV proxy is connected" instead of zeros. Players without ADMIN_KICK are refused.

Automatic reports: olds_hltvrep_interval N sends the same report every N seconds to every online admin with ADMIN_KICK, and to the server console.

Requirements

  • AMX Mod X 1.10.0.5490 or newer (amxmodx core only)

Install

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

Settings (addons/amxmodx/configs/plugins/olds_hltvrep.cfg, made on first run)

  olds_hltvrep_interval 0   seconds between automatic reports; 0 = off,
                            values under 10 count as 10, at most 3600

Notes

  • tv_delay and tv_maxclients are read for every report, so a change shows in the next one. Where the server has no such cvar the report says "not set" for it.
  • The game server sees the HLTV proxy as one client; the viewers watching through the proxy are counted by the proxy itself, not by the server. "Spectators on the server" counts players in the spectator team (and unassigned humans), HLTV proxies not included.

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_hltvrep.sma, test/tv_stub.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-0837).

HLTV Report
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads3 KBUpdated 2 hours ago
Sign in to download
Pawn (AMX Mod X) · 171 lines
/*
 * HLTV Report (olds.ro workshop card LIB-0837)
 *
 * Admins check that an HLTV broadcast is healthy:
 *   amx_hltvstatus   (ADMIN_KICK) prints, to the console and the chat, every HLTV
 *                    proxy on the server with its address, the broadcast delay
 *                    (tv_delay), the proxy slots (tv_maxclients) and the number of
Show all 171 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.