Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Steell
SourceMod Donor
Join Date: Mar 2009
Old 09-04-2011 , 12:23   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1691

Quote:
Originally Posted by lwf View Post
Great, that will have to do. However, now I've run into some problems. I'm using UMC for the end of map vote and want to use the stock sm plugins for nominate and rtv so that they are isolated from each other, meaning you can still rtv and you can still nominate maps to be included in the rtv as well as getting the full list as opposed to only 2 alternatives, but you cannot nominate maps for the end of map vote.
At this time UMC is not compatible with Sourcemod's built-in mapchooser. It may work, but I have not extensively tested it and the results are undefined. I can say with 90% certainty that there will be a conflict.

UMC does have a solution to your problem, which was introduced in version 3.0. For each module that directly uses a UMC-Mapcycle (End of Map Votes, Rock The Vote, Nominations, Vote Command, Admin Menu, Player Count Monitoring, and Random Mapcycle) there is a cvar which specifies the location of a UMC-Mapcycle definition file. By default, these cvars are set to "umc_mapcycle.txt", but it can be changed to any valid UMC-Mapcycle definition file.

Using this, you can make a separate mapcycle specifically for RTV and Nominations:

Step 1: Make a copy of your original "umc_mapcycle.txt" (or whatever you may have it called). I will refer to this new file as "umc_mapcycle_rtv.txt".

Step 2: Go into umc-rockthevote.cfg and umc-nominations.cfg. In both files, edit the mapcyclefile cvars so that they read "umc_mapcycle_rtv.txt" (or whatever you may have called it).

Step 3: Configure "umc_mapcycle_rtv.txt". As long as you do not use the same Map Group names as "umc_mapcycle.txt", this will work.


There is a caveat which I have discovered why working this out: this won't work if you want the same Map Groups names in both RTV and End of Map votes (particularly useful if you use Group or Tiered votes). I am working on a solution to this issue and it will be present in the next version of the plugin.


Quote:
Originally Posted by lwf View Post
I'm also getting this error although I have not looked into what problems it could cause: "[umc-endvote.smx] Unable to create end of map vote time-trigger, trigger time already passed".
This is caused when your vote trigger settings (sm_umc_endvote_starttime, startrounds, startfrags) are higher than the values of the respective map-ending cvars (mp_timelimit, mp_maxrounds/mp_winlimit, and mp_fraglimit respectively).
__________________
Steell is offline
lwf
Member
Join Date: Jan 2010
Old 09-04-2011 , 14:34   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1692

Quote:
Originally Posted by Steell View Post
UMC does have a solution to your problem, which was introduced in version 3.0. For each module that directly uses a UMC-Mapcycle (End of Map Votes, Rock The Vote, Nominations, Vote Command, Admin Menu, Player Count Monitoring, and Random Mapcycle) there is a cvar which specifies the location of a UMC-Mapcycle definition file. By default, these cvars are set to "umc_mapcycle.txt", but it can be changed to any valid UMC-Mapcycle definition file.
Brilliant, I completely overlooked this feature. However unless I'm not seeing something again there is still the issue of nominations done through the UMC module will still affect both UMC rtv and UMC end of map vote.

If there isn't already a way to do this as well, could you consider adding an option to the end of map vote module (or nomination module, whichever makes the most sense) controlling whether it will take nominations or not?

Last edited by lwf; 09-04-2011 at 14:46.
lwf is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 09-04-2011 , 19:19   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1693

Quote:
Originally Posted by lwf View Post
Brilliant, I completely overlooked this feature. However unless I'm not seeing something again there is still the issue of nominations done through the UMC module will still affect both UMC rtv and UMC end of map vote.

If there isn't already a way to do this as well, could you consider adding an option to the end of map vote module (or nomination module, whichever makes the most sense) controlling whether it will take nominations or not?
Because the original umc_mapcycle.txt contains different Map Group names than the RTV/Nomination mapcycle, Nominations will not be added to them (Nominations require the Map Group name to be consistant.)
__________________
Steell is offline
Ares Veteran
Senior Member
Join Date: Jul 2010
Location: Hungary
Old 09-05-2011 , 02:10   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1694

