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
melaf
Senior Member
Join Date: Aug 2011
Old 11-18-2011 , 08:17   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2061

Quote:
Originally Posted by Steell View Post
I have to update the description, but it's this one:
Code:
// If a winning vote has less than this percentage of total votes, a runoff vote will be held.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_endvote_threshold "0"
thank you
melaf is offline
daveyboye
Senior Member
Join Date: Aug 2008
Old 11-18-2011 , 15:49   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2062

Alright Steel, just writing up a draft. For my scenario in hl2dm (where I just want to split maps up by the amount of people on the server + be able to use some same maps in multiple groups), would this be the route I would go? Also, is there anything I else I need to add? What plugins should I use. I want it to act similar to mani admin plugin (finally got rid of it) only with the addtiion to have more control over what maps get played. I need a Map Vote to show up with 5 minutes remaining in the map. I need there to be a runoff if players don't choose a majority. I need there to be a rock the vote. Those are the only things I need. Any help is greatly appreciated.

Code:
"umc_mapcycle"
{
    "Small Maps"
    {
        "maps_invote"  "12" //Set this to whatever
        
        //Any other group options go here

        "small_map1"
        {
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map2"
        {
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map3"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map4"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map5"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map6"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map7"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map8"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map9"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map10"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map11"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map12"
            "min_players"  "0"
            "max_players"  "4"
        }
    }

    "Medium Maps"
    {
        "maps_invote"  "12" //Set this to whatever
        
        //Any other group options go here

        "medium_map1"
        {
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map2"
        {
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map3"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map4"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map5"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map6"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map7"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map8"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map9"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map10"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map11"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map12"
            "min_players"  "5"
            "max_players"  "10"
        }
    }
    "Large Maps"
        {
        "maps_invote"  "12" //Set this to whatever
        
        //Any other group options go here

        "large_map1"
        {
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map2"
        {
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map3"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map4"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map5"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map6"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map7"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map8"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map9"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map10"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map11"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map12"
            "min_players"  "11"
            "max_players"  "16"
        }
    }
}
daveyboye is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 11-18-2011 , 23:30   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2063

Quote:
Originally Posted by daveyboye View Post
Alright Steel, just writing up a draft. For my scenario in hl2dm (where I just want to split maps up by the amount of people on the server + be able to use some same maps in multiple groups), would this be the route I would go? Also, is there anything I else I need to add? What plugins should I use. I want it to act similar to mani admin plugin (finally got rid of it) only with the addtiion to have more control over what maps get played. I need a Map Vote to show up with 5 minutes remaining in the map. I need there to be a runoff if players don't choose a majority. I need there to be a rock the vote. Those are the only things I need. Any help is greatly appreciated.

Code:
"umc_mapcycle"
{
    "Small Maps"
    {
        "maps_invote"  "12" //Set this to whatever
        
        //Any other group options go here

        "small_map1"
        {
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map2"
        {
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map3"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map4"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map5"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map6"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map7"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map8"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map9"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map10"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map11"
            "min_players"  "0"
            "max_players"  "4"
        }
        "small_map12"
            "min_players"  "0"
            "max_players"  "4"
        }
    }

    "Medium Maps"
    {
        "maps_invote"  "12" //Set this to whatever
        
        //Any other group options go here

        "medium_map1"
        {
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map2"
        {
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map3"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map4"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map5"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map6"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map7"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map8"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map9"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map10"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map11"
            "min_players"  "5"
            "max_players"  "10"
        }
        "medium_map12"
            "min_players"  "5"
            "max_players"  "10"
        }
    }
    "Large Maps"
        {
        "maps_invote"  "12" //Set this to whatever
        
        //Any other group options go here

        "large_map1"
        {
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map2"
        {
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map3"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map4"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map5"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map6"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map7"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map8"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map9"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map10"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map11"
            "min_players"  "11"
            "max_players"  "16"
        }
        "large_map12"
            "min_players"  "11"
            "max_players"  "16"
        }
    }
}
You have a fairly complicated setup.

First of all, if you're going to have those distinct map groups, and if all of your maps are going to have the same "min_players" and "max_players" setting, it would be easier to use the "default_min_players" and "default_max_players" options set for each group.

Second of all, the way you have this defined makes it so maps form different groups will never appear in the same vote. There is no easy way around this at the moment; for what you want, the only options is to have one extra group corresponding with each of your map sizes that will contain all of your other maps.

Finally, if all you need is the end of map vote and rock the vote, based off of the mapcycle the only modules you need enabled are umc-core.smx (required), umc-endvote.smx (end of map vote), umc-rockthevote.smx (rtv), and umc-playerlimits.smx (allows for usage of "min_players" and "max_players" in your mapcycle). For runoff votes, you will want to look in your umc-endvote.cfg and umc-rockthevote.cfg files for cvars which set a vote threshold, and set a failure action in the event a vote completes and the winner doesn't reach the set threshold. For example, these are the two cvars in umc-endvote.cfg:
Code:
// Specifies what action to take if the vote doesn't reach the set theshold.
//  0 - Do Nothing,
//  1 - Perform Runoff Vote
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_endvote_failaction "0"

// If a winning vote has less than this percentage of total votes, a runoff vote will be held.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_endvote_threshold "0"
Based on everything above, this is what I recommend as your mapcycle template:
Code:
"umc_mapcycle"
{
    "Small Maps"
    {
        "maps_invote"  "12" //Set this to whatever
        
        //Any other group options go here
        "default_min_players"  "0"
        "default_max_players"  "4"

        "small_map1" {}
        "small_map2" {}
        "small_map3" {}
        "small_map4" {}
        "small_map5" {}
        "small_map6" {}
        "small_map7" {}
        "small_map8" {}
        "small_map9" {}
        "small_map10" {}
        "small_map11" {}
        "small_map12" {}
    }

    "Small Maps Extras"
    {
        "maps_invote"  "4" //Set this to how many non-small maps you want to appear in a small maps vote.

        "default_min_players"  "0"
        "default_max_players"  "4"

        "medium_map1" {}
        "medium_map2" {}
        //...
        "medium_map12" {}

        "large_map1" {}
        "large_map2" {}
        //...
        "large_map12" {}
    }

    //Follow that same pattern for medium and large maps.
}
__________________
Steell is offline
melaf
Senior Member
Join Date: Aug 2011
Old 11-19-2011 , 08:12   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2064

help please!
When the card is at the end of voting, some cards are gaining an equal number of votes, how to turn on the second ballot of those cards?
I got confused with the settings
melaf is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 11-19-2011 , 08:58   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2065

Quote:
Originally Posted by melaf View Post
help please!
When the card is at the end of voting, some cards are gaining an equal number of votes, how to turn on the second ballot of those cards?
I got confused with the settings
Code:
// Specifies what action to take if the vote doesn't reach the set theshold.
//  0 - Do Nothing,
//  1 - Perform Runoff Vote
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_endvote_failaction "0"
__________________
Steell is offline
mats
Senior Member
Join Date: Jan 2005
Old 11-19-2011 , 12:43   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2066

My server updated automatic today, but now people are reporting rtv is not working any more.

I see this errors:
Code:
L 11/19/2011 - 18:05:35: [SM] Fatal error encountered parsing translation file "pt/ultimate-mapchooser.phrases.txt"
L 11/19/2011 - 18:05:35: [SM] Error (line 61, column 5): Phrase sections may not have sub-sections
L 11/19/2011 - 18:05:35: [SM] Fatal error encountered parsing translation file "nl/ultimate-mapchooser.phrases.txt"
L 11/19/2011 - 18:05:35: [SM] Error (line 124, column 57): Line contained too many invalid tokens
L 11/19/2011 - 18:05:35: [SM] Fatal error encountered parsing translation file "ko/ultimate-mapchooser.phrases.txt"
L 11/19/2011 - 18:05:35: [SM] Error (line 114, column 29): Line contained too many invalid tokens
L 11/19/2011 - 18:05:35: [SM] Fatal error encountered parsing translation file "fi/smac.phrases.txt"
L 11/19/2011 - 18:05:35: [SM] Error (line 110, column 54): Line contained too many invalid tokens
L 11/19/2011 - 18:07:13: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/19/2011 - 18:07:13: [SM] Native "PrintToChat" reported: Language phrase "Zwiebel ♥" not found
L 11/19/2011 - 18:07:13: [SM] Displaying call stack trace for plugin "umc-rockthevote.smx":
L 11/19/2011 - 18:07:13: [SM]   [0]  Line 662, umc-rockthevote.sp::AttemptRTV()
L 11/19/2011 - 18:07:13: [SM]   [1]  Line 412, umc-rockthevote.sp::OnPlayerChat()
L 11/19/2011 - 18:07:17: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/19/2011 - 18:07:17: [SM] Native "PrintToChat" reported: Language phrase "More Required" not found
L 11/19/2011 - 18:07:17: [SM] Displaying call stack trace for plugin "umc-rockthevote.smx":
L 11/19/2011 - 18:07:17: [SM]   [0]  Line 708, umc-rockthevote.sp::AttemptRTV()
L 11/19/2011 - 18:07:17: [SM]   [1]  Line 412, umc-rockthevote.sp::OnPlayerChat()
L 11/19/2011 - 18:07:55: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/19/2011 - 18:07:55: [SM] Native "PrintToChat" reported: Language phrase "More Required" not found
L 11/19/2011 - 18:07:55: [SM] Displaying call stack trace for plugin "umc-rockthevote.smx":
L 11/19/2011 - 18:07:55: [SM]   [0]  Line 708, umc-rockthevote.sp::AttemptRTV()
L 11/19/2011 - 18:07:55: [SM]   [1]  Line 412, umc-rockthevote.sp::OnPlayerChat()
__________________
mats is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 11-19-2011 , 12:50   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2067

Quote:
Originally Posted by mats View Post
My server updated automatic today, but now people are reporting rtv is not working any more.

I see this errors:
Code:
L 11/19/2011 - 18:05:35: [SM] Fatal error encountered parsing translation file "pt/ultimate-mapchooser.phrases.txt"
L 11/19/2011 - 18:05:35: [SM] Error (line 61, column 5): Phrase sections may not have sub-sections
L 11/19/2011 - 18:05:35: [SM] Fatal error encountered parsing translation file "nl/ultimate-mapchooser.phrases.txt"
L 11/19/2011 - 18:05:35: [SM] Error (line 124, column 57): Line contained too many invalid tokens
L 11/19/2011 - 18:05:35: [SM] Fatal error encountered parsing translation file "ko/ultimate-mapchooser.phrases.txt"
L 11/19/2011 - 18:05:35: [SM] Error (line 114, column 29): Line contained too many invalid tokens
L 11/19/2011 - 18:05:35: [SM] Fatal error encountered parsing translation file "fi/smac.phrases.txt"
L 11/19/2011 - 18:05:35: [SM] Error (line 110, column 54): Line contained too many invalid tokens
L 11/19/2011 - 18:07:13: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/19/2011 - 18:07:13: [SM] Native "PrintToChat" reported: Language phrase "Zwiebel ♥" not found
L 11/19/2011 - 18:07:13: [SM] Displaying call stack trace for plugin "umc-rockthevote.smx":
L 11/19/2011 - 18:07:13: [SM]   [0]  Line 662, umc-rockthevote.sp::AttemptRTV()
L 11/19/2011 - 18:07:13: [SM]   [1]  Line 412, umc-rockthevote.sp::OnPlayerChat()
L 11/19/2011 - 18:07:17: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/19/2011 - 18:07:17: [SM] Native "PrintToChat" reported: Language phrase "More Required" not found
L 11/19/2011 - 18:07:17: [SM] Displaying call stack trace for plugin "umc-rockthevote.smx":
L 11/19/2011 - 18:07:17: [SM]   [0]  Line 708, umc-rockthevote.sp::AttemptRTV()
L 11/19/2011 - 18:07:17: [SM]   [1]  Line 412, umc-rockthevote.sp::OnPlayerChat()
L 11/19/2011 - 18:07:55: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/19/2011 - 18:07:55: [SM] Native "PrintToChat" reported: Language phrase "More Required" not found
L 11/19/2011 - 18:07:55: [SM] Displaying call stack trace for plugin "umc-rockthevote.smx":
L 11/19/2011 - 18:07:55: [SM]   [0]  Line 708, umc-rockthevote.sp::AttemptRTV()
L 11/19/2011 - 18:07:55: [SM]   [1]  Line 412, umc-rockthevote.sp::OnPlayerChat()
That's certainly odd. Try replacing the translation files with the ones from the package in the first post and see if that fixes your problem.
__________________
Steell is offline
melaf
Senior Member
Join Date: Aug 2011
Old 11-19-2011 , 14:18   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2068

how to make cards that have recently played, displayed in the category, but you can not choose.
melaf is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 11-19-2011 , 14:20   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2069

Quote:
Originally Posted by melaf View Post
how to make cards that have recently played, displayed in the category, but you can not choose.
You can't have a map be displayed but not be selectable.
__________________
Steell is offline
melaf
Senior Member
Join Date: Aug 2011
Old 11-19-2011 , 14:27   Re: [UMC3] Ultimate Mapchooser 3.2.4 (v3.3-beta2 updated 11/14/2011)
Reply With Quote #2070

Quote:
Originally Posted by Steell View Post
You can't have a map be displayed but not be selectable.
but whether this feature in future versions?
for example as in the standard nomination
melaf 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 14:59.


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