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

Solved HELP by activation of the voting map on the server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Schwede
Member
Join Date: Oct 2021
Location: germany
Old 11-12-2021 , 06:58   HELP by activation of the voting map on the server
Reply With Quote #1

Hello, I have been trying in vain to get a voting plugin to work for days. You read a lot about it, but nowhere do I find any effective advice on how to get the plungin to work.
We have a rented game server on which csgo is installed as well as metamod, sourcemod and dhooks. Mapchooser's automatic map selection works. but we want a graphical coordination as you can see it on many other servers.

this is how it should look ... https://prnt.sc/1za4exh

I've tried a lot but unfortunately without success. Google really doesn't bring any solution. Here, too, I have tried in vain to look for solutions.
I also have to see that my english grotto is bad and use a translator.

I have already changed the following: mapchooser.cfg
gamemode_casual.cfg and added "mp_endmatch_votenextmap 1" to the gamemode configs.
(casual, competitive, deathmatch)

I moved the following plugins to the disabled folder (csgo / addons / sourcemod / plugins / disabled):
nextmap.smx
mapchooser.smx
rockthevote.smx
randomcycle.smx

this is my current maplists.cfg
Code:
"MapLists"
{
	/**
	 * Default requests go right to the mapcyclefile.
	 */
	"default"
	{
		"file"		"mapcycle.txt"
	}
	
	/* Admin menu, map menu */
	"sm_map menu"
	{
		"file"         "maplist.txt"
	}
	
	/* Admin menu, map voting menu */
	"sm_votemap menu"
	{
		"file"         "maplist.txt"
	}
	
	/* For the "randomcycle" plugin */
	"randomcycle"
	{
		"target"		"default"
	}
	
	/* For the "mapchooser" plugin */
	"mapchooser"
	{
		"file"		"maplist.txt"
	}
	
	/* For the "nominations" plugin */
	"nominations"
	{
		"target"		"default"
	}
}
I hope to find help and a solution here.
__________________
respect is not a one-way street - have a nice day and have fun

Last edited by Schwede; 11-14-2021 at 15:35.
Schwede is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-12-2021 , 08:03   Re: HELP by activation of the voting map on the server
Reply With Quote #2

If you want to use CSGO's default voting system first remove all map related plugins from SourceMod, you don't need them.

If you have already done it, but confirm again, it would be these:
  • nextmap.smx
  • mapchooser.smx
  • rockthevote.smx
  • randomcycle.smx
Disable them.

Once that's done, to activate this CSGO poll you need to edit the gamemodes_server.txt file. If you don't have the file, just create it in the csgo folder.

I believe this link better explains how to use this configuration: https://forums.alliedmods.net/showthread.php?t=275344

I found this site to help create the file if you need to: https://beta.configcreator.com/creat...des_server.txt

Anyway, test it there, see if it can solve your problem.
paulo_crash is offline
Schwede
Member
Join Date: Oct 2021
Location: germany
Old 11-12-2021 , 12:45   Re: HELP by activation of the voting map on the server
Reply With Quote #3

hello, yes i had already moved the files into the disabled folder
  • nextmap.smx
  • mapchooser.smx
  • rockthevote.smx
  • randomcycle.smx
Disable

https://forums.alliedmods.net/showthread.php?t=275344
I also found this page and downloaded the gamemodes_server.txt. I then loaded it into the csgo folder, see picture .... https://prnt.sc/1zbb6wk
As I understand it, an error with the }}}}} is pointed out

https://beta.configcreator.com/creat...des_server.txt
I have already found this page as well, but I am not getting along very well with the exercise. But will try again.

thank you very much for your help

hmm .... i don't understand?
must there be a number between the ""?

Code:
"mapgroups"
	{
		"mg_bomb_se"									// mapgroup definition
		{
			"name"			"mg_bomb_se"
			"maps"
			{
				"de_dust_se"		""
				"de_dust2_se"		""
				"de_nuke_se"		""
				"de_train_se"		""
				"de_inferno_se"		""
				"de_aztec_se"		""
			}
		}
        "mg_all"
		{
			"name"			"mg_all"
			"maps"
			{
				"cs_italy"		""
				"cs_office"		""
				"de_train"		""
				"de_dust2"		""
				"de_inferno"	""
				"de_nuke"		""
				"de_dust"		""
				"de_aztec"		""
			}
		}
	}

I've done it now and try my luck with it
Code:
}}}}}

//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the 
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
//
// Then launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////


	"mapgroups"
	{
		"mg_all"									// test 12.11.21
		{
			"name" "mg_all"
			"maps"
			{
				"cs_assault" "0"
                "cs_insertion" "1"
                "cs_italy" "2"
                "cs_militia" "3"
                "cs_office" "4"
                "cs_rush" "5"
                "de_aztec" "6"
                "de_blackgold" "7"
                "de_castle" "8"
                "de_cbble" "9"
                "de_dust2" "10"
                "de_inferno" "11"
                "de_mist" "12"
                "de_nuke" "13"
                "de_overgrown" "14"
                "de_overpass" "15"
                "de_train" "16"
                "de_vertigo" "17"
			}
		}
	}
}}
damn it still doesn't work, what am I doing wrong ...
__________________
respect is not a one-way street - have a nice day and have fun

Last edited by Schwede; 11-12-2021 at 17:46.
Schwede is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-12-2021 , 19:22   Re: HELP by activation of the voting map on the server
Reply With Quote #4