Quote:
Originally Posted by Steell View Post
Sorry for the inactivity over the past few days. Hurricane Irene caused a power outage that lasted for two days, so I am just now catching up.
OMG, do not apologise for that! Nice to see you are fine!
__________________
P.M.C Clan
pmcfighters.co.nr

Ares Veteran is offline
Send a message via MSN to Ares Veteran
lwf
Member
Join Date: Jan 2010
Old 09-05-2011 , 05:52   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1695

Quote:
Originally Posted by Steell View Post
Because the original umc_mapcycle.txt contains different Map Group names than the RTV/Nomination mapcycle, Nominations will not be added to them (Nominations require the Map Group name to be consistant.)
I can tell you really thought this through. Thank you so much.
lwf is offline
tejeskifly
Senior Member
Join Date: Jun 2009
Location: Hungary, Szeged
Old 09-05-2011 , 15:07   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1696

This setting was proper?

Code:
"umc_rotation"
{
    "Kis Mapok"
    {        
            
    "maps_invote" "5"
    "weight"    "1"
    "max_players" "10"
    
    "$2000$" {}
    "$6000$" {}
    "aim_ag_texture_city_summer_v1" {}
    "aim_beach_scout" {}
    "aim_deagle" {}
    "aim_deagle7k" {}
    "aim_deagle_ultra" {}
    "aim_deaglecave_v2" {}
    "aim_irak_street_remake" {}
    "aim_m4a1_final" {}
    "aim_map_usp" {}
    "aim_sand_map" {}
    "aim_shotty" {}
    "aim_skylands" {}
    "aim_trainingv2" {}
    "aim_ultra" {}
    "aim_usp-nade" {}
    "aim_usp_pro" {}
    "awp_baem" {}
    "awp_india_v2" {}
    "awp_india_v5" {}
    "awp_jalalabad" {}
    "awp_rooftops_css" {}
    "breakfloor_classic" {}
    "cs_office" {}
    "cs_screw" {}
    "cs_quackhouse" {}
    "cs_italy" {}
    "de_dust2" {}
    "de_marijuan_bust" {}
    dm_bunkerwars_source {}
    "fy_Buzzkill_Remake" {}
    "fy_ancient_egypt" {}
    "fy_fighter" {}
    "fy_highrise_09" {}
    "fy_kings_h" {}
    "fy_metrobudapest" {}
    "fy_monopoly" {}
    "fy_poolbase" {}
    "fy_shotgun_boxes" {}
    "fy_tip_octal" {}
    "fy_wetland" {}
    "scoutzknivez" {}
    "mcdonalds-mds" {}
    "mg_tankbase_v2_fix" {}
    //"rats_toybox" {}
    }
    
    "Kozepes Mapok"
    {  
    "maps_invote" "5"    
    "min_players" "8"
    "weight"    "5"
    
    "de_aztec" {}
        "cs_compound" {}
    "cs_farm" {}
    "cs_abbey" {}
    "cs_arabstreets" {}
    "cs_assault_night_2011" {}
    "cs_castleball_usa" {}
    "cs_calm_source" {}
    "cs_office" {}    
    "cs_farol_v4" {}
    "cs_xrio-" {}
    "cs_subway" {}
    "cs_italy" {}
    "de_dust2" {}
    "de_contra" {}
    "de_deltamill2" {}
    "de_dolls" {}
    "de_dust" {}
    "de_dust2_confused" {}
    "de_dust2_inverted" {}
    "de_inception" {}
    "de_inferno" {}
    "de_losttemple_pro" {}
    "de_nuke" {}
    "de_prodigy" {}
    "de_tpoint" {}
    "de_train" {}
    "xmas_nipperhouse" {}
    "de_cbble" {}
    "de_speedball_b2" {}
    "fy_abbottabad" {}
    "de_abbottabad" {}
    }
 
    "Kicsit nagyob mapok"
    {        
        "maps_invote" "5"
    "min_players" "12"
    "weight"    "8"
    
    "cs_desperados" {}
    "cs_italy_tactik2" {}
    "cs_northtower"  {}
    "cs_officerescue" {}
    "cs_parkhouse" {}
    "de_4thstreet" {}
    "de_catalane_b6" {}
    "de_cbble_extended" {}
    "de_cpl_fire" {}
    "de_cpl_mill" {}
    "de_cpl_strike" {}
    "de_frost" {}
    "de_gallery" {}
    "de_guerrilla" {}
    "de_icehouse" {}
    "de_new_sultan" {}
    "de_oilfine" {}
    "de_port" {}
    "de_sandland" {}
    "de_season" {}
    "de_slummi" {}
    "de_strata" {}
    "de_vertigo" {}
    "de_yacer_v3" {}
    }

    "Nagy Mapok"
    {
        "maps_invote" "5"
    "min_players" "16"
    "weight"    "10"
    
    "cs_olympic" {}
    "de_ballast_rc2" {}
    "de_boston" {}
    "de_desolate_rc1" {}
    "de_herat" {}
    "de_monte" {}
    "de_red_dust2" {}
    "de_roma_aimstyle" {}
    "de_secretcamp" {}
    "de_villa" {}
    }
}
tejeskifly is offline
Send a message via MSN to tejeskifly
Steell
SourceMod Donor
Join Date: Mar 2009
Old 09-05-2011 , 15:39   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1697

