Jump to content

Home

Map Rotation


Sysgod

Recommended Posts

Why oh why does my map rotation not work, it stays on ffa_bespin, even after timelimit expires -

 

Exerpt from my server.cfg:

 

seta fraglimit "50" // For FFA - Frags a single player accumulates to end the round.

seta timelimit "10" // Time limit for round if fraglimit. 0 = no limit

seta g_autoMapCycle "0" // Rotate through maps automatically. Use 0 for custom rotation

seta g_gametype "0" // 0 = FFA

 

// Banning

seta g_banIPs "" // List of IP's to be banned

seta g_filterBan "1" // Enable Ban by Ip

 

// Map Rotation

set d1 "map ffa_bespin ; seta nextmap vstr d2"

set d2 "map ffa_deathstar ; seta nextmap vstr d3"

set d3 "map ffa_ns_hideout ; seta nextmap vstr d4"

set d4 "map ffa_ns_streets ; seta nextmap vstr d5"

set d5 "map ffa_imperial ; seta nextmap vstr d6"

set d6 "map ffa_yavin ; seta nextmap vstr d1"

 

vstr d1

Link to comment
Share on other sites

I did that, now after the first level, it hangs and when I try to change a setting, it says you can't do that during intermission?

 

Should I post my whole server.cfg? Here is my batch file -

 

jk2ded.exe + set ip 209.90.15.8 +set net_port 28070 +set dedicated 2 +set sv_pure 1 +exec server.cfg

Link to comment
Share on other sites

// Server Information

seta sv_hostname "a-nation.com JO FFA-Fest!" //As it appears in the server list

seta g_motd "Force this..."

sets Administrator "Sysgod"

sets CPU "1Ghz"

sets Clan "{DoS}"

sets Email "sysgod@a-nation.com"

sets Connection "T1" // I wish

sets URL "www.a-nation.com"

sets Location "a-nation"

seta sv_zone "FFA" // For info only

seta g_needpass "0" // 0=No 1=Yes - For info only. Does not password server.

 

// Basic Server Settings

seta sv_pure "1" // Pure setting enforces pk3 file checks

seta sv_maxRate "8000" // Generally between 5000-10000. Max 25000

seta sv_minPing "0" // This ping or higher to connect. 0 = disabled

seta sv_maxPing "0" // This ping or lower to connect. 0 = disabled

seta sv_floodProtect "1" // Helps keep clients from flooding server

seta sv_maxclients "10" // Max number of connected players

seta g_maxGameClients "0" // Max number of non-spectactors. 0 = disabled

seta sv_privateClients "4" // Number of private slots. Access with sv_privatepassword

seta sv_timeout "120" // Time (in seconds) server waits for packet before disconnecting clients

seta g_allowvote "0" // Allow clients to vote for map/rules changes (0=No/1=Yes)

 

// Logging

seta g_logfile "2" // 0=None, 1=Buffered, 2=Continuous, 3=Append

seta g_log "games.log" // Default location is ~/.jkii/base/

seta g_logSync "1" // 1=Write complete lines

seta g_statLog "1" // Probably similar to g_logfile. Untested.

seta g_statLogFile "astats.log"

 

// Game Settings

seta fraglimit "50" // For FFA - Frags a single player accumulates to end the round.

seta timelimit "15" // Time limit for round if fraglimit. 0 = no limit

seta g_weaponDisable "0" // 65531 = saber only

seta g_duelWeaponDisable "65531" // Same as g_weaponDisable, but for duels

seta g_forcePowerDisable "0" // Selectively disable force powers. 32767 = no force

seta g_privateDuel "1" // Allow players to enter private duel (FFA/Holocron Only)

seta g_saberLocking "1" // Allow saber locks to occur

seta g_maxForceRank "7" // Sets number of points players receive for force powers

seta g_forceBasedTeams "0" // If on Rebellion must use light force powers while Empire must use dark force powers

seta g_forceRegenTime "200" // Time to regen full force power. Default 200 = 20 seconds

seta g_spawnInvulnerability "3000" // Time invulnerable after spawn. Default 3000 = 3 seconds

seta g_friendlyFire "0" // Can hurt teammates 0=No/1=Yes

seta g_friendlySaber "0" // Can hurt teammates with idle saber 0=No/1=Yes

seta g_dismember "1" // (0/1 = Off/On)

seta g_doWarmup "0" // Set to enable warmup before round.

seta g_warmup "0" // Warmup before round stats. Must enable g_doWarmup.

seta g_teamAutoJoin "0" // Force players to join a team when entering

