Raised This Month: $ Target: $400
 0% 

sm_mapvote not working correctly


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Archey
Member
Join Date: Aug 2009
Old 02-21-2012 , 19:35   sm_mapvote not working correctly
Reply With Quote #1

So when the server executres sm_mapvote, it brings up a list for people to vote, but it has maps that are not in the target file, or the file specified. this is my mapslists.cfg

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

Archey is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 02-22-2012 , 01:48   Re: sm_mapvote not working correctly
Reply With Quote #2

What is mapcyclefile pointing to on your server?

Quote:
mapcyclefile
"mapcyclefile" = "mapcycle.txt"
game
- Name of the .txt file used to cycle the maps on multiplayer servers
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
Archey
Member
Join Date: Aug 2009
Old 02-22-2012 , 01:54   Re: sm_mapvote not working correctly
Reply With Quote #3

Quote:
Originally Posted by Sillium View Post
What is mapcyclefile pointing to on your server?
i assume i only need to edit the sm_mapvote paramters, which i did.

i tried changing all the fields to "file" "addons/sourcemod/configs/adminmenu_maplist.ini" but it still didnt work

this is my log if it helps at all

Code:
L 02/22/2012 - 00:55:57: SourceMod error session started
L 02/22/2012 - 00:55:57: Info (map "gg_fy_back_street") (file "errors_20120222.log")
L 02/22/2012 - 00:55:57: [mapchooser.smx] Unable to create a valid map list.
L 02/22/2012 - 00:55:57: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 02/22/2012 - 00:55:57: [SM] Plugin encountered error 25: Call was aborted
L 02/22/2012 - 00:55:57: [SM] Native "SetFailState" reported: Mapcycle Not Found
L 02/22/2012 - 00:55:57: [SM] Displaying call stack trace for plugin "nextmap.smx":
L 02/22/2012 - 00:55:57: [SM]   [0]  Line 138, /home/builds/sourcemod/linux-1.4/build/plugins/nextmap.sp::FindAndSetNextMap()
L 02/22/2012 - 00:55:57: [SM]   [1]  Line 108, /home/builds/sourcemod/linux-1.4/build/plugins/nextmap.sp::OnConfigsExecuted()
L 02/22/2012 - 01:07:54: SourceMod error session started
L 02/22/2012 - 01:07:54: Info (map "gg_fy_back_street") (file "errors_20120222.log")
L 02/22/2012 - 01:07:54: [mapchooser.smx] Unable to create a valid map list.
L 02/22/2012 - 01:07:54: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 02/22/2012 - 01:07:54: [SM] Plugin encountered error 25: Call was aborted
L 02/22/2012 - 01:07:54: [SM] Native "SetFailState" reported: Mapcycle Not Found
L 02/22/2012 - 01:07:54: [SM] Displaying call stack trace for plugin "nextmap.smx":
L 02/22/2012 - 01:07:54: [SM]   [0]  Line 138, /home/builds/sourcemod/linux-1.4/build/plugins/nextmap.sp::FindAndSetNextMap()
L 02/22/2012 - 01:07:54: [SM]   [1]  Line 108, /home/builds/sourcemod/linux-1.4/build/plugins/nextmap.sp::OnConfigsExecuted()
L 02/22/2012 - 01:14:48: SourceMod error session started
L 02/22/2012 - 01:14:48: Info (map "gg_fy_back_street") (file "errors_20120222.log")
L 02/22/2012 - 01:14:48: [mapchooser.smx] Unable to create a valid map list.
L 02/22/2012 - 01:14:48: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 02/22/2012 - 01:14:48: [SM] Plugin encountered error 25: Call was aborted
L 02/22/2012 - 01:14:48: [SM] Native "SetFailState" reported: Mapcycle Not Found
L 02/22/2012 - 01:14:48: [SM] Displaying call stack trace for plugin "nextmap.smx":
L 02/22/2012 - 01:14:48: [SM]   [0]  Line 138, /home/builds/sourcemod/linux-1.4/build/plugins/nextmap.sp::FindAndSetNextMap()
L 02/22/2012 - 01:14:48: [SM]   [1]  Line 108, /home/builds/sourcemod/linux-1.4/build/plugins/nextmap.sp::OnConfigsExecuted()
L 02/22/2012 - 01:16:41: SourceMod error session started
L 02/22/2012 - 01:16:41: Info (map "gg_fy_back_street") (file "errors_20120222.log")
L 02/22/2012 - 01:16:41: [mapchooser.smx] Unable to create a valid map list.
L 02/22/2012 - 01:16:41: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 02/22/2012 - 01:16:41: [SM] Plugin encountered error 25: Call was aborted
L 02/22/2012 - 01:16:41: [SM] Native "SetFailState" reported: Mapcycle Not Found
L 02/22/2012 - 01:16:41: [SM] Displaying call stack trace for plugin "nextmap.smx":
L 02/22/2012 - 01:16:41: [SM]   [0]  Line 138, /home/builds/sourcemod/linux-1.4/build/plugins/nextmap.sp::FindAndSetNextMap()
L 02/22/2012 - 01:16:41: [SM]   [1]  Line 108, /home/builds/sourcemod/linux-1.4/build/plugins/nextmap.sp::OnConfigsExecuted()
__________________


Last edited by Archey; 02-22-2012 at 02:22.
Archey is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 02-22-2012 , 03:45   Re: sm_mapvote not working correctly
Reply With Quote #4

So the plugins can't find the file.

Let me rephrase my question: What's the output on the server console if you type "mapcyclefile"
Because your config tells the plugins to use the file referenced there.
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
Archey
Member
Join Date: Aug 2009
Old 02-22-2012 , 10:10   Re: sm_mapvote not working correctly
Reply With Quote #5

Quote:
Originally Posted by Sillium View Post
So the plugins can't find the file.

Let me rephrase my question: What's the output on the server console if you type "mapcyclefile"
Because your config tells the plugins to use the file referenced there.
Code:
"mapcyclefile" = "mapcycle.txt"
          game
          - Name of the .txt file used to cycle the maps on multiplayer servers
done via HLSW
__________________

Archey is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-22-2012 , 15:07   Re: sm_mapvote not working correctly
Reply With Quote #6

You have ...css/cstrike/mapcycle.txt file ?
Bacardi is offline
Archey
Member
Join Date: Aug 2009
Old 02-22-2012 , 15:09   Re: sm_mapvote not working correctly
Reply With Quote #7

Quote:
Originally Posted by Bacardi View Post
You have ...css/cstrike/mapcycle.txt file ?
yes..
__________________

Archey is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-22-2012 , 15:31   Re: sm_mapvote not working correctly
Reply With Quote #8

Could you attach in your post your
mapcycle.txt
maplist.txt
and maplists.cfg from SM configs
I want to quick check
Bacardi is offline
Archey
Member
Join Date: Aug 2009
Old 02-22-2012 , 15:45   Re: sm_mapvote not working correctly
Reply With Quote #9

yeah, heres all 3
Attached Files
File Type: zip Maps.zip (1.1 KB, 184 views)
__________________

Archey is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-22-2012 , 17:06   Re: sm_mapvote not working correctly
Reply With Quote #10

You have similiar problem as here
nextmap and votemap errors?

Your txt files are "Macintosh" format. (I have posted #4)

Try change that to windows format.

*edit
Or take another txt file, rename, add maps and overwrite old file.

Last edited by Bacardi; 02-23-2012 at 01:48. Reason: typo
Bacardi 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 04:55.


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