addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
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
1. 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.