Raised This Month: $ Target: $400
 0% 

[UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)


Post New Thread Reply   
 
Thread Tools Display Modes
Whist
Member
Join Date: Sep 2010
Old 02-08-2011 , 12:25   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #211

Sorry, I am unclear if your plugin has the functionality that I am thinking of. Lets say I have 10 maps to play when there are 15+ players in my server and I have them vote on 5 each map. Hypothetically, if traffic stays consistent for these 10 maps, what is stopping them from picking the same map 2-3 times as long as there are 15+ people? Is there a cvar that limits the last x maps from being played? If not, would it be hard to add this?
__________________
Whist is offline
Send a message via AIM to Whist
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-08-2011 , 12:27   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #212

Quote:
Originally Posted by Whist View Post
Sorry, I am unclear if your plugin has the functionality that I am thinking of. Lets say I have 10 maps to play when there are 15+ players in my server and I have them vote on 5 each map. Hypothetically, if traffic stays consistent for these 10 maps, what is stopping them from picking the same map 2-3 times as long as there are 15+ people? Is there a cvar that limits the last x maps from being played? If not, would it be hard to add this?
Code:
// Specifies how many past maps to exclude from the end of map vote.
// -
// Default: "3"
// Minimum: "0.000000"
sm_umc_mapvote_exclude "3"

// Specifies how many past maps to exclude from RTVs.
// -
// Default: "3"
// Minimum: "0.000000"
sm_umc_rtv_exclude "3"

// Specifies how many past maps to exclude when picking a random map.
// -
// Default: "3"
// Minimum: "0.000000"
sm_umc_picknextmap_exclude "3"
Steell is offline
Whist
Member
Join Date: Sep 2010
Old 02-08-2011 , 12:29   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #213

Sorry, I should have read the config first. I am on my way out the door so I thought i'd post quickly. Thanks for the prompt response. I will be using this plugin for sure now.
__________________
Whist is offline
Send a message via AIM to Whist
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 02-08-2011 , 17:04   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #214

I'm running the 2.0-beta.

cfg:
Code:
// ConVars for plugin "ultimate-mapchooser.smx" v2.0 by Steell

///////////////////////////////////////////////////////////////////////////////
//***************************************************************************//
//**                          ULTIMATE MAPCHOOSER                          **//
//***************************************************************************//
// This configuration file is divided into four sections:                    //
//                                                                           //
//   -Plugin Settings: cvars pertaining to the overall plugin or multiple    //
//                     sections                                              //
//                                                                           //
//   -End Of Map Vote Settings: cvars pertaining to votes which appear       //
//                              based off of the end of the map              //
//                                                                           //
//   -RTV Settings: cvars pertaining to RTV                                  //
//                                                                           //
//   -Random Nextmap Settings: cvars pertaining to random choosing of the    //
//                             next map                                      //
//                                                                           //
//   -Player Limit Settings: cvars pertaining to actions taken if the player //
//                           limits of the current map are broken.           //
//***************************************************************************//
///////////////////////////////////////////////////////////////////////////////

//***************************************************************************//
//                              PLUGIN SETTINGS                              //
//***************************************************************************//

// File to use for Ultimate Mapchooser's map rotation.
// -
// Default: "umc_mapcycle.txt"
sm_umc_cyclefile "umc_mapcycle.txt"

// Specifies how many slots in a vote are disabled to prevent accidental voting.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "5.000000"
sm_umc_vote_blockslots "0"

// Specifies how long a vote should be available for.
// -
// Default: "20"
// Minimum: "10.000000"
sm_umc_vote_duration "20"

// Specifies whether vote menu items are displayed in a random order.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_vote_menuscrambled "1"

// Specifies whether players have the ability to nominate maps for votes.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_nominate_enabled "1"

// Specifies whether the number of nominated maps appearing in the vote for a
// map group should be limited by the group's "maps_invote" setting.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_nominate_strict "0"

// Specifies whether runoff votes are only displayed to players whose votes were
// eliminated in the runoff and players who did not vote.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_runoff_selective "0"

// If specified, this sound file (relative to sound folder) will be played at
// the beginning of a runoff vote. If not specified, it will use the default
// sound, as defined in other cvars.
// -
// Default: ""
sm_umc_runoff_sound ""

// If a winning vote has less than this percentage of total votes, a runoff vote
// will be held.
// -
// Default: "50"
// Minimum: "0.000000"
// Maximum: "100.000000"
sm_umc_runoff_threshold "50"

