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
doroemon
Senior Member
Join Date: Dec 2009
Location: TF2 AFK Server
Old 08-25-2015 , 22:07   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4321

Hello everyone~
I used Ulmate Mapchooser 3.4.6 for this link:
https://forums.alliedmods.net/showpo...postcount=4137

And....How can I make it work with TF2 Workshop?
this is my umc_mapcycle.txt:
Code:
// Mapcycle definition for Ultimate Mapchooser v3.1 by Steell

///////////////////////////////////////////////////////////////////////////////
//***************************************************************************//
//**                           ULTIMATE MAPCHOOSER                         **//
//***************************************************************************//
// The format of this file is as specified in the following example:         //
//                                                                           //
// "umc_mapcycle"                                                            //
// {                                                                         //
//      "GROUPNAME-1" //Name of the group, used by group votes.              //
//      {                                                                    //
//          //Text to display for maps from this group in the vote. If left  //
//          //blank or omitted, the map's name will be used as the default.  //
//          //The following string will be replaced when parsed:             //
//          //  {MAP}           =   The map's name                           //
//          //  {NOMINATED}     =   If nominated, a string determined by the //
//          //                      "sm_umc_nomination_display" cvar in      //
//          //                      "ultimate-mapchooser.cfg"                //
//          //  {MIN_PLAYERS}                                                //
//          //  {MAX_PLATERS}   =   The "min_players" and "max_players"      //
//          //                      settings for the map.                    //
//          //  {MIN_TIME}                                                   //
//          //  {MAX_TIME}      =   The "min_time" and "max_time" settings   //
//          //                      for the map.                             //
//          // (Default value: "{MAP}")                                      //
//          "display-template"      "any value"                              //
//            //Defined in "umc-core.smx"                                    //
//                                                                           //
//          //Number of maps to include from this group in a vote.           //
//          // (Default value: 1)                                            //
//          "maps_invote"           "int >= 0"                               //
//            //Defined in "umc-core.smx"                                    //
//                                                                           //
//          //The weight of this group for random picking. Higher numbers    //
//          //mean the group is more likely to be picked. 0 means the group  //
//          //can never be picked randomly.                                  //
//          // (Default value: 1)                                            //
//          "group_weight"          "float > 0"                              //
//            //Defined in "umc-weight.smx"                                  //
//                                                                           //
//          //If a map from this group is picked randomly or via vote, the   //
//          //next time a map is chosen randomly, it will be from the group  //
//          //specified in this setting. If "" then a random group is picked.//
//          // (Default value: "")                                           //
//          "next_mapgroup"         "Group Name"                             //
//            //Defined in "umc-randomcycle.smx"                             //
//                                                                           //
//          //Used as defaults if "min_players" or "max_players" is          //
//          //not defined for a map in this group.                           //
//          // (Default value: 0)                                            //
//          "default_min_players"   "int >= 0"                               //
//          // (Default value: Player limit of the server)                   //
//          "default_max_players"   "int >= 0"                               //
//            //Defined in "umc-playerlimits.smx"                            //
//                                                                           //
//          //Used as defaults if "min_time" or "max_time" is not defined    //
//          //for a map in this group.                                       //
//          // (Default value: "0000")                                       //
//          "default_min_time"  "HHMM, where HH is the hour and MM is the    //
//                               minute"                                     //
//          // (Default value: "2359")                                       //
//          "default_max_time"	    "HHMM"                                   //
//            //Defined in "umc-timelimits.smx"                              //
//                                                                           //
//          //Used as default if "allow_every" is not defined for a map in   //
//          //this group.                                                    //
//          // (Default value: 0)                                            //
//          "default_allow_every"   "int >= 0"                               //
//            //Defined in "umc_postexclude.smx"                             //
//                                                                           //
//          //The command specified here is performed at the start of all    //
//          //maps in this group.                                            //
//          // (Default value: "")                                           //
//          "command"   "any valid console command"                          //
//            //Defined in "umc-mapcommands.smx"                             //
//                                                                           //
//          //Players need to have at least one admin flag specified in this //
//          //string in order to nominate this map.                          //
//          // (Default value: "")                                           //
//          "nominate_flags"    "sequence of admin flags"                    //
//            //Defined in "umc-nominate.smx"                                //
//                                                                           //
//          //Admins need to have at least one admin flag specified in this  //
//          //string in order to see this map in the admin menu.             //
//          // (Default value: "")                                           //
//          "adminmenu_flags"   "sequence of admin flags"                    //
//            //Defined in "umc-adminmenu.smx"                               //
//                                                                           //
//          "MAP-1" //Name of a map, must be a valid map.                    //
//          {                                                                //
//              //Text to display for this map in the vote. If left blank    //
//              //or omitted, the map's name will be used instead.           //
//              // (Default value: "{MAP}")                                  //
//              "display"       "any value"                                  //
//                //Defined in "umc-core.smx"                                //
//                                                                           //
//              //The weight of this map with reference to other maps        //
//              //in this category. This number affect how likely the        //
//              //map will appear in a vote, as well as how likely this      //
//              //map will be chosen randomly (assuming this group has       //
//              //already been chosen.)                                      //
//              // (Default value: 1)                                        //
//              "weight"        "float > 0"                                  //
//                //Defined in "umc-weight.smx"                              //
//                                                                           //
//              //Overrides the option of the same name in the group level.  //
//              // (Default value: "")                                       //
//              "next_mapgroup"     "Group Name"                             //
//                //Defined in "umc-randcycle.smx"                           //
//                                                                           //
//              //Defines the number of players required to be on the        //
//              //server in order for this map to be used.                   //
//              // (Default values: see "default_min_players" and            //
//              //  "default_max_players")                                   //
//              "min_players"   "int >= 0"                                   //
//              "max_players"   "int >= 0"                                   //
//                //Defined in "umc-playerlimits.smx"                        //
//                                                                           //
//              //Defines the minimum and maximum times that UMC will pick   //
//              //this map to be played.                                     //
//              "min_time"      "HHMM"                                       //
//              "max_time"      "HHMM"                                       //
//                //Defined in "umc-timelimits.smx"                          //
//                                                                           //
//              //Defines an amount of time in minutes that a map is to be   //
//              //excluded from selection after it has been played.          //
//              "allow_every"   "int >= 0"                                   //
//                //Defined in "umc-postexclude.smx"                         //
//                                                                           //
//              //This command is performed at the start of this map. Note:  //
//              //The command specified here is performed AFTER the one      //
//              //specified for the group, and does not override it.         //
//              // (Default value: "")                                       //
//              "command"       "any valid console command"                  //
//                //Defined in "umc-mapcommands.smx"                         //
//                                                                           //
//              //Players need to have at least one admin flag specified in  //
//              //this string in order to nominate this map. This overrides  //
//              //the option  specified by this group for this map.          //
//              // (Default value: "")                                       //
//              "nominate_flags"    "sequence of admin flags"                //
//                //Defined in "umc-nominate.smx"                            //
//                                                                           //
//              //Admins need to have at least one admin flag specified in   //
//              //this string in order to see this map in the admin menu.    //
//              //This overrides the option specified by this group for this //
//              //map.                                                       //
//              // (Default value: "")                                       //
//              "adminmenu_flags"   "sequence of admin flags"                //
//                //Defined in "umc-adminmenu.smx"                           //
//                                                                           //
//              //When this map is nominated, it is associated with the group//
//              //specified by this setting, overriding the group that it's  //
//              //physically located in within this definition file. If blank//
//              //it uses the group it's currently located in.               //
//              // (Default value: "")                                       //
//              "nominate_group"    "Group Name"                             //
//                //Defined in "umc-core.smx"                                //
//          }                                                                //
//                                                                           //
//          "MAP-2"                                                          //
//          {                                                                //
//              ...                                                          //
//          }                                                                //
//                                                                           //
//          ...                                                              //
//                                                                           //
//          "MAP-N"                                                          //
//          {                                                                //
//              ...                                                          //
//          }                                                                //
//      }                                                                    //
//                                                                           //
//      "GROUPNAME-2"                                                        //
//      {                                                                    //
//          ...                                                              //
//      }                                                                    //
//                                                                           //
//      ...                                                                  //
//                                                                           //
//      "GROUPNAME-N"                                                        //
//      {                                                                    //
//          ...                                                              //
//      }                                                                    //
// }                                                                         //
//***************************************************************************//
//*                      ^YOU MAY DELETE THIS SECTION^                      *//
///////////////////////////////////////////////////////////////////////////////

