Raised This Month: $51 Target: $400
 12% 

[CS:GO] Map list in Server Command -> Choose Map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jermin
Member
Join Date: Nov 2008
Old 05-14-2013 , 00:05   [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #1

My server is hosting official CSGO _se collection using sourcemod 1.5.0-hg3840 for windows.

I've created a mapcycle.txt under folder /csgo/, whose content is:

Code:
de_dust2_se
de_inferno_se
de_mirage_go
de_nuke_se
de_train_se
and a adminmenu_maplist.ini under /csgo/addons/sourcemod/configs containing the same content as above.

But when I open sm_admin menu and go to Server Command -> Choose Map. The displayed map list are not the one I entered in above 2 files. What file to I need to edit for the map list here?

Cheers,
jermin is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 05-14-2013 , 09:07   Re: [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #2

what is the 'displayed map list' ? sourcemod/configs should have a maplists.cfg.. and you edit the "sm_map menu" section target with your mapcycle.txt..
hamilton5 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-14-2013 , 09:35   Re: [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #3

Quote:
Originally Posted by hamilton5 View Post
what is the 'displayed map list' ? sourcemod/configs should have a maplists.cfg.. and you edit the "sm_map menu" section target with your mapcycle.txt..
To expand on this, the file mentioned in the sm_map menu section doesn't exist by default and SourceMod falls back to showing a list of all maps on the server if it doesn't exist.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
jermin
Member
Join Date: Nov 2008
Old 05-14-2013 , 10:04   Re: [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #4

Yes, it was displaying all maps available on the server. Here is my map_lists.cfg. I haven't touched anything yet:

Code:
/**
 * Use this file to configure map lists.
 *
 * Each section is a map list that plugins can use.  For example, the Admin Menu 
 * requests an "admin menu" map list, and you can control which maps appear via 
 * this file.
 *
 * Each section must have a property that explains where to read the maps from.
 * There are two properties:
 *
 *    target         - Redirect the request to another section.
 *    file			 - Read a file of map names, in mapcycle.txt format.
 *
 * There is one section by default, called "mapcyclefile" - it is mapped to the 
 * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
 *
 * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod 
 * tries the "default" section, and then the "mapcyclefile" section.
 */
"MapLists"
{
	/**
	 * Default requests go right to the mapcyclefile.
	 */
	"default"
	{
		"target"		"mapcyclefile"
	}
	
	/* Admin menu, map menu */
	"sm_map menu"
	{
		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
	}
	
	/* Admin menu, map voting menu */
	"sm_votemap menu"
	{
		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
	}
	
	/* For the "randomcycle" plugin */
	"randomcycle"
	{
		"target"		"default"
	}
	
	/* For the "mapchooser" plugin */
	"mapchooser"
	{
		"target"		"default"
	}
	
	/* For the "nominations" plugin */
	"nominations"
	{
		"target"		"default"
	}
}
And here is the adminmenu_maplist.ini

Code:
de_dust2_se
de_inferno_se
de_mirage_go
de_nuke_se
de_train_se
csgo_bloodsrike
aim_ak-colt_dm
aim_map
All the listed maps have been downloaded to my server.
jermin is offline
winniethepooh
SourceMod Donor
Join Date: Sep 2012
Old 05-14-2013 , 15:28   Re: [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #5

When you say you're hosting the official _se collection do you mean you're using a workshop collection to launch the server or you've downlaoded the _se maps and you're using a mpagroup created? (i.e do your maps sit in maps/*.bsp or workshop/########/*.bsp)
winniethepooh is offline
jermin
Member
Join Date: Nov 2008
Old 05-14-2013 , 15:44   Re: [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #6

All maps are in workshop/#########/*.bsp
jermin is offline
winniethepooh
SourceMod Donor
Join Date: Sep 2012
Old 05-15-2013 , 20:37   Re: [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #7

You can try to put the path like below but support for "fuzzy" map names was added in a snapshot before the one you posted you're using.

Code:
workshop/########/de_dust2_se
workshop/########/de_inferno_se
workshop/########/de_mirage_go
workshop/########/de_nuke_se
workshop/########/de_train_se
workshop/########/csgo_bloodsrike
workshop/########/aim_ak-colt_dm
workshop/########/aim_map
Post the output of sm plugins list. Maybe your SM is up-to-date but your core plugins are not?
winniethepooh is offline
jermin
Member
Join Date: Nov 2008
Old 05-18-2013 , 06:41   Re: [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #8

Your solution works! Thank you very much.

However, it seems that not all map listed in the map list are shown in the game. Is there a limit against the number of maps?
jermin is offline
winniethepooh
SourceMod Donor
Join Date: Sep 2012
Old 05-18-2013 , 14:58   Re: [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #9

Quote:
Originally Posted by jermin View Post
Your solution works! Thank you very much.

However, it seems that not all map listed in the map list are shown in the game. Is there a limit against the number of maps?
Where in-game are you looking? The in-game voting (ESC -->Call vote) or in the Sourcemod menus?
winniethepooh is offline
jermin
Member
Join Date: Nov 2008
Old 05-19-2013 , 13:31   Re: [CS:GO] Map list in Server Command -> Choose Map
Reply With Quote #10

Sourcemod menus
jermin 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 19:57.


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