CSGO in game map vote | EndMatchMapGroupVoteOptions
My little incomplete plugin.
This plugin disturb CSGO in game map vote at end of match. It will now excluded previous maps from vote. PHP Code:
I couldn't find better way to get those and in right order. There could be some flaw, example, if other plugin block server command print_mapgroup_sv, this plugin can't get maps from server console output text. Another is, if some reason server command mapgroup change maplist to another in the middle of the game, players still have previous mapgroup maplist in vote, so in the end, server and player maps not match together in votes. Can be check client side print_mapgroup and server side print_mapgroup_sv But, here snip for anyone who interest. :wink: *edit I use workshop collection witch have lot of maps. It was annoying when same maps where bring in vote. |
Re: CSGO in game map vote | EndMatchMapGroupVoteOptions
I put the plugin on my server and nothing appears when the match is ended.
|
Re: CSGO in game map vote | EndMatchMapGroupVoteOptions
hmm, can you show list your maps ?
print_mapgroup or rcon print_mapgroup_sv Quote:
|
Re: CSGO in game map vote | EndMatchMapGroupVoteOptions
Sure.
Code:
13:05:38 print_mapgroup_sv |
Re: CSGO in game map vote | EndMatchMapGroupVoteOptions
1 Attachment(s)
works still https://forums.alliedmods.net/attach...1&d=1475837504
or are you asking help to enable that csgo in game map vote ? This plugin not enable map vote, it remove previous played maps in vote. |
Re: CSGO in game map vote | EndMatchMapGroupVoteOptions
Pretty cool feature, two questions:
1. Is it possible to see vote with no items? After 10 mapchanges for example. 2. Is it possible to set custom strings in items, or make any manipulations with it(set custom maps, not from mapgroup) |
Re: CSGO in game map vote | EndMatchMapGroupVoteOptions
1) It is possible to blank all vote options, but this plugin not do it.
When you have few maps and have played 5 maps before, it show all options again. 2) Unfortunally, you can use only indexs, which present order of mapgroup map list. print_mapgroup_sv You can't add other maps in current mapgroup during vote. Creating mapgroup with all maps will make it easier, you can manipulate end match vote how you like, using indexs. example, I need create nominate list, so it will change end match vote options to these nominated maps (indexs in this system). Quote:
|
Re: CSGO in game map vote | EndMatchMapGroupVoteOptions
Another way to grab the maplist (keyvalues)
PHP Code:
|
Re: CSGO in game map vote | EndMatchMapGroupVoteOptions
It kinda wish that CS:GO stored its mapgroups in a stringtable.
The TF2 team did some work on this. They use a stringtable named ServerMapCycle, but the actual map cycle was stored as user data for the first (and only) entry in the string table. Which implies they expected to support multiple mapcycles in the future, such as how CS:GO's mapgroups work. (Before you ask, I looked at a stringtabledump of a CS:GO server and there is no such stringtable on CS:GO) |
All times are GMT -4. The time now is 19:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.