Skip to content
View in the app

A better way to browse. Learn more.

Learn more

operator-standby/README.txt

README.txt
42 lines · 1.8 KB · Text
Raw
Operator Standby 1.0.0 (olds.ro)
================================

Deathrun: players who would like to take over as operator (the terrorist)
say /standby to join a queue. When the operator leaves the server, the first
connected volunteer in the queue becomes the operator at the next round's
role selection.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - Mistrick's Deathrun Mod (library "deathrun_core",
    github.com/Mistrick/DeathrunMod)

Install
  1. Compile scripting/olds_standby.sma and copy olds_standby.amxx to
     addons/amxmodx/plugins/, below deathrun_core.amxx. The compiler needs
     ReAPI's include files.
  2. Copy data/lang/olds_standby.txt to addons/amxmodx/data/lang/.

Use
  say /standby           join or leave the standby queue
  olds_standby_status    the operator, the vacancy and the queue (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_standby.cfg, created on first run)
  olds_standby_max 5     most volunteers in the queue (1-16)

How it works
  - dr_chosen_new_terrorist(id) tells the plugin who the operator is. When
    that player leaves, the role is marked vacant; the core still puts a
    random stand-in in for the rest of the round, as it always does.
  - At the next round restart, just before the core picks its terrorist, the
    plugin calls dr_set_next_terrorist() with the first volunteer still
    connected (stale entries are removed; if that volunteer leaves before the
    pick, the next one is handed over).
  - If something else already chose the next terrorist, the plugin leaves
    that choice alone. With nobody queued the core picks as usual. Only
    queued players are ever put forward.
  - The chosen volunteer leaves the queue once the core confirms them, and
    everyone sees who stepped in.

No downloads: chat lines.

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.