"umc_mapcycle"
{
	"Attack & Defend(攻擊 & 防禦)"
	{
	    "command"  "exec AD.cfg"
	
		"cp_dustbowl"  {}
		"cp_egypt_final"  {}
		"cp_gorge"  {}
		"cp_granary"  {}
		"cp_gravelpit"  {}
		"cp_junction_final"  {}
		"cp_mountainlab"  {}
		"cp_steel"  {}
	}
	"Control Point(控制點)"
	{
	    "command"  "exec cap.cfg"
		
		"cp_5gorge"  {}
		"cp_badlands" {}
		"cp_coldfront" {}
		"cp_fastlane" {}
		"cp_foundry" {}
		"cp_freight_final1" {}
		"cp_granary" {}
		"cp_gullywash_final1" {}
		"cp_powerhouse"  {}
		"cp_process_final" {}
		"cp_snakewater_final1" {}
		"cp_standin_final" {}
		"cp_well" {}
		"cp_yukon_final" {}
	}
	"Capture the Flag(搶奪情報箱)"
	{
        "command"  "exec ctf.cfg"
		
		"ctf_2fort"  {}
		"ctf_doublecross"  {}
		"ctf_sawmill"  {}
		"ctf_turbine"  {}
		"ctf_well"  {}
	}
	"King of the Hill(山丘之王)"
	{
		"command"  "exec KOTH.cfg"
		
		"koth_badlands"  {}
		"koth_harvest_event"  {}
		"koth_harvest_final"  {}
		"koth_king"  {}
		"koth_lakeside_event"  {}
		"koth_lakeside_final"  {}
		"koth_nucleus"  {}
		"koth_sawmill"  {}
		"koth_suijin"  {}
		"koth_viaduct"  {}
		"koth_viaduct_event"  {}
	}	
	"Payload(彈頭車)"
	{
		"command"  "exec PL.cfg"
		
		"pl_badwater"  {}
		"pl_barnblitz"  {}
		"pl_borneo"		{}
		"pl_cactuscanyon"		{}
		"pl_frontier_final"  {}
		"pl_goldrush"  {}
		"pl_hoodoo_final"  {}
		"pl_thundermountain"  {}
		"pl_upward"  {}
	}
	"Payload Race(彈頭車競賽)"
	{
		"command"  "exec PLR.cfg"
		
		"plr_hightower"  {}
		"plr_hightower_event"  {}
		"plr_nightfall_final"  {}
		"plr_pipeline"  {}
	}
	"Medieval(中世紀)"
	{
		"command"  "exec medieval.cfg"
		
		"cp_degrootkeep"  {}
	}
	"Freeze Tag(凍結救人)"
	{
		"command"  "exec freezetag.cfg"
		
		"arena_badlands"  {}
		"arena_granary"  {}
		"arena_lumberyard"  {}
		"arena_nucleus"  {}
		"arena_offblast_final"  {}
		"arena_ravine"  {}
		"arena_sawmill"  {}
		"arena_watchtower"  {}
		"arena_well"  {}
	}
	"The Hidden(潛行者)"
	{
		"command"  "exec hidden.cfg"
		
		"arena_badlands"  {}
		"arena_granary"  {}
		"arena_lumberyard"  {}
		"arena_nucleus"  {}
		"arena_offblast_final"  {}
		"arena_ravine"  {}
		"arena_sawmill"  {}
		"arena_watchtower"  {}
		"arena_well"  {}
	}
	"Randomizer(隨機武器大亂鬥)"
	{
		"command"  "exec random.cfg"
		
		"koth_badlands"  {}
		"koth_harvest_event"  {}
		"koth_harvest_final"  {}
		"koth_king"  {}
		"koth_lakeside_event"  {}
		"koth_lakeside_final"  {}
		"koth_nucleus"  {}
		"koth_sawmill"  {}
		"koth_suijin"  {}
		"koth_viaduct"  {}
		"koth_viaduct_event"  {}
	}	
	"Mann vs Tank!(曼恩對決坦克)"
	{
		"command"  "exec mannvstank.cfg"
	
		"pl_barnblitz"	  {}
		"pl_frontier_final"	  {}
		"pl_upward"	  {}
		"pl_goldrush"	  {}
		"pl_thundermountain"	  {}
		"pl_hoodoo_final"	  {}
		"plr_pipeline"		{}
		"plr_nightfall_final"		{}
		"pl_cactuscanyon"		{}
		"plr_hightower"		{}
		"plr_hightower_event"		{}	
		"pl_badwater"		{}	
		"pl_borneo"		{}
		"workshop/454262056"		{}
		"pl_beerbowl_b6c"		{}
		"pl_borax_rc2"		{}
		"workshop/456799153"		{}
		"pl_cliffhanger_b1"		{}
		"pl_donkeykong_final"		{}
		"workshop/464739486"		{}
		"workshop/454619737"		{}
		"pl_repository_rc3"		{}
		"pl_volcanic_a26"		{}
		"pl_poodoo_v3"		{}
		"pl_promotion_b5"		{}
		"pl_dbheights_b5"		{}
		"pl_badwater_snowy"		{}
		"pl_bedwetter"		{}
		"pl_great_heights_b3"		{}
		"pl_jungle_a1c"		{}
		"workshop/481737043"		{}
		"workshop/454225330"		{}
		"workshop/454116894"		{}
		"workshop/454304371"		{}
		"workshop/478997719"		{}	
	}
	"Other Gamemode(其他遊戲模式)"
	{
		"command"  "exec othergamemode.cfg"
		
		"1up_granary"
		{
			"command"  "exec coins.cfg"
		}
		"rd_asteroid"  
		{
			"command"  "exec rdrobot.cfg"
		}	
		"tc_hydro"		
		{
			"command"  "exec TC.cfg"				
		}
		"sd_doomsday"  
		{
			"command"  "exec SD.cfg"				
		}
		"sd_doomsday_event"  
		{
			"command"  "exec SD.cfg"				
		}
		"pl_redship_dc_rc3"
        {
			"command"  "exec ship.cfg"				
		}
		"cp_snowplow"  
		{
			"command"  "exec endoftheline.cfg"
		}
		"ctf_foundry"
        {
			"command"  "exec mannpower.cfg"				
		}
        "ctf_gorge"
        {
			"command"  "exec mannpower.cfg"				
		}
        "ctf_thundermountain"
        {
			"command"  "exec mannpower.cfg"				
		}
		"pass_warehouse"
        {
			"command"  "exec passtime.cfg"				
		}
	}
	"Funny Map(趣味地圖)"
	{
		"command"  "exec funnymap.cfg"
		
		"koth_skybox_a1"
		{
			"command"  "exec wallhack.cfg"
		}
		"koth_pacman_wtf_b2"
		{
			"command"  "exec pacman.cfg"
		}
		"cp_pacman_reg_wtf"
		{
			"command"  "exec pacman.cfg"
		}
		"ctf_trains_b2"
		{
			"command"  "exec train.cfg"
		}
		"cp_degrootkeep_nomed"
		{
			"command"  "exec notmedieval.cfg"
		}
		"koth_foolsgrid"
		{
			"command"  "exec nyancat.cfg"
		}
		
	}
	
}
(Sorry for my bad english...)
doroemon is offline
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 08-26-2015 , 04:00   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4322