seta g_teamForceBalance "1" // Force players to join team with fewer players

seta g_redteam "Empire" // Can customize the name of the red team

seta g_blueteam "Rebellion" // Can customize the name of the blue team

seta g_autoMapCycle "1" // Rotate through maps automatically. Use 0 for custom rotation

seta g_gametype "0" // 0 = FFA

seta g_intermissionTime "0" //added by davey cause MatrixCPA says it will help

 

// Banning

seta g_banIPs "" // List of IP's to be banned

seta g_filterBan "1" // Enable Ban by Ip

 

// Map Rotation

// set d1 "map ffa_bespin ; set nextmap vstr d2"

// set d2 "map ffa_deathstar ; set nextmap vstr d3"

// set d3 "map ffa_ns_hideout ; set nextmap vstr d4"

// set d4 "map ffa_ns_streets ; set nextmap vstr d5"

// set d5 "map ffa_imperial ; set nextmap vstr d6"

// set d6 "map ffa_yavin ; set nextmap vstr d1"

 

map ffa_ns_hideout

 

-----------------------------------------

 

I left out the password section for obvious reasons. I am currently using this, it only plays map ffa_ns_hideout, and will not autoMapcycle, even though it's set to "1".

 

I've tried setting autoMapcycle to "0", then un-rem-ing the Map Rotation, and starting with map ffa_bespin. Gets stuck on Bespin. As you can see we have added the seta g_intermissionTime "0" .

 

Thanks for all your help MatrixCPA... I hope you can help me resolve this...

Link to comment
Share on other sites

BTW - it still wasn't working... testing something else now though. You had me go into the jk2mpconfig.cfg and check the intermission (that was 0), but the map rotation showed this -

 

seta d1 "map ffa_bespin ; set nextmap vstr d2"

seta d1 "map ffa_deathstar ; set nextmap vstr d3"

seta d1 "map ffa_ns_hideout ; set nextmap vstr d4"

 

I was running map ffa_ns_hideout first, and then it was trying to goto d4, which is not defined. But, that doesn't make sense, because I set AutoMapCycle=1 and rem'd out the map rotation.

 

Any thoughts?

 

Still waiting to see if it works? Wanna login and try it? 209.90.15.8:28070

Link to comment
Share on other sites

// set d6 "map ffa_yavin ; set nextmap vstr d1"

 

map ffa_ns_hideout

 

shouldn't you be doing :

 

vstr d3

 

instead of the map ffa_ns_hideout call at the end of the file? Without it you don't setup nextmap properly.

Link to comment
Share on other sites

He's trying to use g_autoMapCycle "1", which is why the rotation is commented out and he's just calling a map at the end. Normally, that should work. I'd delete all the rotation seta's from the jk2mpconfig.cfg. Make sure you restart the server application after that's done and give it one more go. Also, type nextmap into the console and see what it says.

Link to comment
Share on other sites

try to take out the automapcycle out.. then try it.. i think it i will work..

try setting the advanced cycle though.. here is the key:

 

set d1 "fraglimit 15 ; timelimit 10 ; g_gametype 0 ; map ffa_bespin ; set nextmap vstr d2"

set d2 "fraglimit 150 ; timelimit 15 ; g_gametype 3 ; capturelimit 3 ; map q3ctf2 ; set nextmap vstr d3"

set d3 "fraglimit 150 ; timelimit 15 ; g_gametype 4 ; capturelimit 3 ; map q3ctf3 ; set nextmap vstr d1"

vstr d1

 

after the semi ; you can put any commands you like..

Link to comment
Share on other sites

Disregard the above posts from my Monkey and myself... It works when people are logged in now. Here is what the map rotation looks like -

 

seta g_autoMapCycle "0" // Rotate through maps automatically. Use 0 for custom rotation

seta g_gametype "0" // 0 = FFA

seta g_intermissionTime "0" //added cause MatrixCPA says it will help

 

// Map Rotation

set d1 "set g_gametype 0; map ffa_bespin ; set nextmap vstr d2"

set d2 "set g_gametype 0; map ffa_deathstar ; set nextmap vstr d3"

set d3 "set g_gametype 0; map ffa_ns_hideout ; set nextmap vstr d4"

set d4 "set g_gametype 0; map ffa_ns_streets ; set nextmap vstr d5"

set d5 "set g_gametype 0; map ffa_imperial ; set nextmap vstr d6"

set d6 "set g_gametype 0; map ffa_yavin ; set nextmap vstr d1"

 

//set the start map

vstr d1

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...