Auto restart map

Joined
Nov 15, 2010
Likes
0
#1
HOW TO SET OF 60 MINUTES TO REMAIN IN ALL PLAYERS INTO THE MAP AND EVERY 20 MINUTES TO BECOME A MAP RESTART?? (20m RESTART , 20m RESTART , 20m next map) 2 RESTARTS SETS AND AFTER NEXT MAP. HO TO DO IT :confused::confused:??
 

GaSplat

Administrator
Joined
Sep 22, 2003
Likes
2
Location
St Louis
#3
Glad you figured out how to turn off caps lock. ;)

I figure you want to restart the maps every 20 minutes and change maps every 60 minutes - if not, then try to explain what you are doing a little more clearly please. That would suggest using a timelimit of 60 and a roundlimit of 20. This link has a lot of useful information that may help you.
 

GaSplat

Administrator
Joined
Sep 22, 2003
Likes
2
Location
St Louis
#5
Can't magically diagnose why not (I can be good, but not that good :D ).

Post your config file (blank out any passwords) and I can look at it. Describe what happens (beyond "doesn't work").

Another approach is to use the vstr map rotation I showed in the prior link and just set the timelimit to 20 but have each map three times in a row. Shouldn't have to do that but with no better understanding of what you are actually doing, that is the best guess I can give you.
 
Joined
Nov 15, 2010
Likes
0
#6
set developer 0 // 0=off 1=on 2=more info 3=lot more info
set logfile 2 // console log 0=no 1=buffered 2=continuous 3=append to existing
set g_logsync 1

// Remote Console, or RCON passoword allows for remote server administration
// a password is also used if running tools such as counter intelligence
seta rconpassword ""

// Game Type
// 1 Free for All
// 2 Team Based
// 3 Round Based
// 4 Objective
// 5 Tug Of War
set g_gametype 1

// Health Drop
// When enabled players will drop a health pack when killed
set g_healthdrop 1

// Realism
// Toggles reaslistic mode
set g_realismmode 0

// Fast Run Speed
// When checked, the speed at which players can run through levels is increased.
// Leaving it unchecked defaults to Medal of Honor Allied Assault's original run speed
set sv_dmspeedmult 1.100000

// Team Damage
// Toggles friendly fire
set g_teamdamage 0

// Heal Rate
// Determines how fast players heal when they use a health pickup
set g_healrate 10

// Max Players
set sv_maxclients 10

// Time Limit
// This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time.
timelimit 60

// Frag Limit
// The score at which the player or team will win the current map
fraglimit 40

// Map Rotation Time
// This sets the maximum amount of time in minutes players will spend in a particular map.
maprotationtime 60

// Team Spawn Delay
// This sets a delay in seconds between spawns. This is useful if you would like the
// player spawned in batches, rather than one at a time
set sv_team_spawn_interval 5

// Round Reset Time
// This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.
roundlimit 20

// Inactive Spectate
// This sets the time in seconds after which an inactive player becomes a spectator. To save server bandwidth, 60 seconds is default.
set g_inactivespectate 0

// Inactive Kick
// This sets the time in seconds after which an inactive player is kicked out of the game. 900 (15 minutes) seconds is default.
set g_inactivekick 0

seta counter_total_visitors amount

// Use Gamespy
// To use GameSpy gaming service for internet-based multiplayer games.
set sv_gamespy 1

//Master Servers
set sv_gamespy "1"
seta sv_gamespy "1"
set sv_allseeingeye "1"
seta sv_allseeingeye "1"
set sv_ase "1"
seta sv_ase "1"
set sv_hlsw "1"
seta sv_hlsw "1"
set ui_dedicated 1
seta ui_dedicated 1
set sv_master1 "mohmaster.2015.com"
seta sv_master1 "mohmaster.2015.com"
set sv_master2 "master0.gamespy.com"
seta sv_master2 "master0.gamespy.com"
set sv_master3 "master1.gamespy.com"
seta sv_master3 "master1.gamespy.com"
set sv_master4 "clanservers.net"
seta sv_master4 "clanservers.net"
set sv_master5 "gametracker.com"
seta sv_master5 "gametracker.com"
set sv_master6 "game-monitor.com"
seta sv_master6 "game-monitor.com"
set sv_master7 "dedifrag.com"

// Pure
// Verifies that the files on the client are the same as those on the server.
set sv_pure 0

// Allow Vote
// Enables players to call a vote.
set g_allowvote 0

// Flood Protect
// Limits amount of text a player can typeset sv_floodprotect 1

// Force Team Spectate
set g_forceteamspectate 1
set dmflags 1327104
set g_forceready 0
set g_forcespawn 0

