Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

[Plugin] Trap Notebook

Plugin
Daemon0258fe6b73Version 1.0.0: First release.History
configsVersion 1.0.0: First release.
dataVersion 1.0.0: First release.
scriptingVersion 1.0.0: First release.
manifest.jsonVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Trap Notebook 1.0.0 (olds.ro) ============================= Gives every deathrun runner a personal record of the traps that killed them on each map. Say /trapnotes to see your three deadliest traps on the current map, and how many of your deaths no configured trap explains. Requirements - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI - AMX Mod X 1.10.0.5490 or newer (nVault module) Install 1. Compile scripting/olds_trapnote.sma and copy olds_trapnote.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes; a stock install does not have them. 2. Copy data/lang/olds_trapnote.txt to addons/amxmodx/data/lang/. 3. Copy configs/olds_trapnote/ to addons/amxmodx/configs/olds_trapnote/ and write one <mapname>.ini per deathrun map (see _example.ini). 4. Add olds_trapnote.amxx to plugins.ini and make sure nvault is enabled in modules.ini. How deaths are written down - Runners are the CT team; terrorists (the activator) are never counted and get a "runners only" reply to /trapnotes. - A death counts for a trap when the entity that dealt it (the damage inflictor, or else the attacker) has one of the trap's targetnames or brush models. - A kill by another player is not a trap death and is not counted. - Only damage taken in the same instant as the death can name a trap. A runner hurt by a trap who later types "kill" in the console, or dies without damage (a team change), is counted as "other deaths", not as that trap. - Every other runner death (a fall, the world, a suicide, an entity you have not listed) counts as "other deaths". Storage nVault "olds_trapnote" (addons/amxmodx/data/vault/olds_trapnote.vault), one entry per Steam id and map, stored by trap name. A notebook is loaded when the player is authorised and saved when they disconnect or the map ends; the slot's counts are cleared on disconnect. Players without a real Steam id (LAN ids, bots) are kept in memory for the current connection only. Entries untouched for 60 days are removed when the plugin starts. Renaming a trap in the config drops its stored counts. Commands say /trapnotes your top three traps on this map and your other deaths olds_trapnote_status every player's notebook (ADMIN_CFG) Settings (cvar) olds_trapnote_bots 0 1 also stores bots' notebooks by bot name; for testing only No sounds, models or sprites are added.

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.