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

MapChooser and Time Limits


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RC87
Member
Join Date: Apr 2017
Old 05-06-2017 , 05:55   MapChooser and Time Limits
Reply With Quote #1

Good morning,

I just noticed that the default SourceMod mapchooser was not working (it was enabled in plugins) and then believe it is an issue with the config file for the server which is why it is not running.

Currently we use gamemode_casual_server.cfg to run the server and all settings are configured here which includes the following.

- mp_timelimit 0
- mp_maxrounds 15

The mapchooser was configured to run at 3 minutes left of the time however, obviously it will not run (as I can understand) with the above settings.

If I set the maxrounds to say 30 and timelimit to 20, will this cause it to work how I want it to run as when I tried removing the maxrounds from the config and rebooted the server it kept 15 rounds even with the timelimit set so I am a bit confused.

Cheers
RC87 is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 05-06-2017 , 07:55   Re: MapChooser and Time Limits
Reply With Quote #2

did you actually do a sm plugin list to see mapchooser running? or you changed timelimit or maxrounds recently and now you notice mapchooser not working? mapchooser can start vote with X rounds remaining...
hamilton5 is offline
RC87
Member
Join Date: Apr 2017
Old 05-06-2017 , 08:54   Re: MapChooser and Time Limits
Reply With Quote #3

Thanks for the reply, it was running fine and then I adjusted the config and noticed it was not working any more.

All I want to basically do is have mp_timelimit 20 and mp_maxrounds 0 with the mapchooser.smx coming up at 3 minutes left. And all I have done is change mp_timelimit 0 to 20 and mp_maxrounds 15 to 0 so reserved what they were doing.

I assume also I can put the nextmap.smx file into the disabled folder since I want to use the mapchooser.smx only?
RC87 is offline
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 05-06-2017 , 09:12   Re: MapChooser and Time Limits
Reply With Quote #4

Quote:
Originally Posted by RC87 View Post
I assume also I can put the nextmap.smx file into the disabled folder since I want to use the mapchooser.smx only?
yup.
although you'll be disabling these

Nextmap
Automatically selects a nextmap at the start of each map
Follows the mapcycle specified by the 'mapcyclefile' cvar.
Provides map history and mapcycle listings.
https://wiki.alliedmods.net/Map_Mana...ins_(SourceMod)
__________________

Last edited by Bchewy; 05-06-2017 at 09:13.
Bchewy is offline
RC87
Member
Join Date: Apr 2017
Old 05-06-2017 , 09:52   Re: MapChooser and Time Limits
Reply With Quote #5

Thank you, I have it sorted now however another issue is that the vote comes up twice and what I mean by this is that if I for example vote a map, it comes up again to vote but registers my vote from the first pick.

Whilst I am on this, I know updating sourcemod updates these plugins (since it is there plugin) but is it an issue with an outdated version or a setting I have missed somewhere? AFAIK my config has votes disabled and mapvote is not set but the plugin handles it (sourcemod vote came up).
RC87 is offline
RC87
Member
Join Date: Apr 2017
Old 05-07-2017 , 08:42   Re: MapChooser and Time Limits
Reply With Quote #6

I have the following set, so unsure why it brings up the vote menu twice unless I am overlooking something? It seems to happen if you hit the button quickly too but registers your choice the first time.

Code:
mp_endmatch_votenextmap 0
sv_allow_votes 0

// Specifies if a 'Don't Change' option should be added to early votes
// -
// Default: "1"
// Minimum: "0.000000"
sm_mapvote_dontchange "1"

// Specifies if MapChooser should run an end of map vote
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_endvote "1"

// Specifies how many past maps to exclude from the vote.
// -
// Default: "5"
// Minimum: "0.000000"
sm_mapvote_exclude "5"

// Number of extensions allowed each map.
// -
// Default: "0"
// Minimum: "0.000000"
sm_mapvote_extend "2"

// Specifies how many maps to include in the vote.
// -
// Default: "5"
// Minimum: "2.000000"
// Maximum: "6.000000"
sm_mapvote_include "3"

// Specifies whether or not MapChooser should pick a map if no votes are received.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_novote "1"

// Hold run of votes if winning choice is less than a certain margin
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_runoff "0"

// If winning choice has less than this percent of votes, hold a runoff
// -
// Default: "50"
// Minimum: "0.000000"
// Maximum: "100.000000"
sm_mapvote_runoffpercent "30"

// Specifies when to start the vote based on time remaining.
// -
// Default: "3.0"
// Minimum: "1.000000"
sm_mapvote_start "3.0"

// Specifies when to start the vote base on frags remaining.
// -
// Default: "5.0"
// Minimum: "1.000000"
sm_mapvote_startfrags "5.0"

// Specifies when to start the vote based on rounds remaining. Use 0 on TF2 to start vote during bonus round time
// -
// Default: "2.0"
// Minimum: "0.000000"
sm_mapvote_startround "2.0"

// Specifies how long the mapvote should be available for.
// -
// Default: "20"
// Minimum: "5.000000"
sm_mapvote_voteduration "90"
RC87 is offline
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 05-09-2017 , 14:50   Re: MapChooser and Time Limits
Reply With Quote #7

File a bug at sourcemod bug-tracker as it really not working correctly on CS:GO
Despirator is offline
RC87
Member
Join Date: Apr 2017
Old 05-11-2017 , 03:33   Re: MapChooser and Time Limits
Reply With Quote #8

Quote:
Originally Posted by Despirator View Post
File a bug at sourcemod bug-tracker as it really not working correctly on CS:GO
What does this fall under on bug tracker?

Last edited by RC87; 05-11-2017 at 06:40.
RC87 is offline
A_RM
AlliedModders Donor
Join Date: Oct 2016
Location: Canada
Old 05-11-2017 , 15:23   Re: MapChooser and Time Limits
Reply With Quote #9

*fixed itself

Last edited by A_RM; 05-11-2017 at 15:55.
A_RM 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 05:40.


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