Raised This Month: $120 Target: $400
 30% 

Concert of wishes - the best player chooses next map


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   v3x (159)
rain
Senior Member
Join Date: Oct 2004
Location: Poland
Old 07-05-2006 , 05:50   Concert of wishes - the best player chooses next map
Reply With Quote #1

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.
Attached Files
File Type: zip amx_concert-2.0.6.zip (52.9 KB, 763 views)
File Type: gz amx_concert-2.0.6.tar.gz (48.1 KB, 367 views)
__________________

Last edited by rain; 08-22-2008 at 13:49.
rain is offline
neogeo
Senior Member
Join Date: Jul 2005
Old 07-05-2006 , 06:02   Re: Concert of Wishes - the best player chooses next map
Reply With Quote #2

thanks
neogeo is offline
mats
Senior Member
Join Date: Jan 2005
Old 07-05-2006 , 06:18   Re: Concert of Wishes - the best player chooses next map
Reply With Quote #3

what will hapen if the best player is afk and he don''t choose a map?
__________________
mats is offline
rain
Senior Member
Join Date: Oct 2004
Location: Poland
Old 07-05-2006 , 06:35   Re: Concert of Wishes - the best player chooses next map
Reply With Quote #4

A random choice will be forced.
__________________
rain is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 07-05-2006 , 09:49   Re: Concert of Wishes - the best player chooses next map
Reply With Quote #5

Don't post the .amxx and post the .sma
__________________
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
rain
Senior Member
Join Date: Oct 2004
Location: Poland
Old 07-05-2006 , 11:04   Re: Concert of Wishes - the best player chooses next map
Reply With Quote #6

They are posted in .zip. Am I to post all 7 .smas as attachments?
__________________
rain is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 07-05-2006 , 11:26   Re: Concert of Wishes - the best player chooses next map
Reply With Quote #7

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.
Guenhwyvar is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-05-2006 , 12:15   Re: Concert of Wishes - the best player chooses next map
Reply With Quote #8

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.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
rain
Senior Member
Join Date: Oct 2004
Location: Poland
Old 07-05-2006 , 13:09   Re: Concert of Wishes - the best player chooses next map
Reply With Quote #9

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.
__________________
rain is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 07-05-2006 , 13:22   Re: Concert of Wishes - the best player chooses next map
Reply With Quote #10

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).
Guenhwyvar is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:34.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode