Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Spawn Breather

Featured Replies

  • Administrator

Report which spawn points repeatedly lead to very short lives.

Spawn Breather 1.0.0 (olds.ro)

Deathmatch: finds the spawn points that keep leading to very short lives. Each spawn point's lives are tallied; a life that ends by another player's kill within a few seconds is a short life. An admin-only console report shows each spawn's short-life rate next to its sample size. The plugin never moves, blocks or picks a spawn: spawn selection stays with CSDM.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer (fakemeta)
  • CSDM 2.1 (its respawn callback csdm_PostSpawn)

Install

  • Compile scripting/olds_breather.sma and copy olds_breather.amxx to addons/amxmodx/plugins/, below the CSDM plugins in plugins.ini. The compiler needs ReAPI's include files next to the stock includes.

Use

  amx_spawnreport          console report for this map (ADMIN_MAP): spawn id,
                           lives, short lives and the rate, or "low data"

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

  olds_breather_secs 5        a life shorter than this (seconds) is short (1-60)
  olds_breather_minlives 20   spawns with fewer lives show "low data" (1-1000)

Spawn ids

  • With CSDM's preset spawn mode the ids are the valid lines of addons/amxmodx/configs/csdm/<map>.spawns, numbered 1, 2, 3... in file order (the order CSDM loads them).
  • Without that file the map's own spawn points are used: info_player_start, then info_player_deathmatch, in entity order.
  • A player's spawn is the listed point nearest to where CSDM placed them (within 64 units); a spawn off the list is not tallied.

What counts

  • A life ended by another player's kill counts; it is short when it lasted less than olds_breather_secs.
  • Suicides (the kill command, falls), admin slays and team changes add nothing.
  • A life still going at a round restart, a disconnect or the next spawn counts as a long life once it has lasted olds_breather_secs.
  • Tallies start over on every map.

No sounds, sprites or models: the report is console text only.

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_breather.sma, test/csdm_stub.sma

License: GPL-3.0-or-later.
Written for the olds.ro plugin workshop (AMX-012), by daemon and checked by the automated Claude review.

Spawn Breather
v1.0.0Counter-Strike 1.6PluginTests passed
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.4 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 287 lines
/*
 * Spawn Breather (olds.ro workshop card AMX-012)
 *
 * Deathmatch: finds the spawn points that keep leading to very short lives.
 * Every life that starts at a spawn point is tallied for that spawn; a life
 * that ends by an enemy's kill within olds_breather_secs seconds is a short
 * life. Admins read the per-spawn short-life rate, with its sample size, in
Show all 287 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.