Quote:
Originally Posted by tejeskifly View Post
This setting was proper?
Code:
"umc_rotation"
{
    "Kis Mapok"
    {        
            
    "maps_invote" "5"
    "weight"    "1"
    "default_max_players" "10"
    
    "$2000$" {}
    "$6000$" {}
    "aim_ag_texture_city_summer_v1" {}
    "aim_beach_scout" {}
    "aim_deagle" {}
    "aim_deagle7k" {}
    "aim_deagle_ultra" {}
    "aim_deaglecave_v2" {}
    "aim_irak_street_remake" {}
    "aim_m4a1_final" {}
    "aim_map_usp" {}
    "aim_sand_map" {}
    "aim_shotty" {}
    "aim_skylands" {}
    "aim_trainingv2" {}
    "aim_ultra" {}
    "aim_usp-nade" {}
    "aim_usp_pro" {}
    "awp_baem" {}
    "awp_india_v2" {}
    "awp_india_v5" {}
    "awp_jalalabad" {}
    "awp_rooftops_css" {}
    "breakfloor_classic" {}
    "cs_office" {}
    "cs_screw" {}
    "cs_quackhouse" {}
    "cs_italy" {}
    "de_dust2" {}
    "de_marijuan_bust" {}
    "dm_bunkerwars_source" {} <---Add Quotes
    "fy_Buzzkill_Remake" {}
    "fy_ancient_egypt" {}
    "fy_fighter" {}
    "fy_highrise_09" {}
    "fy_kings_h" {}
    "fy_metrobudapest" {}
    "fy_monopoly" {}
    "fy_poolbase" {}
    "fy_shotgun_boxes" {}
    "fy_tip_octal" {}
    "fy_wetland" {}
    "scoutzknivez" {}
    "mcdonalds-mds" {}
    "mg_tankbase_v2_fix" {}
    //"rats_toybox" {}
    }
    
    "Kozepes Mapok"
    {  
    "maps_invote" "5"    
    "default_min_players" "8"
    "weight"    "5"
    
    "de_aztec" {}
        "cs_compound" {}
    "cs_farm" {}
    "cs_abbey" {}
    "cs_arabstreets" {}
    "cs_assault_night_2011" {}
    "cs_castleball_usa" {}
    "cs_calm_source" {}
    "cs_office" {}    
    "cs_farol_v4" {}
    "cs_xrio-" {}
    "cs_subway" {}
    "cs_italy" {}
    "de_dust2" {}
    "de_contra" {}
    "de_deltamill2" {}
    "de_dolls" {}
    "de_dust" {}
    "de_dust2_confused" {}
    "de_dust2_inverted" {}
    "de_inception" {}
    "de_inferno" {}
    "de_losttemple_pro" {}
    "de_nuke" {}
    "de_prodigy" {}
    "de_tpoint" {}
    "de_train" {}
    "xmas_nipperhouse" {}
    "de_cbble" {}
    "de_speedball_b2" {}
    "fy_abbottabad" {}
    "de_abbottabad" {}
    }
 
    "Kicsit nagyob mapok"
    {        
        "maps_invote" "5"
    "default_min_players" "12"
    "weight"    "8"
    
    "cs_desperados" {}
    "cs_italy_tactik2" {}
    "cs_northtower"  {}
    "cs_officerescue" {}
    "cs_parkhouse" {}
    "de_4thstreet" {}
    "de_catalane_b6" {}
    "de_cbble_extended" {}
    "de_cpl_fire" {}
    "de_cpl_mill" {}
    "de_cpl_strike" {}
    "de_frost" {}
    "de_gallery" {}
    "de_guerrilla" {}
    "de_icehouse" {}
    "de_new_sultan" {}
    "de_oilfine" {}
    "de_port" {}
    "de_sandland" {}
    "de_season" {}
    "de_slummi" {}
    "de_strata" {}
    "de_vertigo" {}
    "de_yacer_v3" {}
    }

    "Nagy Mapok"
    {
        "maps_invote" "5"
    "default_min_players" "16"
    "weight"    "10"
    
    "cs_olympic" {}
    "de_ballast_rc2" {}
    "de_boston" {}
    "de_desolate_rc1" {}
    "de_herat" {}
    "de_monte" {}
    "de_red_dust2" {}
    "de_roma_aimstyle" {}
    "de_secretcamp" {}
    "de_villa" {}
    }
}
__________________
Steell is offline
tejeskifly
Senior Member
Join Date: Jun 2009
Location: Hungary, Szeged
Old 09-05-2011 , 16:02   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1698