Quote:
Originally Posted by Bittersweet View Post
The short answer is in umc-endvote.cfg, the cvar is sm_umc_endvote_extends, but there are several other settings involved with map extensions. Most of those are in umc-envote.cfg, but there are some in ultimate-mapchooser.cfg also, and there are extension options for some of the other modules peppered in different .cfg files. Search the files for the word "extend" with a text editor.

The best way to set up UMC the way you want it, is to go through each .cfg file line by line. The documentation in there is pretty good.
Thank you. This helped!

Other question:
Is it possible if a player type rtv, all spectators do not count? Because I use afk plugin, all who is afk will move to spectators.

Sorry for my english.
mazdarx8 is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 08-26-2015 , 15:44   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4323

Quote:
Originally Posted by mazdarx8 View Post
Thank you. This helped!

Other question:
Is it possible if a player type rtv, all spectators do not count? Because I use afk plugin, all who is afk will move to spectators.

Sorry for my english.
Sorry, but I really have no experience with RTV because I always shut that feature and nominate off.
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
Bittersweet is offline
Danii
AlliedModders Donor
Join Date: Oct 2014
Location: localhost
Old 08-27-2015 , 10:36   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4324

L 08/27/2015 - 170:09: [SM] Unable to load plugin "umc-core.smx": Native "BfWriteString" was not found
L 08/27/2015 - 170:09: [SM] Unable to load plugin "umc-endvote.smx": Native "BfWriteString" was not found
L 08/27/2015 - 170:09: [SM] Unable to load plugin "umc-adminmenu.smx": Native "BfWriteString" was not found
L 08/27/2015 - 170:09: [SM] Unable to load plugin "umc-endvote-warnings.smx": Native "BfWriteString" was not found
L 08/27/2015 - 170:09: [SM] Unable to load plugin "umc-echonextmap.smx": Native "BfWriteString" was not found

