Posts: 3,906
Threads: 404
Joined: Oct 2007
Reputation:
21
The should be a way of only reading in the maplist or mapcycle file for voting or changing. Someone with more SM exp should be able to help.
~ Mooga ...w00t? -
SRCDS.com on Twitter
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Posts: 779
Threads: 5
Joined: Apr 2008
Reputation:
9
There is a file called ../addons/sourcemod/configs/maplist.cfg. This file contains the mapcylclefile cvar:
/**
* 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"
}
Warning Level: 0%
Posts: 37
Threads: 8
Joined: Jul 2009
Reputation:
0
Yeah I edited that cfg. I changed the directories to be just maplist.txt or mapcycle.txt. Neither worked. It changed nothing except on one server. Where it now only shows the original maps and no custom ones.
Posts: 1,127
Threads: 22
Joined: Sep 2008
Reputation:
10
Why not just delete the maps?
Slå den med jeres fiberforbindelser...
Posts: 37
Threads: 8
Joined: Jul 2009
Reputation:
0
Thanks, if anyone has another fix for this, let me know.
Posts: 37
Threads: 8
Joined: Jul 2009
Reputation:
0
Ok, I just got around to trying to run the server after deleting the maps I don't want. The server fails to start when I do that. So, this not an option. Anyone got anything else?
Posts: 2,440
Threads: 73
Joined: May 2009
Reputation:
33
Something is not right... A game server will only report playable maps that are listed in the maplist.txt file. Go through your addons config's and make sure you didn't set some map vote command to select all maps from the /maps folder... I know Mani and SM have this option.
Looking for a game server? Visit
fullfrag.com and pick one up as low as $2.50 / mo!