6 hours ago6 hr Administrator Show a returning player their last session date and progress toward an existing rank. Comeback Card (olds.ro) 1.0.0 Copyright (C) 2026 daemon (olds.ro). Licence: GPL-3.0-or-later. A returning player sees, privately in chat, when they were last on the server, their rank and the points to the next rank, read from the CMSStats database. The lookup starts once the player is in the server and their identity is valid (client_authorized and client_putinserver). It is one read-only SQLx threaded query; the plugin never writes to the database (a read-only database user is enough).No row for the player: the card says it is their first visit.No rank yet (below the first rank) and the top rank are handled.The card is shown once per visit; say /comeback shows it again.olds_comeback_maxq lookups run at once, the rest wait in line.A reply for a player who has left, or whose identity changed, is thrown away.A database that is down or slow only means no card: the queries run in threads, and failures are logged at most once every 5 minutes.amx_comeback_status (ADMIN_KICK) shows the lookups and the cards. The schema is set by cvars, so it fits the CMSStats tables of your install: olds_comeback_table "csstats_players", olds_comeback_keycol "steamid", olds_comeback_lastcol "last_join" (olds_comeback_lastunix 0 = DATETIME, 1 = unix time), olds_comeback_pointscol "skill", olds_comeback_ranks "csstats_ranks" (empty = no ranks), olds_comeback_rankname "name", olds_comeback_rankpoints "points" (where a rank starts). olds_comeback_key 0 = SteamID, 1 = name, 2 = IP. Only letters, digits and _ are accepted in these names. Connection: olds_comeback_driver "mysql" (or "sqlite"), olds_comeback_host, olds_comeback_user, olds_comeback_pass, olds_comeback_db (protected cvars). Other cvar: olds_comeback_maxq 3. No downloads. Install: compile scripting/olds_comeback.sma with amxxpc 1.10, add olds_comeback.amxx to plugins.ini, copy data/lang/olds_comeback.txt and enable the mysql module. InstallDownload 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/olds_comeback.sma, test/cbtest_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-090). Comeback Cardv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads5.5 KBUpdated 6 hours agoSign in to downloadolds_comeback.smaPawn (AMX Mod X) · 351 lines3 files/* * Comeback Card (olds.ro workshop card AMX-090) * Copyright (C) 2026 daemon (olds.ro) * * This program is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later version.Show all 351 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.