This prob got fixed? Can you please help me ... with what do i need to do. Tryed all that other ppl told do to.
Danii is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 08-27-2015 , 11:24   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4325

danii quit cross posting, you brought up a thread with nothing better todo, google that "Native "BfWriteString" was not found" and find your answer quit being lazy!
hamilton5 is offline
Miguel100
Member
Join Date: Oct 2010
Location: Portugal
Old 09-01-2015 , 20:41   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4326

Hello Guys!, can someone help me? Im having an issue that i cannot display only maps from a prefix for example if people choose ze_ its only gets maps with ze_ prefix but its getting from zm_ also i tryed alot of times to fix it but no luck, its probably something obvious im missing but i cant find it ... If you need umc_mapcycle.txt or other tell me.

The Game is CS:GO and using umc machooser from here: https://forums.alliedmods.net/showpo...postcount=4137 , also a screenshot. http://1drv.ms/1hSBiiG
Miguel100 is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 09-02-2015 , 20:22   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4327

Quote:
Originally Posted by Miguel100 View Post
Hello Guys!, can someone help me? Im having an issue that i cannot display only maps from a prefix for example if people choose ze_ its only gets maps with ze_ prefix but its getting from zm_ also i tryed alot of times to fix it but no luck, its probably something obvious im missing but i cant find it ... If you need umc_mapcycle.txt or other tell me.

