Thread: Server Setup
View Single Post
Old 09-26-2003, 05:58 PM   #39
Inskipp
 
Inskipp's Avatar
 
Join Date: Mar 2002
Location: PA, USA
Posts: 19
Command line options explained

Number one right off the bat, this information applies ONLY to the legit version of the game. I know nothing about the betas or warez versions, I own it. If you are getting folder or other type errors, I can not help you, you need to buy the game.

There are just a couple of points I want to clear up for everyone. The information I post here and the other information I already knew about hosting dedicated servers for JO and JA will soon be in a server config guide I am writing, which will eventually be posted on my web site, along with my configuration guide for JO, and my mod setup guide for JO, and Lee's Oattes sabering guide that are already there. Also, on my web site I have a server status screen, which requires IE and a small plugin which is available on the site. If any of you want me to include your server on my page, just email me the ip and I'll throw it in the list. It is easy on that page to see multiple servers on one page, and at this time I have listed all favorite servers. It is updated with new servers as I get them.
Also, I will help anyone write a server.cfg file, and email you examples, if you email me.

If anyone would like to help me write the server config guide, email me your additions, and I will be sure to give you credit. After all, I don't know everything!

With that in mind, here is my email: master_jedi@comcast.net, and my web site: Inskipp's Jedi Knight Training Center Please don't send deragatory comments, I know it leaves a lot to be desired, after all it's only my first website.

Ok, with that out of the way, I will explain the command line options I use in my shortcut. These also work similarily in JO, Quake 3, Elite Force 1, Return to Castle Wolfenstien. Just remember to make your initial shortcut to the multiplayer version of the game, if there is one. (ie. Quake 3 has only one .exe)

Now I am using windows, and the actual .exe from the game. I didn't bother with the "dedicated" versions that have been released, they are not necessary if you are using windows.

Here is my shortcut to run a server:

..\Jedi Academy\GameData\jamp.exe" +set net_port 29071 +set dedicated 2 +exec server.cfg

1st: +set net_port #
This one specifies the internet port that the server runs on. Before JA, this didn't need to be changed, because the client always would just use the next available port. In other games, it wouldn't be needed. So now we have to use seperate shortcuts to run a server or the game, making sure they are not on the same port.

2nd +set dedicated 2
This makes a dedicated server that is available both locally, and online. (If your firewall lets it through ). Now, and this is important, I have NEVER been able to see my local servers in the internet list. I always had to look in local. But just because you can't see it, it doesn't mean no one else can. Have someone check, or just wait until someone connects. Or email me your server ip and I'll add it to my status page, and you'll be able to tell if its working at a glance.

3rd +exec server.cfg
Exec means execute, and all you are doing is executing the specified file, in this case, server.cfg. It can be any file, as long as it is in your base folder. It is important to have a command that actually starts the server at the end of the file, if you don't, the server will not actually start. In my example it is vstr m1. But a simple 'map mp/ffa1' would also start the server.

There are others, like +set password ######, which sets the password to get on if its private, and +connect (ip), which connects you automatically to the specified ip, and +set fs_game (gamefolder), which allows you to run mods the right way (more detail in my mod config guide), and many others. So basically, when I play I have a shortcut that looks like this: /jamp.exe" +set net_port 29071 +set password mypassword +connect 192.168.0.12:29070. Easy as pie.

Well I hope this clears things up for those of you still having trouble, and remember, in my personal experience, I can NEVER see my own servers in the internet list, I must look under local. It may have to do with my firewall, I don't know.

Look forward to my server config guide soon, heck, this post will be half of it. But I will explain the server commands I use as well.

Please correct me if I have posted anything incorrect, or if you wish to add something. Below is an example server.cfg, which should be in your base folder.

//start of server.cfg
//my server config
seta g_dismember "100"
seta g_allowVote "1"
seta g_filterBan "1"
seta g_banIPs ""
seta g_log "myserverlog.log"
seta g_forcePowerDisable "0"
seta g_spawnInvulnerability "3000"
seta g_forceRegenTime "200"
seta g_saberDamageScale "1"
seta g_slowmoDuelEnd "0"
seta g_logClientInfo "0"
seta g_autoMapCycle "0"
seta g_weaponDisable "524279"
//set the above to 0 to play with weapons
seta capturelimit "8"
seta g_warmup "20"
seta sv_floodProtect "1"
seta sv_maxPing "0"
seta sv_minPing "0"
seta sv_maxRate "3200"
seta sv_maxclients "7"
seta sv_privateclients "0"
seta sv_privatepassword ""
//use privateclients and privatepassword to save a slot for you with the password

seta sv_hostname "my server name"
seta g_motd "Put your custom motd here"
//change the above to your liking
seta g_maxForceRank "7"
seta g_saberLocking "1"
seta g_privateDuel "1"
seta timelimit "20"
seta fraglimit "20"
seta rconpassword "putrconpasswordhere"

//bots
seta bot_enable 1
seta bot_minplayers 0
//change the above to however many bots you want
//they will be kicked off as each person joins

set m1 "map mp/duel1 ; set nextmap vstr m2"
set m2 "map mp/duel2 ; set nextmap vstr m3"
set m3 "map mp/duel3 ; set nextmap vstr m4"
set m4 "map mp/duel4 ; set nextmap vstr m5"
set m5 "map mp/duel5 ; set nextmap vstr m6"
set m6 "map mp/duel7 ; set nextmap vstr m7"
set m7 "map mp/duel8 ; set nextmap vstr m8"
set m8 "map mp/duel10 ; set nextmap vstr m9"
set m9 "map mp/ffa2 ; set nextmap vstr m10"
set m10 "map mp/ffa3 ; set nextmap vstr m11"
set m11 "map mp/ffa4 ; set nextmap vstr m12"
set m12 "map mp/ffa5 ; set nextmap vstr m1"

vstr m1
//starts the server

//
//end of file

And that's it, good luck running a server, and I'll see you online!Inskipp's Jedi Knight Training Center


May the force be with you!
Inskipp
Inskipp is offline   you may: quote & reply,