AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Concert of wishes - the best player chooses next map (https://forums.alliedmods.net/showthread.php?t=40865)

rain 07-05-2006 04:50

Concert of wishes - the best player chooses next map
 
2 Attachment(s)
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.

Quote:

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:
  1. Compile and install
  2. Edit .../configs/amx_concert.cfg to your liking.
  3. (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)

Quote:

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");

Hope you like it.

Thank you for all your help with getting decent translations done. :-)

Please be aware that there is no direct .sma download due to the number of include files. Instead try checking out the base .sma directly from the SVN service and then use my online amxx plugin compiler, which automatically includes all required files.

neogeo 07-05-2006 05:02

Re: Concert of Wishes - the best player chooses next map
 
thanks

mats 07-05-2006 05:18

Re: Concert of Wishes - the best player chooses next map
 
what will hapen if the best player is afk and he don''t choose a map?

rain 07-05-2006 05:35

Re: Concert of Wishes - the best player chooses next map
 
A random choice will be forced.

Xanimos 07-05-2006 08:49

Re: Concert of Wishes - the best player chooses next map
 
Don't post the .amxx and post the .sma

rain 07-05-2006 10:04

Re: Concert of Wishes - the best player chooses next map
 
They are posted in .zip. :P Am I to post all 7 .smas as attachments?

Guenhwyvar 07-05-2006 10:26

Re: Concert of Wishes - the best player chooses next map
 
Quote:

Originally Posted by rain
A random choice will be forced.

What about switching over to a 'normal' mapvote if the best/worst player doesn't choose a map?

Btw, nice idea.

Hawk552 07-05-2006 11:15

Re: Concert of Wishes - the best player chooses next map
 
Really nice idea IMO, I'm not sure whether you added this or not but you should probably add a thing where the same person can't pick twice in a row, it just seems a bit unfair to me even if you have the highest score.

rain 07-05-2006 12:09

Re: Concert of Wishes - the best player chooses next map
 
pl2003: How do you define 'normal' vote? If he doesn't choose - his loss. Do you mean players to vote for like 100+ maps available?

Hawk552: Just set the handicap variable to some freaking high value (like 100). He will have to beat all the other players by 100 frags to choose 2nd time in a row.

Guenhwyvar 07-05-2006 12:22

Re: Concert of Wishes - the best player chooses next map
 
No, I mean instead of choosing a random map, the plugin could ask all players for the next map (making a 'normal' vote like the mapchooser).


All times are GMT -4. The time now is 09:48.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.