Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Ladder Bottleneck

Featured Replies

  • Administrator

Find the slowest progression levels on each team's own weapon ladder.

Ladder Bottleneck 1.0.0 (olds.ro)

Arms Race: finds the slowest levels on each team's own weapon ladder. Every visit to a level is timed on the core's active-play clock, from the moment a player reaches the level until they level up out of it by playing. amx_bottleneck prints, for each team ladder, the three levels with the highest average time per visit, among the levels with enough eligible visits.

Requirements

  • AMX Mod X 1.10.0.5490 or newer
  • An Arms Race core (fork) with progression reasons, ladder definitions and an active-play timer, reporting through this plugin's natives (directly, or through a small bridge plugin)

Install

  • Compile scripting/olds_bottleneck.sma and copy olds_bottleneck.amxx to addons/amxmodx/plugins/.
  • Copy scripting/include/olds_bottleneck.inc next to the core's sources.

Settings (addons/amxmodx/configs/plugins/olds_bottleneck.cfg, created on first run)

  olds_bottleneck_visits 3   eligible visits a level needs to be listed (1-100)

Command: amx_bottleneck (ADMIN_MAP) prints the table in the admin's console. Nothing is shown or sent to other players.

Rules

  • Each team ladder (T, CT) is timed on its own.
  • A visit counts when it began by playing or at the start of a session, and ended by playing up to the next level, on the same team, with the active-play clock moving forward.
  • Forced and admin level changes, demotions, team changes and disconnects drop the open visit. Downtime is left out by the core's active-play clock.
  • A changed ladder definition discards that ladder's stored times. Times are otherwise kept until the map changes.

For the core (include/olds_bottleneck.inc, library "olds_bottleneck") olds_bottleneck_ladder(team, const definition[]) team 1 = T, 2 = CT; the ladder as one text, e.g. its weapon list olds_bottleneck_level(id, level, reason, Float:activeClock) reason OBN_PLAY, OBN_START, OBN_FORCED or OBN_ADMIN; activeClock = the player's active-play seconds

No downloads.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/include/olds_bottleneck.inc, addons/amxmodx/scripting/olds_bottleneck.sma, test/arms_stub.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (AMX-103).

Ladder Bottleneck
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads4.5 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 209 lines
/*
 * Ladder Bottleneck (olds.ro workshop card AMX-103)
 *
 * Arms Race: finds the slowest levels on each team's own weapon ladder. Every
 * visit to a level is timed on the core's active-play clock, from the moment
 * a player reaches the level until they level up out of it by playing.
 * amx_bottleneck prints, per team ladder, the three levels with the highest
Show all 209 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.