Skip to content
View in the app

A better way to browse. Learn more.

Learn more

plugin-fork-ledger/README.txt

README.txt
42 lines · 2.1 KB · Text
Raw
Fork Ledger 1.0.0 (olds.ro)
===========================

For surf maps whose route splits into two branches. Each run starts when the
player leaves the shared entry zone, takes the first branch zone the player
crosses, and ends at the shared exit zone. Every player keeps a private best
time for each branch on the current map. Say /fork to see both, with the
faster one marked.

Requirements
  - Metamod(-r) and AMX Mod X 1.10.0.5490 or newer (engine and hamsandwich modules)
  - Tested on ReHLDS + ReGameDLL_CS; it does not need ReAPI

Install
  1. Compile scripting/olds_fork.sma and copy olds_fork.amxx to addons/amxmodx/plugins/.
  2. Copy data/lang/olds_fork.txt to addons/amxmodx/data/lang/.
  3. Copy configs/olds_fork/ to addons/amxmodx/configs/olds_fork/ and write one
     <mapname>.ini per surf map (see _example.ini). Maps without all four zones are ignored.
  4. Add olds_fork.amxx to plugins.ini.

Settings (addons/amxmodx/configs/plugins/olds_fork.cfg, created on first run)
  olds_fork_enable 1       0 turns the timer off (runs in progress are dropped)

Commands
  say /fork                your best time on each branch
  olds_fork_status         every player's run state and bests (ADMIN_CFG)
  olds_fork_where          your position and the zones you stand in (ADMIN_CFG)

Rules of a run
  - Going back into the entry zone (on foot or through a teleport) drops the
    unfinished run; the next run starts when you leave the entry again.
  - Only the first branch zone crossed counts; crossing the other one later changes nothing.
  - A run that reaches the exit without crossing a branch stores no time.
  - Reaching the exit without having started at the entry stores no time.
  - Dying, respawning or disconnecting cancels the run.
  - Positions are checked every 0.1 s, so times are accurate to 0.1 s. At surf
    speeds that is up to ~350 units between checks: make every zone at least
    400 units deep along the route, or a fast player can pass through unseen.
  - Bests last for the current map and are cleared when the player leaves.

Sound
  The start tick is the game's own sound/buttons/blip2.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.