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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Sithranduil
Junior Member
Join Date: Oct 2014
Old 01-14-2017 , 08:31   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4741

Hello,

I've the same problem than rodreeking : https://forums.alliedmods.net/showpo...postcount=4728

I want to use somes maps groups to set the nextmod and the nextmap. For that I'm using sm_umc_endvote_type 2.
The vote for the mods/groups work nicely, but the vote for the map list send me some maps of others groups.

umc_mapcycle (simplified):
Code:
"umc_mapcycle"
{

    "Death Match"
    {
        "maps_invote"   "6"
        "command"   "exec modsConfig/loadDM.cfg"

        "gg_townsquare"{}
    }

    "Death Run"
    {
        "maps_invote"   "6"
        "command"   "exec modsConfig/loadDR.cfg"

        "mg_bogan_p1"{}
    }

}
I'm using the version 3.4.6-dev with csgo.

Last edited by Sithranduil; 01-14-2017 at 08:32.
Sithranduil is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 01-14-2017 , 13:41   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4742

Quote:
Originally Posted by Sithranduil View Post
Hello,

I've the same problem than rodreeking : https://forums.alliedmods.net/showpo...postcount=4728

I want to use somes maps groups to set the nextmod and the nextmap. For that I'm using sm_umc_endvote_type 2.
The vote for the mods/groups work nicely, but the vote for the map list send me some maps of others groups.

umc_mapcycle (simplified):
Code:
"umc_mapcycle"
{

    "Death Match"
    {
        "maps_invote"   "6"
        "command"   "exec modsConfig/loadDM.cfg"

        "gg_townsquare"{}
    }

    "Death Run"
    {
        "maps_invote"   "6"
        "command"   "exec modsConfig/loadDR.cfg"

        "mg_bogan_p1"{}
    }

}
I'm using the version 3.4.6-dev with csgo.
I'm not sure if I can help, since it seems several people are having this problem, but you'd have to post the full (not simplified) umc-mapcycle file for me to look at. Looking at what you have there, you only have one map per group, and you are specifying 6. If you have less than 6 maps in a group where you are specifying maps_invote 6, UMC may be forcing other maps to comply with the 6.
__________________
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
Bittersweet
Veteran Member
Join Date: May 2012
Old 01-14-2017 , 13:50   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4743

