Skip to content
View in the app

A better way to browse. Learn more.

Learn more

run-eligibility-desk/README.txt

README.txt
43 lines · 2.1 KB · Text
Raw
Run Eligibility Desk 1.0.0 (olds.ro)
====================================

Kreedz: say /why to learn why the timer paused or rejected your run.

Requirements
  - AMX Mod X 1.10.0.5490 or newer
  - The cs16kz timer, with its status interface (library "kz_timer") as in
    scripting/include/olds_kztimer_status.inc:
      kz_timer_get_status(id)              the run state (KZ_RUN_*)
      kz_timer_get_reason(id, out[], len)  the reason code, if any
      kz_timer_db_online()                 whether the record database is up
  Without it the plugin still loads, logs one line and /why says the timer
  is not running.

Install
  1. Copy scripting/include/olds_kztimer_status.inc to the compiler's
     include folder, compile scripting/olds_eligibility.sma and copy
     olds_eligibility.amxx to addons/amxmodx/plugins/ (after the timer).
  2. Copy data/lang/olds_eligibility.txt to addons/amxmodx/data/lang/.
  No downloads: the answers are private chat lines.

Settings (addons/amxmodx/configs/plugins/olds_eligibility.cfg, made on first run)
  olds_eligibility_verbose 0   1 = everyone sees the timer's raw reason codes;
                               0 = only admins (ADMIN_KICK) see them

How it works
  - Every /why asks the timer's natives again: the timer is the authority,
    and nothing is kept from one map to the next.
  - The answer, only to the player who asked: the state (no run, running,
    paused, accepted, rejected, waiting for the record server) and, for a
    pause or a rejection, the reason in plain words (noclip, teleport,
    hook, speed, gravity, checkpoints, invalid start, map changed; other
    codes are "a timer rule"). When the timer gave no reason the answer
    says "reason unknown".
  - While the timer cannot reach the record database and has no fresh
    state, /why shows the last state the timer confirmed this map, and says
    that the server is unreachable. This plugin only reads the timer; it
    never submits or resubmits a record.

Admin
  amx_why <player>   (ADMIN_KICK) the same answer about a player, in the
                     console, with the raw code

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.