Jump to content

Home

Duel server... wat to put in config?


Chronic

Recommended Posts

Hey.... Does anyone have a good copy of a duelling type dedicated server config? I have a good FFA one now, but there's too much to change so does anyone have any? i need to know what the sv_gametype and that kind of stuff is and other variables i should set... thanks :)

Link to comment
Share on other sites

//////////////////////////

// Server Information //

//////////////////////////

 

seta g_motd "May the force be with you"

seta sv_hostname "Hosting.com JK2 Jedi Master Duel (Linux 1.02c)"

seta Administrator "Novus"

seta Email "ryanhdsl@jump.net"

seta url "http://www.starwars.com"

seta Location "US"

 

//////////////////////////

// Server Configuration //

//////////////////////////

 

seta bot_enable "0"

seta g_password ""

seta g_needpass "0"

seta sv_privatePassword ""

seta rconpassword "*"

seta sv_maxclients "6"

seta sv_maxRate "25000" // You'll want to lower this

seta sv_maxping "200"

seta sv_minPing "0"

seta g_ghostRespawn "3"

seta g_forcerespawn "1"

seta g_inactivity "0"

seta g_warmup "10"

seta sv_pure "1"

seta sv_master1 "masterjk2.ravensoft.com"

seta g_allowvote "0"

seta cl_allowDownload "0"

seta sv_floodProtect "1"

seta sv_zone "DUEL"

 

//Enable IP banning

set g_filterban "1"

seta g_banIPs ""

 

//seta g_gravity 800

 

//////////////////////////

// Game Settings //

//////////////////////////

//Free For All is gametype 0

//Holocron FFA is gametype 1

//Jedi Master is gametype 2

//Duel is gametype 3

//Team FFA is gametype 5

//CTF is gametype 6

//CT Ysalamiri is gametype 7

 

seta g_gametype "3"

seta sv_cheats "0"

seta logfile "3"

seta g_logSync "1"

seta g_log "server1.log"

seta g_timeouttospec "70"

seta g_statLog "0"

seta g_friendlyFire "0"

seta g_saberInterpolate "1"

seta g_spawnInvulnerability "3000"

seta g_forceRegenTime "300"

seta g_autoMapCycle "1"

seta g_maxGameClients "0"

seta ui_gametype "3"

seta ui_forcePowerDisable "0"

seta ui_freeSaber "1"

seta ui_rankChange "0"

seta ui_opponentName "Rebellion"

seta ui_teamName "Empire"

seta ui_tourney_timelimit "20"

seta ui_tourney_fraglimit "0"

seta g_blueTeam "Rebellion"

seta g_redTeam "Empire"

seta g_forceBasedTeams "0"

seta g_saberLocking "1"

seta g_privateDuel "1"

 

//////////////////////////

// MODE Settings //

//////////////////////////

 

seta g_forceRegenTime "300"

seta g_weaponDisable "65531"

seta g_forcePowerDisable "0"

seta g_duelWeaponDisable "65531"

seta duel_fraglimit "30"

set duel_fraglimit "30"

seta g_maxForceRank "7"

set g_maxForceRank "7"

seta timelimit "30"

set timelimit "30"

seta fraglimit "3"

set fraglimit "3"

 

 

// Duel Maps rotation cycle.

set map1 "map duel_carbon ; set nextmap vstr map3"

set map2 "map duel_bay ; set nextmap vstr map3"

set map3 "map duel_jedi ; set nextmap vstr map4"

set map4 "map duel_pit ; set nextmap vstr map1"

vstr map1

 

I took out the duel_bay map because of some lame stuff you can do w/ drain and this particular map. I also turned voting off since, a) it's broken and b) ppl could vote duel_bay which I didn't want them to do.

 

There are some commands I doubled up on because I'm paranoid.

Link to comment
Share on other sites

I wonder why you keep including all the user interface (ui_) elements? They're completely lost on a dedicated server and confuse people as to what they do. I also notice that you have g_autoMapCycle set to ON, but use a custom rotation. Although it may work, I'd recommend you turn it off. You also have the maxping set to 200. Another admin might want to change that since it would keep out a good portion of modem players and some people who are just far away. If they are willing to live with a poor ping, let 'em. ;)

 

You also have cl_allowDownload set which, again, has no impact on a dedicated server. The setting is NOT forced on the clients as some people seem to believe. You've also changed the g_forceRegenTime from 200 (default) to 300 but didn't explain that in the config. Then you have a bunch of settings twice:

 

seta duel_fraglimit "30"

set duel_fraglimit "30"

seta g_maxForceRank "7"

set g_maxForceRank "7"

seta timelimit "30"

set timelimit "30"

seta fraglimit "3"

set fraglimit "3"

 

I don't understand what the point of doing so would be. If there's a reason, I'd like to hear learn what it is since it's lost on me. Sorry to be critical about it. I don't pretend that the configs I provide are perfect or 100% complete. However, I think that including things that are totally irrelevant for dedicated servers just confuses the new admins. You might want to add a lot more comments to the config to help them out.

Link to comment
Share on other sites

I gave him my config. Which I actually ganked from an earlier post because it had most of the neccesary c/svars. I make no claim as to it's usefullness as a template, but it works.

 

The console scripting language changed in key points from Q1/Q2 to Q3. I'm not all too keen on the set/seta/sets stuff. I find it rather useless, and I don't particularly trust which works when and where. So, I'm paranoid and I sometimes create duplicate commands.

 

The g_autoMapCycle is something new to JK2 I believe. I have it enabled, but I don't completely trust it. To be honest I don't think I changed it from the config that I got off of this board. I'm used to setting up specific map cycles via script anyways.

 

I didn't take out some of the client stuff because... I'm just lazy. They don't affect the server one way or the other.

 

If you want to create a template w/ comments and post it I won't post on these topics anymore. I don't want to make one. It's a pain in the ass. I used to do commenting for Q1/QW/Q2/Q3A client configs. It just gets annoying because nobody really looks at it anyways. They just assume that it works.

 

You'll have to forgive me. I come to JK2 mostly as a longtime HLDS admin, but also as a longtime quake player.

Link to comment
Share on other sites

I appreciate that you bring your experience to the forum. It certainly has saved me from having to reply to all the posts. ;) I'm just trying to see if there's a reason behind it of which I'm not aware. On the point about people using things and not looking at them as long as they work...I agree. Sometimes it's very frustrating to deal with someone who just wants to run a server to be 1337 or something, but doesn't want to really learn what they are doing. However, I try to give everyone the benefit of the doubt that they are new dedicated server admins who are in for the long haul and want to get better at their art--and dedicated server admin is certainly an art.

Link to comment
Share on other sites

Technically, either set or seta will work just fine. Here's a quick rundown of the set options:

 

set = normal (sets the cvar)

 

seta = set + archive (includes an entry in the jk2mpconfig.cfg for backup)

 

sets = set + serverinfo (includes the information when replying to a server query)

Link to comment
Share on other sites

Thanks, I am just getting started and am using this template for a duel config. What is the easiest way to switch between configs? I mean, I'll probalby have a different config for every game type. Can I change the conmmand line to exec difference configs basides server.cfg, like duel.cfg or ffa.cfg or would it be easier to have different cfgs and re-name them to server.cfg when I want to use them?

 

Thanks for any info provided.

Link to comment
Share on other sites

I would have different configs with the game specific settings named ffa.cfg, duel.cfg, ctf.cfg and just have the consistent settings in server.cfg--like server info, basic settings, motd, etc. Then, all you need to do to switch between the modes is exec the cfg for the gametype you want.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...