Mapchooser-Redux icon indicating copy to clipboard operation
Mapchooser-Redux copied to clipboard

How can I disable some map voting options

Open crashzk opened this issue 4 years ago • 12 comments

How can I disable some map voting options? 20200331183221_1

As you can see, in the print you have the options, not to change the map and not to vote for any map. How would I disable these menu options?

I only have these active plugins:

101 "MapChooser Redux" (2.0.196) by Kyle
102 "Nominations Redux" (2.0.196) by Kyle
103 "Rock The Vote Redux" (2.0.196) by Kyle

crashzk avatar Mar 31 '20 21:03 crashzk

u mean remove option 1 and 5?

Kxnrl avatar Apr 02 '20 02:04 Kxnrl

u mean remove option 1 and 5?

Exact.

And those options that appear as null how can I remove them too?

crashzk avatar Apr 02 '20 04:04 crashzk

check in cfg. it's display tag & desc

Kxnrl avatar Apr 02 '20 11:04 Kxnrl

Both are marked with 1, here is the configuration I use:

// This file was auto-generated by SourceMod (v1.10.0.6474)
// ConVars for plugin "mapchooser_redux.smx"


// How many nominations can shuaffle the map vote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "5.000000"
mcf_shuffle_require_maps "1"

// include desc tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_desctag "1"

// include name tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_nametag "1"

// How many times can extend the map.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "9.000000"
mcr_map_extend_times "3"

// Enable or not party block fuction.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_partyblock_enabled "1"

// How much time in hours ago played can count to recently played pool, (-1 disable all recently played function) 
// -
// Default: "144"
// Minimum: "-1.000000"
// Maximum: "300.000000"
mcr_rectplayed_interval "144"

// What percentage increase of nomination map price for recently played
// -
// Default: "0.5"
// Minimum: "0.000000"
// Maximum: "9.900000"
mcr_rectplayed_ltp_mtpl "0.5"

// Refund ratio of credits if map fail to be choosen.
// -
// Default: "0.6"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_refund_credits_ratio "0.6"

// Timer Location of HUD - 0: Hint,  1: Text,  2: Chat,  3: Game
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
mcr_timer_hud_location "3"

// Enable or not shuffle mapvote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_votemenu_shuffle "1"

crashzk avatar Apr 02 '20 21:04 crashzk

0 will not display

Kxnrl avatar Apr 03 '20 13:04 Kxnrl

It didn't work, I changed the cvars to 0, even so it shows option 1 and 9: 20200403132453_1

Config I'm using now:

// This file was auto-generated by SourceMod (v1.10.0.6474)
// ConVars for plugin "mapchooser_redux.smx"


// Enable or not shuffle mapvote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "5.000000"
mcf_shuffle_require_maps "1"

// include desc tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_desctag "0"

// include name tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_nametag "0"

// How many times can extend the map.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "9.000000"
mcr_map_extend_times "3"

// Enable or not party block fuction.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_partyblock_enabled "1"

// How much time in hours ago played can count to recently played pool, (-1 disable all recently played function) 
// -
// Default: "144"
// Minimum: "-1.000000"
// Maximum: "300.000000"
mcr_rectplayed_interval "144"

// What percentage increase of nomination map price for recently played
// -
// Default: "0.5"
// Minimum: "0.000000"
// Maximum: "9.900000"
mcr_rectplayed_ltp_mtpl "0.5"

// Refund ratio of credits if map fail to be choosen.
// -
// Default: "0.6"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_refund_credits_ratio "0.6"

// Timer Location of HUD - 0: Hint,  1: Text,  2: Chat,  3: Game
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
mcr_timer_hud_location "3"

// Enable or not shuffle mapvote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_votemenu_shuffle "1"

crashzk avatar Apr 03 '20 16:04 crashzk

I am waiting for the update, used in competitive servers, these options kind of lose the sense to leave activated.

crashzk avatar Apr 03 '20 23:04 crashzk

it requires adding more convars. WIP

Kxnrl avatar Apr 04 '20 09:04 Kxnrl

Oops, I would like to know how the process is going? https://github.com/Kxnrl/Mapchooser-Redux/commit/fe645d25ba1f9e5e4af2edd906cd890522cff45e

I did a test with this modified version, but it doesn't work yet. It is configured like this:

// This file was auto-generated by SourceMod (v1.10.0.6474)
// ConVars for plugin "mapchooser_redux.smx"


// Add no vote button into menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_add_novote_button "0"

// include desc tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_desctag "0"

// include name tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_nametag "0"

// How many times can extend the map.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "9.000000"
mcr_map_extend_times "3"

// Enable or not party block fuction.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_partyblock_enabled "1"

// How much time in hours ago played can count to recently played pool, (-1 disable all recently played function) 
// -
// Default: "144"
// Minimum: "-1.000000"
// Maximum: "300.000000"
mcr_rectplayed_interval "144"

// What percentage increase of nomination map price for recently played
// -
// Default: "0.5"
// Minimum: "0.000000"
// Maximum: "9.900000"
mcr_rectplayed_ltp_mtpl "0.5"

// Refund ratio of credits if map fail to be choosen.
// -
// Default: "0.6"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_refund_credits_ratio "0.6"

// How many nominations can shuaffle the map vote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "5.000000"
mcr_shuffle_require_maps "1"

// Timer Location of HUD - 0: Hint,  1: Text,  2: Chat,  3: Game
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
mcr_timer_hud_location "3"

// Enable or not shuffle mapvote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_votemenu_shuffle "1"

crashzk avatar Apr 13 '20 11:04 crashzk

And with the config I mentioned above, the poll also bug, there is only one map in the vote, always the same map.

And my config in mapdata.kv has several maps. mapdata.zip

20200413115507_1

And as you can see on the print now, the No Vote option is gone.

crashzk avatar Apr 13 '20 14:04 crashzk

I also don't know if it would be the same problem, but the list of nominate maps also appears buggy: https://cdn.discordapp.com/attachments/672866859795873852/699286045547823176/unknown.png image

In this case, I wanted only the names of the maps to appear, without a description or map information, would it be possible?

crashzk avatar Apr 13 '20 16:04 crashzk

it is possiable, let me check

Kxnrl avatar Apr 22 '20 16:04 Kxnrl