Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Long Jump Web Stats

Plugin
Daemon47d0d50e2cVersion 1.0.0: First release.History
addonsVersion 1.0.0: First release.
webVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Long Jump Web Stats (olds.ro workshop card LIB-0973) Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later. Puts the long jump records on a web page: the plugin copies them to a MySQL table, a small read-only PHP page (web/ranking.php.txt) shows it sorted by distance. Where the records come from: the olds.ro Long Jump Statistics plugin (olds_ljstats) keeps them in the nVault "olds_ljs" ("pb:<SteamID>" per player, "top" for the record table). This plugin reads the same vault. - New record: twice a second the connected players' records are looked up; a changed one is written at once with SQL_ThreadQuery (INSERT ... ON DUPLICATE KEY UPDATE): SteamID, name, distance, pre-speed, date. The table is made if it is missing. - amx_ljwebsync (ADMIN_RCON): empties the table and writes every record of the in-game record table (/ljtop) again. - Names and SteamIDs are escaped (SQL_QuoteString); the table name may only hold letters, digits and _. - The database down or unreachable: the first error is logged, then at most one line every five minutes with the count; jumps go on as usual. - amx_ljweb_status (ADMIN_RCON): queries sent, failed, the last query. Cvars (configs/plugins/olds_ljweb.cfg; host, user, pass and db are protected): olds_ljw_host "", olds_ljw_user "", olds_ljw_pass "", olds_ljw_db "", olds_ljw_table "olds_lj" Table (made by the plugin): steamid VARCHAR(48) PRIMARY KEY, name VARCHAR(96), distance FLOAT, pre FLOAT, date DATETIME Web page: upload web/ranking.php.txt as ranking.php, and web/ranking.css, to the web host (they are not sent to players; the workshop's package format takes no .php files, hence the .txt), fill in the settings at the top of ranking.php and use a MySQL user that may only SELECT from the table. The page is read only and escapes everything it prints. Install: compile scripting/olds_ljweb.sma with amxxpc 1.10, add olds_ljweb.amxx to plugins.ini after olds_ljstats, enable the mysql module (sqlx) in modules.ini. No downloads.

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.