// Invulnerable Time
// Amount of time a player is invulnerable for after spawning
set sv_invulnerabletime 3

// Team Kill Warning
// Amount of team kills before the player is warned
set g_teamkillwarn 3

// Team Kill Kick
// Amount of team kills before the player is kicked off the server.
set g_teamkillkick 5

// Team Switch Delay
// Frequency at which you can switch teams
set g_teamswitchdelay 1

// Gravity
set sv_gravity 800.000000

// Allow Join Time
set g_allowjointime 30

// Private Clients
// Clients that require a password to join
set sv_privateclients 0

// Password
// Allows you to set a password for the server
set sv_privatepassword ""

// Keywords
// Keywords which allow browsers to filter servers.
set sv_keywords ""

// Net Port
set net_port 12203

// Minimum Ping
set sv_minping 0

// Maximum Ping
set sv_maxping 150

// Maximum Rate
set sv_maxrate 10000

// Map
// Starting map on the rotation.
map "dm/mohdm3"

// Map Rotation List
sv_maplist "dm/mohdm3 m1l3c dm/mohdm7"
 
Joined
Nov 15, 2010
Likes
0
#8
I tried :

// Map
// Starting map on the rotation.
map "dm/mohdm3"

// Map Rotation List
sv_maplist "dm/mohdm3 dm/mohdm3 dm/mohdm3 dm/mohdm6 dm/mohdm7"

and remains in dm/mohdm3 and not ratasion
 

GaSplat

Administrator
Joined
Sep 22, 2003
Likes
2
Location
St Louis
#9
I am having a difficult time understanding what you are trying to do, but you can put this at the end of your server config file and then play with it to see what the effects are.

Roundlimit is for objective and team death match "round" matches (no respawn until one side wins). I don't think it has any affect on Free For All.

// these two will not affect free for all
set maprotationtime 60
set roundlimit 20

// Map rotation
set x1 "set nextmap vstr x2; timelimit 20; map dm/mohdm3"
set x2 "set nextmap vstr x3; timelimit 20; map dm/mohdm3"
set x3 "set nextmap vstr x4; timelimit 20; map dm/mohdm3"
set x4 "set nextmap vstr x5; timelimit 20; map dm/mohdm6"
set x5 "set nextmap vstr x1; timelimit 20; map dm/mohdm7"
vstr x1

If you want to play longer on maps 6 and 7, then change the timelimit in their respective lines of the script.

Comment out your map and sv_maplist commands (put a // at the start of them). You don't need them with this type of rotation (the final line of "vstr x1" will start things off).

You can also change roundlimit and maprotationtime as part of the vstr script, but free for all gametype only uses timelimit and fraglimit.

If what you are trying to do is to keep on the same map, but restart the map after a specific period of time (without reloading it) - I don't think the game supports that. You would need a mod and I am not sure what it would do (reset the scores to 0?)
 
Joined
Nov 15, 2010
Likes
0
#11
can i add maprotationtime?

// these two will not affect free for all
set maprotationtime 60
set roundlimit 20

// Map rotation
set x1 "set nextmap vstr x2; timelimit 20; roundlimit 20; maprotationtime 60; map dm/mohdm3"
set x2 "set nextmap vstr x3; timelimit 20; roundlimit 20; map dm/mohdm3"
set x3 "set nextmap vstr x4; timelimit 20; roundlimit 20; map dm/mohdm3"
set x4 "set nextmap vstr x5; timelimit 20; roundlimit 20; maprotationtime 40; map m1l3c"
set x5 "set nextmap vstr x6; timelimit 20; roundlimit 20; map m1l3c"
set x6 "set nextmap vstr x7; timelimit 5; roundlimit 0 maprotationtime 0; map dm/mohdm6"
set x8 "set nextmap vstr x9; timelimit 20; roundlimit 20 maprotationtime 60; map m3l3"
set x9 "set nextmap vstr x10; timelimit 20; roundlimit 20 map m3l3"
set x10 "set nextmap vstr x11; timelimit 20; roundlimit 20 map m3l3"
set x11 "set nextmap vstr x12; timelimit 20; roundlimit 20 maprotationtime 60; map dm/mohdm7"
set x12 "set nextmap vstr x13; timelimit 20; roundlimit 20 map dm/mohdm7"
set x13 "set nextmap vstr x1; timelimit 20; roundlimit 20 map dm/mohdm7
vstr x1
 

GaSplat

Administrator
Joined
Sep 22, 2003
Likes
2
Location
St Louis
#12
You an also add fraglimit and gametype. This lets you switch between objective and free for all and team deathmatch - though a lot of people prefer to stick with one game type.

Best bet is to just experiment and try to see what gives you the results you are looking for.
 
Top Bottom