Code:
print_mapgroup_sv
Map group: mg_casualsigma
     de_basalt
     de_ancient
     de_vertigo
     de_apina
     de_cbble
     de_canals
mapgroup mg_all
Setting mapgroup to 'mg_all'
print_mapgroup_sv
Map group: mg_all
     cs_assault
     cs_insertion
     cs_italy
     cs_militia
     cs_office
     cs_rush
     de_aztec
     de_blackgold
     de_castle
     de_cbble
     de_dust2
     de_inferno
     de_mist
     de_nuke
     de_overgrown
     de_overpass
     de_train
     de_vertigo
Attached Files
File Type: txt gamemodes_server.txt (549 Bytes, 64 views)
__________________
Do not Private Message @me
Bacardi is offline
Schwede
Member
Join Date: Oct 2021
Location: germany
Old 11-13-2021 , 05:19   Re: HELP by activation of the voting map on the server
Reply With Quote #5

Hello, thank you very much for the answer, it brings a little light into the dark labyrinth.

@Barcadi, thanks, I had already read about printing (print_mapgroup_sv) in another topic but don't know where to put it.
Do I have to create a new file and where do I have to upload it?
Or do I just enter all of this in the gamemodes_server.txt?

I have now attached my file as an attachment, did I make a mistake? But is in German


Edit:
That drives me crazy ...
you have to do everything so precisely and pay attention to so much, even the little things. I'm losing track.
I have edited the cfg several times now, initially a number of errors were displayed in the console, but i was able to fix almost all of them. Unfortunately without success, I just don't get a vote.
Have now edited the file so that it aufweißt the fewest errors.

If the files maplists.cfg or mapchooser.cfg say something, I've made changes there too.

Konsole ... https://prnt.sc/1zft32a
Attached Files
File Type: txt gamemodes_server.txt (2.5 KB, 54 views)
File Type: cfg maplists.cfg (1.3 KB, 47 views)
File Type: cfg mapchooser.cfg (2.2 KB, 47 views)
__________________
respect is not a one-way street - have a nice day and have fun

Last edited by Schwede; 11-13-2021 at 13:19.
Schwede is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-13-2021 , 19:17   Re: HELP by activation of the voting map on the server
Reply With Quote #6

zip contain these files.
Code:
+---csgo
|   |   gamemodes_server.txt
|   |
|   \---cfg
|           autoexec.cfg
|           gamemode_casual_server.cfg
|           gamemode_competitive_server.cfg
Read files with text program.

Upload in your server if you like.

print_mapgroup_sv
is console command.
Try type in console.

Then there are cvars (console variables).
You can type in console also. To check current variable value:
game_type

Console have also find command.
try find mp_ for example
Attached Files
File Type: zip csgo.zip (1.7 KB, 85 views)
__________________
Do not Private Message @me
Bacardi is offline
Schwede
Member
Join Date: Oct 2021
Location: germany
Old 11-14-2021 , 09:04   Re: HELP by activation of the voting map on the server
Reply With Quote #7

Hello Bacardi, first of all thank you very much for your help, here as in your other topic.
I once took all your data and uploaded it to the server, great, no more error messages appear! THANKS!
I didn't know about the console commands, I thought that the command print_mapgroup_sv was saved in a file.
When i give the following commands i get this message = print_mapgroup_sv
Map group:
No maps in mapgroup map list!
game_type
"game_type" = "0" game client replicated - The current game type. See GameModes.txt.
find
Usage: find <string> [<string> ...]

here also a picture ....... https://prnt.sc/1zk1d9l

gamemodes_server.txt; gamemode_competitive_server.cfg; gamemode_casual_server.cfg; autoexec.cfg I took over you completely, as I said, is now running flawlessly. unfortunately without card voting. I don't know why that doesn't work for me, there is simply no voting on the species
__________________
respect is not a one-way street - have a nice day and have fun

Last edited by Schwede; 11-14-2021 at 10:51.
Schwede is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-14-2021 , 12:36   Re: HELP by activation of the voting map on the server
Reply With Quote #8

Maybe server launch parameter, remove map group after autoexec.
Try add in file ...cfg/server.cfg
mapgroup mg_all
__________________
Do not Private Message @me
Bacardi is offline
Schwede
Member
Join Date: Oct 2021
Location: germany
Old 11-14-2021 , 15:32   Re: HELP by activation of the voting map on the server
Reply With Quote #9

ahh OK, took your advice, restarted the server and ... now look at the picture. I enjoy it!!!

https://prnt.sc/1zl6grc

I would like to take this opportunity to thank you for your patience and help. I lost some hair but also learned a lot from you. should we ever meet in real life, I would be happy to invite you to one or more beer.
THANKS !!!
The other old sacks would also like to thank you for your help!
you can be proud of yourself

Map group: mg_all
cs_assault
cs_insertion
cs_italy
cs_militia
cs_office
cs_rush
de_aztec
de_blackgold
de_castle
de_cbble
de_dust2
de_inferno
de_mist
de_nuke
de_overgrown
de_overpass
de_train
de_vertigo
game_type
"game_type" = "0" game client replicated - The current game type. See GameModes.txt.
__________________
respect is not a one-way street - have a nice day and have fun

Last edited by Schwede; 11-14-2021 at 15:37.
Schwede is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-14-2021 , 18:16   Re: HELP by activation of the voting map on the server
Reply With Quote #10

Nice. Good and finally
Bacardi 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 16:27.


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