The Game is CS:GO and using umc machooser from here: https://forums.alliedmods.net/showpo...postcount=4137 , also a screenshot. http://1drv.ms/1hSBiiG

This sounds like an issue in your umc_mapcycle.txt. Only maps in your umc_mapcycle.txt should be in the menu. Post your umc_mapcycle.txt. This is happening during a regular vote, correct? If it is admin initiated or some other type of vote, you should check to make sure the mapfile specified in the corresponding .cfg file has only the maps you want. Each module can specify a separate mapcycle file, I'm not sure what the default file name is for all of the modules.
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
Bittersweet is offline
Miguel100
Member
Join Date: Oct 2010
Location: Portugal
Old 09-02-2015 , 20:27   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4328

Quote:
Originally Posted by Bittersweet View Post
This sounds like an issue in your umc_mapcycle.txt. Only maps in your umc_mapcycle.txt should be in the menu. Post your umc_mapcycle.txt. This is happening during a regular vote, correct? If it is admin initiated or some other type of vote, you should check to make sure the mapfile specified in the corresponding .cfg file has only the maps you want. Each module can specify a separate mapcycle file, I'm not sure what the default file name is for all of the modules.
Thanks Alot Bittersweet attached the file just as you asked!

Cheers Miguel.

P.S. I Need to go! Leave reply today if you have time tomorrow i will read it and thanks once again!
Attached Files
File Type: txt umc_mapcycle.txt (7.7 KB, 205 views)

Last edited by Miguel100; 09-02-2015 at 20:42. Reason: P.S.
Miguel100 is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 09-02-2015 , 20:53   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4329

Quote:
Originally Posted by Miguel100 View Post
Thanks Alot Bittersweet attached the file just as you asked!

Cheers Miguel.

P.S. I Need to go! Leave reply today if you have time tomorrow i will read it and thanks once again!

This is very simple. Your umc_mapcycle.txt file has zm_ maps in it, so they will be displayed in the vote. Only put maps that you want displayed in the vote into your umc_mapcycle.txt file
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
Bittersweet is offline
Miguel100
Member
Join Date: Oct 2010
Location: Portugal
Old 09-02-2015 , 21:00   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4330

Quote:
Originally Posted by Bittersweet View Post
This is very simple. Your umc_mapcycle.txt file has zm_ maps in it, so they will be displayed in the vote. Only put maps that you want displayed in the vote into your umc_mapcycle.txt file
Hey Bitter last message for tonight!

I'm using tiered voting so if people choose Zombie Escape (ze_) i want only to appear maps with ze_, if they choose Zombie Mod (zm_), there is 2 votings first the type of map ze_/zm_, and then the maps itself's randomized from umc_mapcycle from the type of map the chossen.

Attached a Verbose log of UMC you might figure out something!

Thanks again and good night!
Attached Files
File Type: log UMC_20150902.log (72.4 KB, 94 views)
Miguel100 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 22:36.


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