Skip to content
View in the app

A better way to browse. Learn more.

Learn more

long-jump-statistics/README.txt

README.txt
31 lines · 1.4 KB · Text
Raw
Long Jump Statistics (olds.ro) 1.0.0
Copyright (C) 2026 daemon (olds.ro). Licence: GPL-3.0-or-later.

Measures each long jump: distance, pre-speed and strafe sync, and keeps every player's
record and a top table in the nVault "olds_ljs".

How it works
- Every frame (FM_PlayerPreThink) the speed and the strafe keys are sampled.
- Pre-speed: the ground speed at take-off.
- Sync: the percent of air frames in which the speed grew. Strafes: strafe key changes.
- Distance: take-off to landing plus the 32-unit hull width. Only jumps landed at the
  take-off height and at least olds_ljs_min units long count.
- Invalid (told to the player, never recorded): ice (friction under 1), ladders, noclip,
  water, teleports, or a landing at another height.
- A counted jump with sync of at least olds_ljs_sync percent can set a personal record;
  a record goes into the top table.

Commands
- say /ljstats   your last jump, your record and jump count
- say /ljtop     the top table (MOTD)
- amx_ljtop      the top table in the console (ADMIN_KICK)

Cvars (configs/plugins/olds_ljstats.cfg)
- olds_ljs_min 220    shortest jump counted (units)
- olds_ljs_top 15     entries shown in the top (1-30)
- olds_ljs_sync 1     lowest sync percent for a record

Install
Compile scripting/olds_ljstats.sma with amxxpc 1.10, put olds_ljstats.amxx in plugins/,
add it to plugins.ini and copy data/lang/olds_ljstats.txt. Needs the fakemeta and nvault
modules. Bots are keyed by name, players by Steam ID.

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.