SRCDS Steam group


Map List Issues
#1
I have 3 new servers running on my dedi. All of them allow you to choose all the original maps using rtv or the sourcemod map chooser, including test_hardware and test_speakers.

The maplist and mapcycle files do not contain them.

How can I disallow the maps I don't want? Sad
Reply
#2
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
[Image: 76561197965445574.png]
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.
Reply
#3
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%
Reply
#4
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.
Reply
#5
Why not just delete the maps?
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#6
(11-02-2010, 09:32 PM)lol554 Wrote:  Why not just delete the maps?

Because I shouldn't have to. I never had this problem in the past. And, if I did, wouldn't they be redownloaded when the game updates itself?
Reply
#7
(11-02-2010, 10:41 PM)empmdk Wrote:  
(11-02-2010, 09:32 PM)lol554 Wrote:  Why not just delete the maps?

Because I shouldn't have to. I never had this problem in the past. And, if I did, wouldn't they be redownloaded when the game updates itself?

Your point is right, but it could be done pretty easy... Heres a simple script for CSS server..

Code:
hldsupdatetool -command update -game "Counter-Strike Source" -dir . -verify_all
del orangebox/cstrike/maps/test_speakers.bsp
del orangebox/cstrike/maps/test_hardware.bsp
echo done

Just save this to a .bat file and put it in the same lokation as hldsupdatetool. ;-)

Please edit the script if it differs from your setup..
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#8
Thanks, if anyone has another fix for this, let me know.
Reply
#9
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?
Reply
#10
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!
Reply
#11
Ok, I found the problem. It's something with the ServSecurity addon for Eventscripts. Something from the last update to the game engine must have made it incompatible.

I disabled that addon and now all maps show up how they are supposed to and I believe NoBlock also is now working on our surf server. Thanks for the help Big Grin
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)