Page 1 of 1

Concert of wishes - the best player chooses next map

Posted: Mon Nov 22, 2021 11:29 am
by greenie
More information about this plugin: amx_concert
Up to date downloads available through my website: amx.dvl.pl
Due to the use of external include files, this plugin can be compiled online only through my amx.dvl.pl compiler.
Latest source file is always available through the SourceForge.net SVN service.
Version: 2.0.6

Description:
This plugin enables the best player on the map (based on fragcount) to choose the next map to be played. Some fancy random player choosing is also possible.

Instructions:
Compile and install
Edit .../configs/amx_concert.cfg to your liking.
(Optionally:) Create .../data/concert/concert.ini and .../data/concert/concert_night.ini files. Put all the maps to be used by amx_concert (normal/night mode).
Changelog:
Version 2.0.6 (2008-08-22)
Added mp_maxrounds support (thanks to seba123)
Minor changes in comments (fixed inconsistencies)
Version 2.0.5 (2007-09-08)
License upgraded to GPL v3 or later
Version 2.0.4 (2007-03-11)
Added some debugging stuff and verbose logging
Added FateRevert disable mode (no need to recompile anymore)
Added more selection types for FateRevert
Fixed some minor FateRevert issues
Version 2.0.3 (2007-02-28)
Added 'night mapcycle' support (second map list)
Version 2.0.2 (2007-02-15)
Incorporated translations thanks to:
[DA] ZiP
[DE] Soulseker, Fr3ak0ut, Mordekay
[NL] Dr Nick^
[ES] KylixMynxAltoLAG
[FR] pydaumas
Added public amx_concert_version cvar
Redesigned FateRevert mode
Fixed FateRevert worst selection bug
Sorting is now done through natives (quicksort)
Version 2.0 (2006-07-03)
Added ML support
Added FateRevert mode
Added map sorting (o(n^2) - be careful)
Added menu confirmation - random/manual map choose possibility
Added handicap modification (thanks to Mider)
Vastly revamped code, bug fixes, file split, comments, GPL
Version 1.0 (Somewhere in 2004)
Initial private release (not open published)
Cvars usage:
// Time before map change when the best user is selected
register_cvar("amx_concert_choosetime", "90");

// Handicap mode. 0 == off, any other value means number of frags removed
// from consecutive winner stats (only for best selection).
register_cvar("amx_concert_handicap", "0");

// A special FateRevert mode.
//
// amx_concert_faterevert_min and amx_concert_faterevert_max set
// respectively the minimal/maximal number of maps played between
// FateRevert occurences
//
// amx_concert_faterevert_active == 0 disables all FateRevert functionality
//
// amx_concert_faterevert_mode:
// 3 - choose one player from three with the longest connection time
// 2 - total random choose
// 1 - choose the lamest player (lowest frag/death ratio)
// 0 - randomly chooses faterevert_mode
register_cvar("amx_concert_faterevert_active", "1");
register_cvar("amx_concert_faterevert_mode", "1");
register_cvar("amx_concert_faterevert_min", "10");
register_cvar("amx_concert_faterevert_max", "25");

// Number of last maps remembered (disabled in menu as recently played)
register_cvar("amx_concert_lastmaps", "10");

// Minimum number of players for the Concert mode to work
register_cvar("amx_concert_minimumplayers", "2");

// Default Concert mode
// 0 == disabled
// 1 == enabled
// 2 == weekend mode (enabled Friday-Sunday)
register_cvar("amx_concert_mode", "1");

// Concert advertisement frequency
register_cvar("amx_concert_msgfreq", "300");

// Weekend start hour
// Determines when the real weekend starts on Friday
register_cvar("amx_concert_weekendhour", "14");

// Night start/stop hours
// Determines when the 'night mapcycle' should be applied
// Hint: to disable without recompiling set both CVARs to 0
register_cvar("amx_concert_night_start", "22");
register_cvar("amx_concert_night_stop", "6");
.zip