Upvote Upvoted 1 Downvote Downvoted
Server: Won't change maps
posted in Q/A Help
1
#1
0 Frags +

Question, does anyone know how to force a server to change maps at the end of the timer instead of waiting for round end?

IE: For an MGE server to change maps I need this to happen since the round never truly "ends" and on Jump maps the round doesn't end so how do you force it after x time to change maps?

Here is my config file.

// this is your server name as shown in the server list
hostname "Prophete MGE"
sv_password ""
// your server password. a pair of double quotes means it is not set and anyone can join

// start rcon settings

rcon_password ""
// your rcon password to log into the dev rcon console or HLSW rcon console
sv_rcon_banpenalty 5
// Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 10
// Max number of times a user can fail rcon authentication before being banned

// end rcon settings

// start cvars for balancing un-even teams

mp_autoteambalance 0
// 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
mp_autoteambalance_delay 60
// Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_warning_delay 30
// Time (in seconds) after the teams become unbalanced to print a balance warning
mp_teams_unbalance_limit 0
// Teams are unbalanced when one team has this many more players than the other (0 disables)

// end cvars for balancing un-even teams

// start cvars for round and game times

mp_enableroundwaittime 0
// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_bonusroundtime 5
// Time after round win until round restarts (in seconds)
mp_restartround 0
// Time the current round will restart (in seconds)
mp_stalemate_timelimit 1
// Timelimit (in seconds) of the stalemate round
mp_timelimit 1
// game time per map in minutes
mp_stalemate_enable 1
// enables sudden death at the end of rounds

// end cvars for round and game times

// start cvars for win conditions

//FIXED

mp_maxrounds 0
// Max number of rounds to play before server changes maps
mp_winlimit 0
// Max number of rounds one team can win before a server changes maps

// end cvars for win conditions

// start client specific cvars

mp_forcecamera 1
// force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_allowspectators 1
// enable or disable spectators on the server. 0 is off 1 is on
mp_forcerespawn  1
// People auto-respawn after the cooldown time
mp_footsteps 1
// footsteps on or off. 0 is off and 1 is on
sv_cheats 0
// allow cheats to be used by the client. 0 is off 1 is on
sv_timeout 300
// the amount of time in seconds that a client is booted for no input
sv_consistency 1
// Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
decalfrequency 30
// the pause in seconds between a decal being sprayed

// end client specific cvars

// start cvars for communication

sv_voiceenable 1
// allow players to use a microphone. 0 is off 1 is on
sv_alltalk 0
// toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
mp_chattime 15
// players can chat for this amount of time (in seconds) after a game is over
// Set to 15 to fix BM map changes

// end cvars for communication

// start download cvars

sv_allowupload 1
// allow custom decals to be uploaded. 0 is off 1 is on
sv_allowdownload 1
// allow files to be downloaded from the server. 0 is off 1 is on
net_maxfilesize 75
// Max download file size. Default is 15
// This is set to 75 because custom maps are HUGE!
sv_downloadurl "http://robertsalatka.com/tf/"
//redirect download location

// end download cvars

// start bandwidth rates/settings

sv_minrate 20000
// Min bandwidth rate allowed on server, 0 = unlimited. Default: 0
sv_maxrate 30000
// Max bandwidth rate allowed on server, 0 = unlimited. Default: 0
sv_minupdaterate 10
// Minimum updates per second that the server will allow. Default: 10
sv_maxupdaterate 100
// Maximum updates per second that the server will allow. Default: 60
sv_mincmdrate 66
sv_maxcmdrate 100

// end bandwidth rates/settings

// start server logging

log on
// enable or disable server logging. on is on / off is off
sv_logbans 1
// Log server bans in the server logs
sv_logecho 1
// Echo log information to the console. 0 is off 1 is on
sv_logfile 1
// Log server information in the log file. 0 is off 1 is on
sv_log_onefile 1
// log everything in one file

// end server logging

// start cvars for general operation

sv_lan 0
// is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 0
// server location. -1 is the world, 0 is USA east coast, 1 is USA west coast, 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa
sv_contact RobertSalatka@gmail.com
// contact email for sysop
sv_pausable 0
// enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 0
// forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 0
// kicks clients that do not have content that matches what is on the server

// end cvars for general operation

// start execute ban files

tf_weapon_criticals 0
tf_use_fixed_weaponspreads 1

exec banned_user.cfg
exec banned_ip.cfg

// end execute ban files
Question, does anyone know how to force a server to change maps at the end of the timer instead of waiting for round end?

IE: For an MGE server to change maps I need this to happen since the round never truly "ends" and on Jump maps the round doesn't end so how do you force it after x time to change maps?

Here is my config file.

[code]// this is your server name as shown in the server list
hostname "Prophete MGE"
sv_password ""
// your server password. a pair of double quotes means it is not set and anyone can join

// start rcon settings

