Raised This Month: $32 Target: $400
 8% 

Solved Valve votemap problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vTpHuLk
New Member
Join Date: Jan 2023
Old 01-29-2023 , 14:39   Valve votemap problem
Reply With Quote #1

Hey guys i use the valve votemap in my server and in the end of the map when i select the map for example mirage it goes to another map. If somenone know how to fix it i will be thankful.

Last edited by vTpHuLk; 01-31-2023 at 16:17.
vTpHuLk is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-29-2023 , 19:19   Re: Valve votemap problem
Reply With Quote #2

CSGO

remove SM nextmap plugin.

in ...cfg/sourcemod/sourcemod.cfg
add this cvar sm_nextmap with empty value on top.
Code:
// SourceMod Configuration File
// This file is automatically executed by SourceMod every mapchange.

sm_nextmap " "
__________________
Do not Private Message @me

Last edited by Bacardi; 01-29-2023 at 19:19.
Bacardi is offline
vTpHuLk
New Member
Join Date: Jan 2023
Old 01-30-2023 , 02:44   Re: Valve votemap problem
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
CSGO

remove SM nextmap plugin.

in ...cfg/sourcemod/sourcemod.cfg
add this cvar sm_nextmap with empty value on top.
Code:
// SourceMod Configuration File
// This file is automatically executed by SourceMod every mapchange.

sm_nextmap " "
But i use the rockthevote plugin and that needs the nextmap plugin!
So i cant use the rockthevote and the valve votemap together?
vTpHuLk is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-30-2023 , 05:48   Re: Valve votemap problem
Reply With Quote #4

Quote:
Originally Posted by vTpHuLk View Post
But i use the rockthevote plugin and that needs the nextmap plugin!
So i cant use the rockthevote and the valve votemap together?
If you mean valve votemap as csgo end match votemap,
SourceMod base plugins not use or handle anyway csgo mapgroup maplist.

csgo end match votemap use map list what you have set with cmd mapgroup,
Code:
find mapgroup
"mapgroup"                                                                       - Specify a map group
"print_mapgroup_sv"  game                                                        - Prints the current mapgroup and the contained maps
example mapgroup mg_casualsigma
And map list of mg_casualsigma you find inside gamemodes.txt (or gamemodes_server.txt)

Or host workshop map.
Code:
"host_workshop_collection"  game                                                 - Get the latest version of maps in a workshop collection and host them as a mapli
"host_workshop_map"  game                                                        - Get the latest version of the map and host it on this server.
You can see map list with command:
print_mapgroup
rcon print_mapgroup_sv



Another problem with this system is, if you change mapgroup map list on fly while players are in game.
End match votemap not update list of maps in players view, so they will vote "old" maps what have been set when they have connected into server.
Players need reconnect to server for update server map list from they side of view.


-----

SourceMod base plugins (nextmap, mapchooser, rtv, nomination, randomcycle, votemap, etc. etc.) use map list from mapcyclefile file
or else file set from ...addons/sourcemod/configs/maplists.cfg
Code:
help mapcyclefile
"mapcyclefile" = "mapcycle.txt" game                                             - Name of the .txt file used to cycle the maps on multiplayer servers
You see map list using nextmap plugin command listmaps
- But I noticed now, if you have set sm_nextmap "" in config file, it remove list of maps from nextmap plugin. What is actually good.


tl;dr

Use one of the two map cycle system from CSGO game.
- csgo own mapgroup, remove SM nextmap plugin (use sm_nextmap "" in config file).
- Normal mapcyclefile
__________________
Do not Private Message @me
Bacardi is offline
oqyh
Senior Member
Join Date: May 2019
Location: United Arab Emirates
Old 01-30-2023 , 06:31   Re: Valve votemap problem
Reply With Quote #5

Quote:
Originally Posted by vTpHuLk View Post
Hey guys i use the valve votemap in my server and in the end of the map when i select the map for example mirage it goes to another map. If somenone know how to fix it i will be thankful.
like Bacardi said
disable nextmap plugin otherwise the plugin will ignore the valve vote and start random maps also mapchooser you can enable rtv its ok


Edit file
csgo/cfg/sourcemod/sourcemod.cfg



add these at bottom end
PHP Code:

mp_endmatch_votenextmap 1 
//<-- allow players to vote for the next map? 0-no 1-yes

mp_match_end_changelevel 1 //<-- reload the map if they vote for the same map? 0-no dont restart 1-yes restart 

mp_endmatch_votenextleveltime 10 //<-- in seconds, that players have to place their vote for the next map (timer top right corner)

mp_endmatch_votenextmap_keepcurrent 0 //<-- allow players to vote for the same map again? 0-no 1-yes

mp_match_end_restart 0 //<-- restart the current map and instead load the next map at the end of the game 0-dont restart and load the voted map 1-restart same map even map vote to another map

mp_match_restart_delay 10 //<-- The amount of time, in seconds, that the game should countdown for, before restarting the match ##got report long time ago that mp_endmatch_votenextleveltime sometimes will not work this cvar will fix it but keep in mind the time you put in, also count as between rounds## 
__________________
.:[ >> My Plugins << ]:.

My discord : oqyh
oqyh is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-30-2023 , 09:53   Re: Valve votemap problem
Reply With Quote #6

... those csgo cvars should always set in override config file gamemode_*_server.cfg
__________________
Do not Private Message @me
Bacardi is offline
vTpHuLk
New Member
Join Date: Jan 2023
Old 01-31-2023 , 16:15   Re: Valve votemap problem
Reply With Quote #7

Thx for the help it worked!
vTpHuLk is offline
Reply


Thread Tools
Display Modes

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:20.


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