Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Session Splits

Featured Replies

  • Administrator

Compare a player's two most recent completed Deathmatch practice blocks.

Session Splits 1.0.0 (olds.ro)

Deathmatch practice: a player times equal practice blocks and compares the last two. /block starts a block; it completes by itself after a set number of minutes of active play. /splits compares kills per minute for the two most recent completed blocks:

[Splits] Previous block 4.0/min (20 kills), last block 5.2/min (26 kills): +1.2 per minute.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer
  • Any deathmatch respawn (CSDM or similar); the plugin does not respawn anyone

Install

  • Compile scripting/olds_splits.sma and copy olds_splits.amxx to addons/amxmodx/plugins/; add it to plugins.ini. The compiler needs ReAPI's include files next to the stock includes.
  • Copy data/lang/olds_splits.txt to addons/amxmodx/data/lang/.

Use

  say /block            start a practice block; while one runs, cancel it
  say /splits           compare the last two completed blocks
  olds_splits_status    every player's block and completed blocks (ADMIN_CFG)

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

  olds_splits_minutes 5   active minutes in one block (1-30), read when a
                          block starts, so blocks being compared are equal

Details

  • Active play: the clock runs once a second while the player is on a team, alive or waiting for the respawn. It stops while they spectate, so a block simply lasts longer.
  • Kills: another player killed by this player while the block runs (RG_CBasePlayer_Killed). Suicides do not count.
  • A block that is not finished is dropped on disconnect and on map change; completed blocks last for the map. Rates are rounded to 0.1.
  • A start and a completion also show a short on-screen (DHUD) line.

No downloads: output is chat and DHUD text.

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_splits.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 (AMX-035).

Session Splits
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 225 lines
/*
 * Session Splits (olds.ro workshop card AMX-035)
 *
 * Deathmatch practice: a player times equal practice blocks and compares the
 * last two. /block starts a block; it completes by itself after
 * olds_splits_minutes minutes of active play. /splits compares kills per
 * minute for the two most recent completed blocks.
Show all 225 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.