Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Round Reset Petition

Plugin
Daemonb0f77c967cVersion 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Round Reset Petition 1.0.0 (olds.ro) ==================================== Surfers stuck in a jail region can ask for a round reset with /stuck. When enough of them ask, the round manager is asked once to reset the round, but never while somebody has a timed run going. Requirements - AMX Mod X 1.10.0.5490 or newer (fakemeta) - ReGameDLL_CS 5.30.0.814 or newer with ReAPI 5.29.0.358 or newer Install 1. Compile scripting/olds_resetpet.sma and copy olds_resetpet.amxx to addons/amxmodx/plugins/ (before the timer and round manager plugins). 2. Copy data/lang/olds_resetpet.txt to addons/amxmodx/data/lang/. 3. Copy configs/olds_resetpet/ to addons/amxmodx/configs/ and make one <map>.ini per surf map (surf_example.ini shows the format), or add the boxes in game with amx_resetpet_jail. 4. The timer and the round manager include scripting/include/olds_resetpet.inc. Settings (addons/amxmodx/configs/plugins/olds_resetpet.cfg, made on first run) olds_resetpet_pct 60 percent of the living players (T and CT) that must ask from inside a jail; rounded up, so 3 of 5 players at 60 olds_resetpet_fallback 1 1 = if no round manager takes the request, end the round as a draw (rg_round_end) Players say /stuck asks for the reset; only living players inside a jail box count, each once. Everybody sees the progress ("2/3 stuck"). How it works - Jail boxes come from configs/olds_resetpet/<map>.ini (up to 16), from amx_resetpet_jail or from another plugin (olds_resetpet_add_jail). - Every second, and on each /stuck, the votes are counted again: a voter who left, died or left the jail is dropped, and the quorum follows the number of living players. - At the quorum, if any player has a running timer (olds_resetpet_timer), the request is held until the last run ends; if the votes fall below the quorum meanwhile, it waits again. - Then the olds_resetpet_request forward is called, once per round. A round manager resets the round and returns PLUGIN_HANDLED; otherwise the fallback applies. A new round clears all votes. Admin amx_resetpet_jail add <x1 y1 z1 x2 y2 z2> | clear | list (ADMIN_CFG) jail boxes of the current map; add and clear save the map's file amx_resetpet_status (ADMIN_KICK) living, trapped, votes, needed, running timer, pending and sent API (library "olds_resetpet", include/olds_resetpet.inc) native olds_resetpet_timer(id, bool:running) for a KZ/surf timer native olds_resetpet_add_jail(const Float:mins[3], const Float:maxs[3]) forward olds_resetpet_request(votes, needed) for the round manager

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.