// Specifies a maximum number of runoff votes to run for any given vote.
//  0 disables runoff votes.
// -
// Default: "0"
// Minimum: "0.000000"
sm_umc_runoffs "0"

// Specifies the maximum number of maps to appear in the second part of a tiered
// vote.
// -
// Default: "6"
// Minimum: "2.000000"
sm_umc_vote_tieramount "6"

//***************************************************************************//
//                          END OF MAP VOTE SETTINGS                         //
//***************************************************************************//

// Specifies if Ultimate Mapchooser should run an end of map vote.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_endvote_enabled "1"

// Specifies whether vote warnings are displayed to players during the period
// leading up to an end-of-map vote (see vote_warnings.txt).
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_endvote_warnings "0"

// Sound file (relative to sound folder) to play at the start of an end-of-map
// vote.
// -
// Default: ""
sm_umc_endvote_startsound ""

// Sound file (relative to sound folder) to play at the completion of an
// end-of-map vote.
// -
// Default: ""
sm_umc_endvote_endsound ""

// Controls end of map vote type:
//  0 - Maps,
//  1 - Groups,
//  2 - Tiered Vote (vote for a group, then vote for a map from the group).
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_umc_endvote_type "1"

// Specifies when to start the vote based on frags remaining.
// -
// Default: "10"
// Minimum: "1.000000"
sm_umc_endvote_startfrags "10"

// Specifies when to start the vote based on rounds remaining. Use 0 on TF2 to
// start vote during bonus round time
// -
// Default: "2"
// Minimum: "0.000000"
sm_umc_endvote_startrounds "2"

// Specifies when to start the vote based on time remaining in minutes.
// -
// Default: "6"
// Minimum: "1.000000"
sm_umc_endvote_starttime "6"

// Specifies how many past maps to exclude from the end of map vote.
// -
// Default: "3"
// Minimum: "0.000000"
sm_umc_endvote_mapexclude "3"

// Specifies how many past map groups to exclude from the end of map vote.
// -
// Default: "0"
// Minimum: "0.000000"
sm_umc_endvote_groupexclude "2"

// Number of extensions allowed each map.
// -
// Default: "0"
// Minimum: "0.000000"
sm_umc_extends "0"

// Specifies how many more frags are allowed when map is extended.
// -
// Default: "10"
// Minimum: "1.000000"
sm_umc_extend_fragstep "10"

// Specifies how many more rounds each extension makes.
// -
// Default: "5"
// Minimum: "1.000000"
sm_umc_extend_roundstep "5"

// Specifies how many more minutes each extension makes.
// -
// Default: "15"
// Minimum: "1.000000"
sm_umc_extend_timestep "15"

//***************************************************************************//
//                               RTV SETTINGS                                //
//***************************************************************************//

// Enables RTV.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_rtv_enabled "1"

// Sound file (relative to sound folder) to play at the start of an RTV.
// -
// Default: ""
sm_umc_rtv_startsound ""

// Sound file (relative to sound folder) to play at the completion of an RTV.
// -
// Default: ""
sm_umc_rtv_endsound ""

// Controls RTV vote type:
//  0 - Maps,
//  1 - Groups,
//  2 - Tiered Vote (vote for a group, then vote for a map from the group).
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_umc_rtv_type "1"

// Time (in seconds) before first RTV can be held.
// -
// Default: "30"
// Minimum: "0.000000"
sm_umc_rtv_initialdelay "60"

// Number of players required before RTV will be enabled.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "64.000000"
sm_umc_rtv_minplayers "0"

// Percentage of players required to trigger an RTV vote.
// -
// Default: "0.65"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_rtv_percent "0.65"

// Adds a "Don't Change" option to RTVs.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_rtv_dontchange "0"

// Time (in seconds) after a failed RTV before another can be held.
// -
// Default: "240"
// Minimum: "0.000000"
sm_umc_rtv_interval "240"

// When to change the map after a successful RTV:
//  0 - Instant,
//  1 - Round End,
//  2 - Map End
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_umc_rtv_changetime "0"

// Specifies how many past maps to exclude from RTVs.
// -
// Default: "3"
// Minimum: "0.000000"
sm_umc_rtv_mapexclude "3"

// Specifies how many past map groups to exclude from RTVs.
// -
// Default: "0"
// Minimum: "0.000000"
sm_umc_rtv_groupexclude "2"

// What to do with RTVs after a mapvote has completed.
//  0 - Allow, success = instant change,
//  1 - Deny
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_rtv_postvoteaction "0"

