Raised This Month: $ Target: $400
 0% 

maplistS for multiple servers?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MrCapion
Junior Member
Join Date: Feb 2009
Old 02-22-2009 , 09:15   maplistS for multiple servers?
Reply With Quote #1

Ive beensearching and browsing the Forums for a SourceMod plugin to handle several servers maplists w.o. luck,

My "request" is somewhat close to this "problem":

4 linux-driven CS:S servers with each their own maplist/mapcycle.
when random mapvote or admins mapvote comes up, its all maps that appears..
I want to have some option to keep the respective maps to their servers.

Please post a link, If You know where I can find a plugin to make this happen.

or maybe You are so skilled, that you can create one
( there MUST be a lot of other admins looking for this.. )
__________________
*If it works, Dont fix it*
MrCapion is offline
Send a message via ICQ to MrCapion Send a message via MSN to MrCapion
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-22-2009 , 09:30   Re: maplistS for multiple servers?
Reply With Quote #2

Just change the maplists.cfg in the sourcemod/configs/ folder to point to a file that has the maps you want in it for MapVote.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
flubber
Senior Member
Join Date: Oct 2007
Old 02-24-2009 , 04:45   Re: maplistS for multiple servers?
Reply With Quote #3

I had the same problem when trying to run multiple servers from one install.
You don't even need sourcemod, just add in each server launching line : " +mapcyclefile xxx.txt"
flubber is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-24-2009 , 07:29   Re: maplistS for multiple servers?
Reply With Quote #4

He's not trying to change the map cycle, he's trying to change the maplists used in a map vote.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
flubber
Senior Member
Join Date: Oct 2007
Old 02-24-2009 , 09:20   Re: maplistS for multiple servers?
Reply With Quote #5

Ooops my bad sorry.
flubber is offline
MrCapion
Junior Member
Join Date: Feb 2009
Old 02-25-2009 , 12:09   Re: maplistS for multiple servers?
Reply With Quote #6

Quote:
Originally Posted by Lebson506th View Post
Just change the maplists.cfg in the sourcemod/configs/ folder to point to a file that has the maps you want in it for MapVote.
I have 4 maplists i.e:
warserver: warmaps.txt
aimserver: aimmaps.txt
ratsserver: ratsmaps.txt
stdserver: maplist.txt

so if I want to have my 4 gameservers maplists awailable for each their own list, I have to do what now? *S*


Code:
 
"MapLists"
{
 /**
  * Default requests go right to the mapcyclefile.
  */
 "default"
 {
  "target"  "oh_no_theres_no_pointer_to_each_servers_own_maplist*S*"
 }

 
 /* 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 "rockthevote" plugin */
 "rockthevote"
 {
  "target"  "default"
 }
 /* For the "nominations" plugin */
 "nominations"
 {
  "target"  "default"
 }
}
__________________
*If it works, Dont fix it*
MrCapion is offline
Send a message via ICQ to MrCapion Send a message via MSN to MrCapion
SuperShadow
SourceMod Donor
Join Date: Jun 2008
Location: Westminster, MD
Old 02-25-2009 , 12:30   Re: maplistS for multiple servers?
Reply With Quote #7

On my custom map server, I have a file called allmaps.txt (which contains a list of all the installed maps) in the same folder as mapcycle.txt. Here is my maplist.cfg:
Code:
"MapLists"
{
/**
* Default requests go right to the mapcyclefile.
*/
"default"
{
"target" "mapcyclefile"
}
 
/* Admin menu, map menu */
"sm_map menu"
{
"file" "/allmaps.txt"
}
 
/* Admin menu, map voting menu */
"sm_votemap menu"
{
"file" "/allmaps.txt"
}
 
/* For the "randomcycle" plugin */
"randomcycle"
{
"target" "default"
}
 
/* For the "mapchooser" plugin */
"mapchooser"
{
"file" "/allmaps.txt"
}
 
/* For the "rockthevote" plugin */
"rockthevote"
{
"file" "/allmaps.txt"
}
/* For the "nominations" plugin */
"nominations"
{
"file" "/allmaps.txt"
}
/* For the "playersvotes" plugin */
"playersvotes"
{
"file" "/allmaps.txt"
}
}
SuperShadow is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-25-2009 , 12:39   Re: maplistS for multiple servers?
Reply With Quote #8

Do what he did.

For the server that only wants to use ratsmaps.txt, just put ratsmaps.txt instead of allmaps.txt for that server.

(Also, you don't need the leading / )
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
SuperShadow
SourceMod Donor
Join Date: Jun 2008
Location: Westminster, MD
Old 02-25-2009 , 14:17   Re: maplistS for multiple servers?
Reply With Quote #9

Thanks for the tip, it shall disappear.
SuperShadow 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 03:45.


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