Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Unix/FreeBSD Ded server

Page: 1 of 1
 Jakara
05-08-2002, 3:36 AM
#1
OK....I am new to JK2 and I need some basic ? on how to set up my Unix server to host a Jk2 dedicated server.

1. What files do I need to copy off the cd, Currantly I copied just the 2 files in the base folder and put them indo my jk2 folder on my server.

2. What permissions do I need to set up on my jk2 files and folders.

3. Where do I get the Config files for the jk2, I dont see them on the cd.

4. Any other things that I need to know about JK2 and freebsd.

Thanks
Jakara
 [FTN]WiLDCaRD
05-08-2002, 4:31 AM
#2
Q. What files do I need to copy off the cd, Currantly I copied just the 2 files in the base folder and put them indo my jk2 folder on my server.

A. assets0.pk3 assets1.pk3 assets2.pk3 ( u get assets2.pk3 from ur windows client installation of JK2 < this file just came with jk2 1.03 patch > )


Q. What permissions do I need to set up on my jk2 files and folders.

A. nothing really exepct chmod +x jk2ded and brandelf -t Linux jk2ded

Q. Where do I get the Config files for the jk2, I dont see them on the cd.

A. this is what i have so far for my 12player public FFA server.

//////////////////////////
// Server Information //
//////////////////////////

seta g_motd "WwW.FeedTheNeed.NET) <-- GO THERE NOW AND REGISTER !"
seta sv_hostname "Vancouver.BC FeedTheNeed.NET"
seta Administrator "WiLDCaRD"
seta Email "wildcard@feedtheneed.net"
seta url "WwW.FeedTheNeed.NET")
seta Location "Canada"

//////////////////////////
// Server Configuration //
//////////////////////////
seta g_weaponDisable "65531"
seta g_needpass "0"
seta sv_privatePassword ""
seta rconpassword "urpassword"
seta sv_maxclients "12"
seta sv_minclients "0"
seta sv_privateClients "0"
seta sv_maxRate "25000"
seta sv_maxping "200"
seta g_ghostRespawn "3"
seta g_forcerespawn "0"
seta g_inactivity "300"
seta g_warmup "0"
seta sv_pure "1"
seta sv_master1 "masterjk2.ravensoft.com"
seta g_allowvote "0"
seta cl_allowDownload "1"
seta g_friendlyfire "0"
seta g_teamForceBalance "1"
seta g_teamAutoJoin "1"
seta sv_floodProtect "1"

//Enable IP banning
set g_filterban "1"
seta g_banIPs "65.107.31.180"

//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 fraglimit "30"
seta timelimit "20"
seta capturelimit "10"
seta g_weaponrespawn "1"
seta g_adaptrespawn "1"
seta sv_cheats "0"
seta g_logSync "0"
seta g_log "games.log"
seta g_gametype "0"
seta g_timeouttospec "70"
seta g_statLog "0"
seta g_teamForceBalance "0"
seta g_teamAutoJoin "1"
seta g_friendlySaber "0"
seta g_friendlyFire "0"
seta g_saberInterpolate "1"
seta g_forcePowerDisable "16345"
// seta g_forcePowerDisable "32767"
seta g_spawnInvulnerability "1"
seta g_forceRegenTime "300"
seta g_autoMapCycle "1"
seta g_maxGameClients "0"
seta ui_gametype "1"
seta ui_forcePowerDisable "1"
seta ui_freeSaber "1"
seta ui_rankChange "0"
seta ui_opponentName "Rebellion"
seta ui_teamName "Empire"
seta ui_ctf_friendly "0"
seta ui_ctf_timelimit "20"
seta ui_ctf_capturelimit "8"
seta ui_team_friendly "0"
seta ui_team_timelimit "20"
seta ui_team_fraglimit "0"
seta ui_tourney_timelimit "15"
seta ui_tourney_fraglimit "50"
seta ui_ffa_timelimit "20"
seta ui_ffa_fraglimit "20"
seta g_blueTeam "Rebellion"
seta g_redTeam "Empire"
seta sv_minPing "0"
seta sv_maxRate "30000"
seta g_duelWeaponDisable "65531"
seta g_forceBasedTeams "0"
seta duel_fraglimit "1"
seta g_maxForceRank "4"
seta g_saberLocking "1"
seta g_privateDuel "1"
seta timelimit "20"
seta fraglimit "0"
//////////////////////////
// MODE Settings //
//////////////////////////

// Duel Maps rotationcycle

// set d1 "map duel_carbon ; set nextmap vstr d2"
// set d2 "map duel_bay ; set nextmap vstr d3"
// set d3 "map duel_jedi ; set nextmap vstr d4"
// set d4 "map duel_pit ; set nextmap vstr d1"
// vstr d1

// CTF Maps rotationcycle

// set d1 "map ctf_ns_streets ; set nextmap vstr d2"
// set d2 "map ctf_imperial ; set nextmap vstr d3"
// set d3 "map ctf_bespin ; set nextmap vstr d4"
// set d4 "map ctf_Yavin ; set nextmap vstr d1"
// vstr d1
set d1 "map ffa_yavin ; set nextmap vstr d2"
set d2 "map ffa_bespin ; set nextmap vstr d3"
set d3 "map ctf_yavin ; set nextmap vstr d1"
vstr d1

Q. Any other things that I need to know about JK2 and freebsd.

A. not really other then the fact that u should screen to background ur server.
 MatrixCPA
05-08-2002, 5:00 AM
#3
I'd like to point out that all the cvars in that config which start with any of the following are not necessary for a dedicated server: cl_, cg_, ui_ Additionally, I noticed that you have g_mapAutoCycle set on and yet have a custom rotation? I'd recommend you disable it. The Administrator, URL, Email and Location cvars should use sets instead of seta. While seta sets and archives them, the point is to make that information public via the severinfo--which sets accomplishes.

I hope you don't take this the wrong way. I've seen a lot of variations of that same config posted dozens of times and it contains the same errors over and over. I'd paste a config here, but all my samples are separated into FFA/Duel/CTF gametypes to keep them short and easy to manage. If someone would like to see one, just let me know which gametype.
Page: 1 of 1