//***************************************************************************//
//                          RANDOM NEXTMAP SETTINGS                          //
//***************************************************************************//

// Enables random selection of the next map at the end of each map if a vote
// hasn't taken place.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_randcycle_enabled "1"

// Specifies whether or not group weighting is ignored. Use this if you want
// Ultimate Mapchooser to select maps as if they were all in one group, rather
// than selecting a random group first before selecting a random map.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_randcycle_nogroupweight "0"

// Specifies how many past maps to exclude when picking a random map.
// -
// Default: "3"
// Minimum: "0.000000"
sm_umc_randcycle_mapexclude "3"

// Specifies how many past map groups to exclude when picking a random map.
// -
// Default: "0"
// Minimum: "0.000000"
sm_umc_randcycle_groupexclude "2"

//***************************************************************************//
//                           PLAYER LIMIT SETTINGS                           //
//***************************************************************************//

// Time in seconds before the plugin will check to see if the current number of
// players is within the map's bounds.
// -
// Default: "240.0"
// Minimum: "0.000000"
sm_umc_playerlimit_delay "240.0"

// Specifies what action to take when the number of players on the server is
// less than what the current map allows.
//  0 - Do Nothing,
//  1 - Pick a map, change to it,
//  2 - Pick a map, run a yes/no vote to change,
//  3 - Run a full mapvote, change to the winner.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "3.000000"
sm_umc_playerlimit_minaction "0"

// Specifies what action to take when the number of players on the server is
// more than what the current map allows.
//  0 - Do Nothing,
//  1 - Pick a map, change to it,
//  2 - Pick a map, run a yes/no vote to change,
//  3 - Run a full mapvote, change to the winner.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "3.000000"
sm_umc_playerlimit_maxaction "0"

// Specifies when to change the map after an action is taken due to too many or
// too little players.
//  0 - Change instantly,
//  1 - Change at the end of the round
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_playerlimit_voteaction "0"
umc_mapcycle.txt:
Code:
"umc_rotation"
{
    "TF2Ware"
    {        
        "maps_invote"   "1"
        "group_weight"  "4"
 
        "tf2ware_test34"
        {
            "weight"    "2"
        }
    }
 
    "FortWars"
    {
        "maps_invote"    "1"
        "group_weight"  "2"
 
        "pl_goldrush" {}
 
        "fortwars_slag_b3"
        {
            "weight"    "4"
        }
 
        "fw_forts_a0_rcg" {}
    }
 
    "Zombie Fortress"
    {
        "maps_invote"         "1"
        "group_weight"  "2"
 
        "zf_asylum_b2" {}
        "zf_christmas_panic_v1" {}
    }
    
    "PropHunt"
    {
        "maps_invote"   "1"
        "group_weight"  "2"
 
        "ph_farm_a2" {}
        "ph_warehouse_b1" {}
        "ph_oasis_a1" {}
        "spooky_ravine_a1" {}
    }
    
    "Dodgeball"
    {
        "maps_invote"   "1"
        "group_weight"  "2"
 
        "tfdb_castle" {}
        "tfdb_tennis" {}
    }
 
    "VS Saxton Hale"
    {
        "arena_granary" {}
        "arena_ravine" {}
        "arena_well" {}
        "arena_lumberyard" {}
    }
    
    "Spycrab"
    {
        "crab_farm_b2" {}
        "crab_mine_alpine_b1" {}
    }
 
    "The Hidden"
    {
        "arena_watchtower" {}
    }
    
    "Mysteriously Mysterious"
    {
        "ctf_steamroll_slag" {}
        "ctf_mandrillmaze_b2" {}
        "melee_barn_ddr2" {}
        "cube_soccer" {}
    }
}
__________________
Mecha the Slag is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-08-2011 , 17:22   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #215

OK those appear to be in order, can I see the error and normal logs from a day where this bug occurred?
Steell is offline
mabo666
Junior Member
Join Date: Jan 2011
Old 02-09-2011 , 11:22   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #216

This looks great i have not downloaded it yet, since i am thinking of something before i download it....

1. Is it possible to make it activate itself, like when there are 5min. left of a map on my server.

