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

turn off map vote at end of map when no players on


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alpetras
Junior Member
Join Date: Jun 2009
Old 06-30-2009 , 05:09   turn off map vote at end of map when no players on
Reply With Quote #1

Im running a server with randomcycle.smx and mapchooser.smx with sm_mapvote_endvote "1"
I need the randomcycle plugin to set the next map from the nap cycle if the server is empty and I need the mapchooser for people to vote at end of the map.
at map startup randomcycle plugin sets a random nextmap from the mapcycle file, then when them map is soon to end, a vote starts and mapchooser overrides the nextmap value and sets it to the voting winner or a random pick from the mapchooser maplist file.

when there are people playing on the server, there are no problems, a map wins a vote and mapchooser sets the next map. but when the server is empty the server plays the wrong maps: the server plays maps from the mapchooser maplist because of the map votes at the end of map. i want the nextmap be set only by the randomcycle plugin when there arent any players on the server.

is there a way of editting the .cfg files to make the server work they way I want or is an additional plugin required? is it possible to set the sm_mapvote_endvote cvar from 0 to 1 when a player joins?
alpetras is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-01-2009 , 08:59   Re: turn off map vote at end of map when no players on
Reply With Quote #2

Quote:
"sm_mapvote_novote" = "1" min. 0.000000 max. 1.000000
- Specifies whether or not MapChooser should pick a map if no votes are received.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
I do not provide support in PMs. Please use the forum thread.
DJ Tsunami is offline
alpetras
Junior Member
Join Date: Jun 2009
Old 07-01-2009 , 09:04   Re: turn off map vote at end of map when no players on
Reply With Quote #3

durrrrr
thanks a lot, dunno how i missed that line...
alpetras 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 01:44.


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