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

How do I restore the standard mapcycle?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-14-2018 , 03:56   How do I restore the standard mapcycle?
Reply With Quote #1

Hello.
So I've used quite a lot of different map plugins on my server in the past, and now I have leftovers from each one all around my server folders.
I would like to revert to using the standard mapcycle.txt file, with no other plugins/votes running.
The server will just have to cycle through the mapcycle.txt maps and that's it. The only other option is a root admin forcing a map or the players rocking the vote.
The first thing I tried was removing all the map plugins from the sourcemod/plugins folders but that caused some issues, the map cycle was not being followed, I had random votes.
I would like to know if there's a way to fully remove my map plugins while making sure the server just follows the mapcycle.txt instead of running random votes that point nowhere (I tried this in the past, it was like a vote was done but at the end the map wasn't changed, something like that).
Apologize for the lack of specific information, will try to add something once I'm home tonight and I can access my server to check which map files are still there.

Also I used to host a workshop map, cs_agency_night, which I have now removed, but whenever I add cs_agency to my mapcycle.txt, the server tries to load cs_agency_night and it hangs, and it requires a restart to work again. I don't know how to fix that, there are NO traces of that map in my maps folder. I believe it has to do with one of those map plugins I'm trying to get rid of.

Thanks for any input
__________________
Obyboby is offline
wer1K
Member
Join Date: Jan 2011
Old 11-14-2018 , 06:10   Re: How do I restore the standard mapcycle?
Reply With Quote #2

If you wanna use mapcycle.txt you must use default sourcemod mapchooser.smx plugin and configure to only use mapcycle.txt for any cases.

If you don't want use any SourceMod plugin to vote, you should use gamemodes_server.txt to configure your maplist there. You can't use mapcycle.txt in default voting.
wer1K is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-14-2018 , 06:58   Re: How do I restore the standard mapcycle?
Reply With Quote #3

Quote:
Originally Posted by wer1K View Post
If you wanna use mapcycle.txt you must use default sourcemod mapchooser.smx plugin and configure to only use mapcycle.txt for any cases.

If you don't want use any SourceMod plugin to vote, you should use gamemodes_server.txt to configure your maplist there. You can't use mapcycle.txt in default voting.
Okay thanks. I need to figure out which CFG is used by mapchooser.smx then.
And no I don't want ANY vote at all for the nextmap. It has to follow the mapcycle.txt order with no exceptions.
__________________
Obyboby is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 11-14-2018 , 12:52   Re: How do I restore the standard mapcycle?
Reply With Quote #4

In /sourcemod/configs is a file called, I think, maplists.cfg? Something like that. That lets you set the file.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-14-2018 , 16:10   Re: How do I restore the standard mapcycle?
Reply With Quote #5

Quote:
Originally Posted by ghostofmybrain View Post
In /sourcemod/configs is a file called, I think, maplists.cfg? Something like that. That lets you set the file.
Yeah it's set to the default one.

PHP 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"
    
}

__________________
Obyboby is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 11-14-2018 , 17:59   Re: How do I restore the standard mapcycle?
Reply With Quote #6

Oh ok I guess I misunderstood your question.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-15-2018 , 02:42   Re: How do I restore the standard mapcycle?
Reply With Quote #7

Quote:
Originally Posted by ghostofmybrain View Post
Oh ok I guess I misunderstood your question.
Basically I have mixed up a few map plugins and now I have mapchooser.smx and mapchooser_extended.smx left in my plugins folder.
I tried disabling the latter but then the remaining plugin wasn't following mapcycle.txt, it was showing end of map votes instead, and iirc they weren't even working, it was a big mess.
What I'm asking for here is how to "start fresh" with the regular mapcycle and just have my server follow the maps set in mapcycle.txt, since I don't need fancy votes or advanced map configurations etc.
__________________
Obyboby is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 11-15-2018 , 06:11   Re: How do I restore the standard mapcycle?
Reply With Quote #8

Ah, I see. Well mapchooser.smx is a map vote plug-in. I think all you need is nextmap.smx to have it follow the map cycle you've set in your files.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-15-2018 , 08:08   Re: How do I restore the standard mapcycle?
Reply With Quote #9

Quote:
Originally Posted by ghostofmybrain View Post
Ah, I see. Well mapchooser.smx is a map vote plug-in. I think all you need is nextmap.smx to have it follow the map cycle you've set in your files.
I'll have a look at the cfg of both. Thanks
__________________
Obyboby 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 13:48.


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