Skip to content
View in the app

A better way to browse. Learn more.

Learn more

contact-ledger/README.txt

README.txt
50 lines · 2.4 KB · Text
Raw
Contact Ledger 1.0.0 (olds.ro)
==============================

For Biohazard servers. Every infection of a round is written down with its
carrier. After the round, say /chain shows the infection tree: each outbreak
origin, then whoever they infected, then whoever those infected, in order:

  Alpha (origin)
  -> Bravo
    -> Charlie

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - The Biohazard core (library "biohazardf"); checked against Biohazard
    2.00 Beta 3 (biohazard.inc / biohazard.sma, github.com/119call911/biohazard-amxx
    commit e6415c0). Before installing on a fork, check that its biohazard.inc
    still has forward event_infect(victim, attacker), forward event_gamestart(),
    native game_started() and native is_user_zombie(index).

Install
  1. Compile scripting/olds_ledger.sma and copy olds_ledger.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. The Biohazard include is not needed.
  2. Copy data/lang/olds_ledger.txt to addons/amxmodx/data/lang/.
  3. Add olds_ledger.amxx to plugins.ini below biohazard.amxx.

How infections are traced
  - The players the core makes zombies when the outbreak starts are the
    origins. A player infected by an admin command mid-round is another origin.
  - A survivor infected by a zombie hangs under that zombie.
  - Names and Steam ids are saved when the infection happens, so players who
    left are still listed.
  - A player cured and infected again appears again; later infections hang
    under the latest one.
  - A zombie whose own infection was not seen (for example when the plugin
    was loaded mid-round) heads its own branch, marked "(carrier)".
  - The ledger is finished when the round is decided and stays available until
    the next outbreak starts, which clears it.

Settings (addons/amxmodx/configs/plugins/olds_ledger.cfg, created on first run)
  olds_ledger_maxrows 12   most lines /chain prints (1-64); the rest are shown as "+N more"

Commands
  say /chain               the last round's tree (during a round: "after the round")
  olds_ledger_status       what /chain shows, plus every record with Steam ids (ADMIN_CFG)

Sound
  /chain plays the game's own sound/buttons/button9.wav; nothing is downloaded.

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.