2. and is theres a button that says extend the map (for like 10 or 20 min.
mabo666 is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-09-2011 , 11:58   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #217

Quote:
Originally Posted by mabo666 View Post
This looks great i have not downloaded it yet, since i am thinking of something before i download it....

1. Is it possible to make it activate itself, like when there are 5min. left of a map on my server.

2. and is theres a button that says extend the map (for like 10 or 20 min.
Code:
//**************************************************************************//
//                         END OF MAP VOTE SETTINGS                         //
//**************************************************************************//

// Specifies if Ultimate Mapchooser should run an end of map vote.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_endvote "1"

// Specifies when to start the vote based on time remaining in minutes.
// -
// Default: "5"
// Minimum: "1.000000"
sm_umc_mapvote_starttime "5"

// Number of extensions allowed each map.
// -
// Default: "0"
// Minimum: "0.000000"
sm_umc_mapvote_extend "0"

// Specifies how many more minutes each extension makes.
// -
// Default: "15"
// Minimum: "1.000000"
sm_umc_extendmap_timestep "15"
Steell is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 02-09-2011 , 14:33   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #218

Code:
L 02/09/2011 - 01:02:03: [SM] Changed map to "tf2ware_test34"
L 02/09/2011 - 01:02:03: -------- Mapchange to tf2ware_test34 --------
L 02/09/2011 - 01:02:05: [ultimate-mapchooser.smx] KV file "umc_mapcycle.txt" successfully loaded.
L 02/09/2011 - 01:02:05: [ultimate-mapchooser.smx] Current Map Group: TF2Ware
L 02/09/2011 - 01:02:05: [ultimate-mapchooser.smx] Extensions left: 0
L 02/09/2011 - 01:17:15: [ultimate-mapchooser.smx] Setting nextmap to: tfdb_tennis
L 02/09/2011 - 01:23:22: [SM] Changed map to "tfdb_tennis"
L 02/09/2011 - 01:23:22: -------- Mapchange to tfdb_tennis --------
L 02/09/2011 - 01:35:00: [SM] Changed map to "tfdb_tennis"
L 02/09/2011 - 01:35:00: -------- Mapchange to tfdb_tennis --------
L 02/09/2011 - 01:35:02: [ultimate-mapchooser.smx] KV file "umc_mapcycle.txt" successfully loaded.
L 02/09/2011 - 01:35:02: [ultimate-mapchooser.smx] Current Map Group could not be determined.
L 02/09/2011 - 01:35:02: [ultimate-mapchooser.smx] MIN_PLAYERS: 0, MAX_PLAYERS: 30
L 02/09/2011 - 01:35:02: [ultimate-mapchooser.smx] Extensions left: 0
L 02/09/2011 - 01:43:08: [SM] Changed map to "melee_barn_ddr2"
L 02/09/2011 - 01:43:09: -------- Mapchange to melee_barn_ddr2 --------
L 02/09/2011 - 01:43:10: [ultimate-mapchooser.smx] KV file "umc_mapcycle.txt" successfully loaded.
L 02/09/2011 - 01:43:10: [ultimate-mapchooser.smx] Current Map Group: Mysteriously Mysterious
L 02/09/2011 - 01:43:10: [ultimate-mapchooser.smx] Extensions left: 0
Notice how it reports absolutely nothing in the second tfdb_tennis and repeats the map.

also no errors
__________________

Last edited by Mecha the Slag; 02-09-2011 at 14:35.
Mecha the Slag is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-09-2011 , 15:01   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #219

That's really odd, but I'll look into it. Do you have any special configurations running on that map? Also is there anything in common with maps where this happens?

EDIT: Are you absolutely sure there are no errors? Because that would indicate there's something interfering with Sourcemod. No matter what the plugin should print information when the map is changed, whether normal log messages or errors (which would go in the error log).

Last edited by Steell; 02-09-2011 at 15:06.
Steell is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 02-09-2011 , 15:28   Re: Ultimate Mapchooser v1.5.1 (Updated 1/26/11) [Now with vote sounds!]
Reply With Quote #220

While there isn't an error for the above timestamp, there's an error from yesterday. I just figured it'd be unrelated, though.

Code:
L 02/08/2011 - 06:45:07: [SM] Native "KvRewind" reported: Invalid key value handle 45e90315 (error 3)
L 02/08/2011 - 06:45:07: [SM] Displaying call stack trace for plugin "ultimate-mapchooser.smx":
L 02/08/2011 - 06:45:07: [SM]   [0]  Line 3924, ultimate-mapchooser.sp::RandomNextMap()
L 02/08/2011 - 06:45:07: [SM]   [1]  Line 1980, ultimate-mapchooser.sp::Handle_CatVoteResults()
__________________
Mecha the Slag is offline
Reply



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 04:16.


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