Skip to content
View in the app

A better way to browse. Learn more.

Learn more

observer-catch-up/README.txt

README.txt
41 lines · 1.6 KB · Text
Raw
Observer Catch-up 1.0.0 (olds.ro)
=================================

A player who becomes a spectator gets the results of the last completed
rounds in chat, once, newest last:

  [Recap] Round 6: Terrorists won (the bomb exploded)
  [Recap] Round 7: Counter-Terrorists won (all terrorists eliminated)

Anyone can print them again with /recap.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer

Install
  1. Compile scripting/olds_catchup.sma and copy olds_catchup.amxx to
     addons/amxmodx/plugins/; add it to plugins.ini.
     The compiler needs ReAPI's include files next to the stock includes.
  2. Copy data/lang/olds_catchup.txt to addons/amxmodx/data/lang/.

Use
  say /recap             print the last results again
  olds_catchup_status    the stored results (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_catchup.cfg, created on first run)
  olds_catchup_rounds 2  completed rounds shown (1-5)

Details
  - Results come from RG_RoundEnd: the winner, the reason and the round
    number (rounds counted since the match started). A round is recorded once,
    even if the round end fires twice for it.
  - A round closed by another plugin with rg_round_end() skips that hook; a
    check every second records it with the winner the game stored and the
    reason "round ended".
  - A match restart (sv_restart, game commencing) clears the history.
  - Spectator entry is read from the TeamInfo message: the team turning into
    SPECTATOR from anything else. Going spectator to spectator again prints
    nothing. With no completed rounds, nothing is printed on entry.

No downloads: the history is printed as 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.