Thanks!!!!
tejeskifly is offline
Send a message via MSN to tejeskifly
BaconCat
Member
Join Date: Sep 2011
Old 09-06-2011 , 21:45   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1699

Hey guys, I am having some trouble with UMC!

in my umc-endvote.cfg, I have this set:
Code:
// File to use for Ultimate Mapchooser's map rotation.
// -
// Default: "umc_mapcycle.txt"
sm_umc_endvote_cyclefile "umc_mapcycle.txt"
And the mapcycle under cfg/sourcemod/umc_mapcycle.txt, which I have this:
Code:
"umc_rotation"
{
    "All Maps"
    {
    "maps_invote" "5"
    "weight"    "1"
        "koth_harvest_final" {}
        "koth_harvest_event" {}
        "koth_nucleus" {}
        "koth_sawmill" {}
        "koth_viaduct" {}
        "ctf_2fort" {}
        "ctf_doublecross" {}
        "ctf_sawmill" {}
        "ctf_turbine" {}
        "ctf_well" {}
        "cp_5Gorge" {}
        "cp_badlands" {}
        "cp_coldfront" {}
        "cp_fastlane" {}
        "cp_freight_final1" {}
        "cp_granary" {}
        "cp_well" {}
        "cp_yukon_final" {}
        "cp_egypt_final" {}
        "cp_dustbowl" {}
        "cp_gravelpit" {}
        "cp_junction_final" {}
        "cp_degrootkeep" {}
        "cp_steel" {}
        "tc_hydro" {}
        "cp_mountainlab" {}
        "pl_hoodoo_final" {}
        "pl_badwater" {}
        "pl_goldrush" {}
        "pl_thundermountain" {}
        "plr_pipeline" {}
        "pl_upward" {}
        "plr_hightower" {}
        "cp_manor_event" {}
        "arena_badlands" {}
        "arena_granary" {}
        "arena_lumberyard" {}
        "arena_nucleus" {}
        "arena_offblast_final" {}
        "arena_ravine" {}
        "arena_sawmill" {}
        "arena_watchtower" {}
        "arena_well" {}
    }
}
However, when I load, Sourcemod errors and tells me this:
Code:
L 09/07/2011 - 02:38:01: SourceMod error session started 
L 09/07/2011 - 02:38:01: Info (map "cp_5gorge") (file "errors_20110907.log")   
L 09/07/2011 - 02:38:05: [SM] Displaying call stack trace for plugin "optional\umc-endvote.smx": 
L 09/07/2011 - 02:38:05: [SM]   [0]  Line 127, umc-endvote.sp::AskPluginLoad2() 
L 09/07/2011 - 02:38:05: [optional\ultimate-mapchooser.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\ultimate-mapchooser.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-endvote.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-endvote.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-nominate.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-nominate.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-playercountmonitor.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-playercountmonitor.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-randomcycle.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-randomcycle.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-rockthevote.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-rockthevote.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-votecommand.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-votecommand.smx] SETUP: Mapcycle failed to load!
Have I done something wrong?