rcon_password ""
// your rcon password to log into the dev rcon console or HLSW rcon console
sv_rcon_banpenalty 5
// Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 10
// Max number of times a user can fail rcon authentication before being banned

// end rcon settings

// start cvars for balancing un-even teams

mp_autoteambalance 0
// 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
mp_autoteambalance_delay 60
// Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_warning_delay 30
// Time (in seconds) after the teams become unbalanced to print a balance warning
mp_teams_unbalance_limit 0
// Teams are unbalanced when one team has this many more players than the other (0 disables)

// end cvars for balancing un-even teams

// start cvars for round and game times

mp_enableroundwaittime 0
// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_bonusroundtime 5
// Time after round win until round restarts (in seconds)
mp_restartround 0
// Time the current round will restart (in seconds)
mp_stalemate_timelimit 1
// Timelimit (in seconds) of the stalemate round
mp_timelimit 1
// game time per map in minutes
mp_stalemate_enable 1
// enables sudden death at the end of rounds

// end cvars for round and game times

// start cvars for win conditions

//FIXED

mp_maxrounds 0
// Max number of rounds to play before server changes maps
mp_winlimit 0
// Max number of rounds one team can win before a server changes maps

// end cvars for win conditions

// start client specific cvars

mp_forcecamera 1
// force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_allowspectators 1
// enable or disable spectators on the server. 0 is off 1 is on
mp_forcerespawn 1
// People auto-respawn after the cooldown time
mp_footsteps 1
// footsteps on or off. 0 is off and 1 is on
sv_cheats 0
// allow cheats to be used by the client. 0 is off 1 is on
sv_timeout 300
// the amount of time in seconds that a client is booted for no input
sv_consistency 1
// Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
decalfrequency 30
// the pause in seconds between a decal being sprayed

// end client specific cvars

// start cvars for communication

sv_voiceenable 1
// allow players to use a microphone. 0 is off 1 is on
sv_alltalk 0
// toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
mp_chattime 15
// players can chat for this amount of time (in seconds) after a game is over
// Set to 15 to fix BM map changes

// end cvars for communication

// start download cvars

sv_allowupload 1
// allow custom decals to be uploaded. 0 is off 1 is on
sv_allowdownload 1
// allow files to be downloaded from the server. 0 is off 1 is on
net_maxfilesize 75
// Max download file size. Default is 15
// This is set to 75 because custom maps are HUGE!
sv_downloadurl "http://robertsalatka.com/tf/"
//redirect download location


// end download cvars

// start bandwidth rates/settings

sv_minrate 20000
// Min bandwidth rate allowed on server, 0 = unlimited. Default: 0
sv_maxrate 30000
// Max bandwidth rate allowed on server, 0 = unlimited. Default: 0
sv_minupdaterate 10
// Minimum updates per second that the server will allow. Default: 10
sv_maxupdaterate 100
// Maximum updates per second that the server will allow. Default: 60
sv_mincmdrate 66
sv_maxcmdrate 100

// end bandwidth rates/settings

// start server logging

log on
// enable or disable server logging. on is on / off is off
sv_logbans 1
// Log server bans in the server logs
sv_logecho 1
// Echo log information to the console. 0 is off 1 is on
sv_logfile 1
// Log server information in the log file. 0 is off 1 is on
sv_log_onefile 1
// log everything in one file

// end server logging

// start cvars for general operation

sv_lan 0
// is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 0
// server location. -1 is the world, 0 is USA east coast, 1 is USA west coast, 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa
sv_contact RobertSalatka@gmail.com
// contact email for sysop
sv_pausable 0
// enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 0
// forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 0
// kicks clients that do not have content that matches what is on the server

// end cvars for general operation

// start execute ban files

tf_weapon_criticals 0
tf_use_fixed_weaponspreads 1


exec banned_user.cfg
exec banned_ip.cfg

// end execute ban files[/code]
2
#2
-2 Frags +

if what you said is true about the round not truly ending with those mods, I imagine they use another plugin to manage it.

something like this should be what you want. of course you would want to add a countdown or a warning so it's not abrupt. if that event isn't called when you want, i'm sure you would be able to find one here. and here's the sourcemod api

[s]if what you said is true about the round not truly ending with those mods, I imagine they use another plugin to manage it.

something like [url=http://pastebin.com/GWiSUh2w]this[/url] should be what you want. of course you would want to add a countdown or a warning so it's not abrupt. if that event isn't called when you want, i'm sure you would be able to find one [url=https://wiki.alliedmods.net/Team_Fortress_2_Events#teamplay_game_over]here[/url]. and here's the [url=http://docs.sourcemod.net/api/]sourcemod api[/url][/s]
3
#3
1 Frags +

mp_match_end_at_timelimit 1

mp_match_end_at_timelimit 1
4
#4
0 Frags +

Ah, thank you kindly Wonderland :)

Ah, thank you kindly Wonderland :)
Please sign in through STEAM to post a comment.