Quote:
Originally Posted by rodreeking View Post
PHP Code:
"umc_mapcycle"
{
    
    
"SURF+KILL"
    
{   
        
"maps_invote"           "4"

        
        "surf_ski_2"
        
{
        }
        
"surf_ski_2_csgo"
        
{
        }

    }
    
   
"DEATHMATCH"
   
{   
       
"maps_invote"           "5"
        "de_dust2"
            
{
            }
        
"de_inferno"
            
{
            }
        
"de_mirage"
            
{
            }
   }

Its a simple version but i cant make it work
Get rid of the "maps_invote" lines. If your first group, you are telling UMC to use 4 maps, and you only have 2. You also may run into problems with that group name having the + in it. You may want to name it SURF_KILL instead. Make it look like this:

PHP Code:
"umc_mapcycle" 

   
"SURF_KILL" 
   
{    
        
"surf_ski_2" {}
        
"surf_ski_2_csgo" {}
   } 
   
"DEATHMATCH" 
   
{    
       
"de_dust2" {} 
       
"de_inferno" {} 
       
"de_mirage" {}
   } 

Edit: If that doesn't work, then you will have to wait for a code update, or update the code yourself.
__________________
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

Last edited by Bittersweet; 01-14-2017 at 13:51. Reason: Addition
Bittersweet is offline
Sithranduil
Junior Member
Join Date: Oct 2014
Old 01-15-2017 , 19:58   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4744

Hi, the code maked me a little crazy, but I've made a fix of the code.
Now the maps of the categories are correctly listed.

Based on the version 3.4.6-dev for csgo (should work on others games).
Attached Files
File Type: smx umc-core.smx (57.2 KB, 212 views)
File Type: sp Get Plugin or Get Source (umc-core.sp - 181 views - 195.8 KB)
Sithranduil is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 01-15-2017 , 20:03   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4745

Quote:
Originally Posted by Sithranduil View Post
Hi, the code maked me a little crazy, but I've made a fix of the code.
Now the maps of the categories are correctly listed.

Based on the version 3.4.6-dev for csgo (should work on others games).
Sweet. I hope everyone finds this and tries it before making new posts about the same issues.
__________________
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
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 01-15-2017 , 20:33   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4746

Quote:
Originally Posted by Sithranduil View Post
Hi, the code maked me a little crazy, but I've made a fix of the code.
Now the maps of the categories are correctly listed.

Based on the version 3.4.6-dev for csgo (should work on others games).
could you comment the lines that you have made changes to?

also what does it fix? tiered vote works for me on csgo without a problem

i can vote for mode then map without a problem
__________________

Last edited by 8guawong; 01-15-2017 at 20:34.
8guawong is offline
Sithranduil
Junior Member
Join Date: Oct 2014
Old 01-16-2017 , 06:48   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4747

The problem than me and other peoples have is the next : The first vote runs, for example the result of the vote is minigames. So the mapvote should only list minigames maps, but instead It mix every maps of the umc_mapcycle.

What version of the UMC are you using ? Can you show me your cvar ? And also can you show me your mapcycle ?

You should use kdiff3, to check what I've modified in the code ;).
Sithranduil is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 01-16-2017 , 07:04   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4748

hi i actually had that problem before
but after spending some time testing i found out u need to have one of the module present for it to work (if i rember correctly it was umc-playerlimits)
so my question is do you have some module not installed?

my mapcycle
Spoiler


umc-endvote.cfg
Spoiler
__________________

Last edited by 8guawong; 01-16-2017 at 07:05.
8guawong is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 01-17-2017 , 09:49   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4749

Quote:
Originally Posted by Bittersweet View Post
I'm not sure if you can control "gamemodes" with UMC, but if you have figured out how to do that, then yes, you certainly should be able to configure it to respond to the number of players on the server. As I've pointed out so often, the full documentation is linked to in the OP. What you want to do is use this module, and also have some stuff in your umc_mapcycle file about player limits, see here.
I've tried it, as far as i understood that document, i should add the min_player on the UMC list, here's an example

Code:
        "Surf"
    {
        "command" "exec gamemodes/surflvl/server.cfg"
        "maps_invote" "15"
         "min_players"  "10"
          
          "surf_beginner" {}
          "surf_utopia_njv" {}
          "surf_generic" {}
          "surf_colum_up" {}
          "surf_candyland" {}
          "surf_atlas" {}



        }
But still this category "surf" appear even when there's less than 15 players, any thoughts of this? thanks in advance!
Lannister is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 01-17-2017 , 16:50   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
Reply With Quote #4750

Quote:
Originally Posted by Lannister View Post
I've tried it, as far as i understood that document, i should add the min_player on the UMC list, here's an example

Code:
        "Surf"
    {
        "command" "exec gamemodes/surflvl/server.cfg"
        "maps_invote" "15"
         "min_players"  "10"
          
          "surf_beginner" {}
          "surf_utopia_njv" {}
          "surf_generic" {}
          "surf_colum_up" {}
          "surf_candyland" {}
          "surf_atlas" {}



        }
But still this category "surf" appear even when there's less than 15 players, any thoughts of this? thanks in advance!
You'd have to post your entire umc-mapcycle.txt file for me to be sure. It may be that you aren't giving UMC any other choice. Also, the "maps_invote" is set to 15, not "min_players". Once again, with only 6 maps in the group, setting "maps_invote" to 15 doesn't do anything. You'd use "maps_invote" "15" for a group that had 16 or more maps, but you wanted UMC to pick 15 of the available maps for each vote. With "min_players" set to 10, the group would appear with 10 or more players, but it would also appear if UMC had no other choice - it has to present a vote, even if you've set every group to "min_players" "10" and there were only 5 players, a vote has to be presented.
__________________
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

Last edited by Bittersweet; 01-17-2017 at 16:50.
Bittersweet 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:53.


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