Last edited by BaconCat; 09-06-2011 at 21:48.
BaconCat is offline
Jstn7477
Senior Member
Join Date: Mar 2011
Location: Florida, USA
Old 09-06-2011 , 23:35   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1700

Quote:
Originally Posted by BaconCat View Post
Hey guys, I am having some trouble with UMC!

in my umc-endvote.cfg, I have this set:
Code:
// File to use for Ultimate Mapchooser's map rotation.
// -
// Default: "umc_mapcycle.txt"
sm_umc_endvote_cyclefile "umc_mapcycle.txt"
And the mapcycle under cfg/sourcemod/umc_mapcycle.txt, which I have this:
Code:
"umc_rotation"
{
    "All Maps"
    {
    "maps_invote" "5"
    "weight"    "1"
        "koth_harvest_final" {}
        "koth_harvest_event" {}
        "koth_nucleus" {}
        "koth_sawmill" {}
        "koth_viaduct" {}
        "ctf_2fort" {}
        "ctf_doublecross" {}
        "ctf_sawmill" {}
        "ctf_turbine" {}
        "ctf_well" {}
        "cp_5Gorge" {}
        "cp_badlands" {}
        "cp_coldfront" {}
        "cp_fastlane" {}
        "cp_freight_final1" {}
        "cp_granary" {}
        "cp_well" {}
        "cp_yukon_final" {}
        "cp_egypt_final" {}
        "cp_dustbowl" {}
        "cp_gravelpit" {}
        "cp_junction_final" {}
        "cp_degrootkeep" {}
        "cp_steel" {}
        "tc_hydro" {}
        "cp_mountainlab" {}
        "pl_hoodoo_final" {}
        "pl_badwater" {}
        "pl_goldrush" {}
        "pl_thundermountain" {}
        "plr_pipeline" {}
        "pl_upward" {}
        "plr_hightower" {}
        "cp_manor_event" {}
        "arena_badlands" {}
        "arena_granary" {}
        "arena_lumberyard" {}
        "arena_nucleus" {}
        "arena_offblast_final" {}
        "arena_ravine" {}
        "arena_sawmill" {}
        "arena_watchtower" {}
        "arena_well" {}
    }
}
However, when I load, Sourcemod errors and tells me this:
Code:
L 09/07/2011 - 02:38:01: SourceMod error session started 
L 09/07/2011 - 02:38:01: Info (map "cp_5gorge") (file "errors_20110907.log")   
L 09/07/2011 - 02:38:05: [SM] Displaying call stack trace for plugin "optional\umc-endvote.smx": 
L 09/07/2011 - 02:38:05: [SM]   [0]  Line 127, umc-endvote.sp::AskPluginLoad2() 
L 09/07/2011 - 02:38:05: [optional\ultimate-mapchooser.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\ultimate-mapchooser.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-endvote.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-endvote.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-nominate.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-nominate.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-playercountmonitor.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-playercountmonitor.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-randomcycle.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-randomcycle.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-rockthevote.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-rockthevote.smx] SETUP: Mapcycle failed to load! 
L 09/07/2011 - 02:38:05: [optional\umc-votecommand.smx] KV ERROR: Unable to load KV file: umc_mapcycle.txt 
L 09/07/2011 - 02:38:05: [optional\umc-votecommand.smx] SETUP: Mapcycle failed to load!
Have I done something wrong?
Move umc_mapcycle.txt out of cfg/sourcemod and in to the /tf folder on your server (the directory with addons, bin, cfg, maps, logs... folders) and you should be good to go.
__________________
Yo , I heard you like , so I put a in your so you can while you .
Jstn7477 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 18:19.


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