The Jedi Academy. THE Place for Jedi training.
Articles
Content
The Academy
Learn
Communicate
Personal


Setting Up A Dedicated Server 101. -Orion - Feb 22 01:39am
So you wanna set up a game server, but you dont know where to start. If your going to set up a dedicated server its quite simple and not too hard. I'll go over setting up a dedicated server for both Linux and windows. The steps are very similar for jk2 and jk3.

Setting up a Linux Dedicated Server
First lets start with a Linux Dedicated Server for JK3. Before you start make sure you have both JK3 cds or access to the assetsx.pk3 files since you will need those. Pictures will be provied for some things.

Next you will need to go and download the dedicated server binaries for JK3, heres a link: Linux Binaries 1.0.1.1 Once you have downloaded that, get that on to the linux box. Next its time to make a folder for your server. For example: mkdir /usr/local/games/ja.

Now you don't have to make that directorythere, this makes it so that all users on that system can run the server but if you only want a certain user to beble to run the server simply make the server directy in that users home folder. After that extract the contents of the .tar.gz to that directory. and make sure you cd (change directory) to where ever you maked the folder. Next create a base folder, note this must be all lower case, Linux is case sensitive: mkdir base, or mkdir /path/to/server/base. the first way assumes you have cd into the server directory.

Right so next we need to mark a specific file as an executable, that file being linuxjampded. To do that you need to do chmod a+x /path/to/server/linuxjampded. If that does not work you need to have root access. To do that simply type su and when prompted for a password enter it, if your not familar with Linux do not be alarmed when you dont see the '*' pop up as you type. Next move the following files in to the base folder: jampgamei386 and server.cfg. Next copy (cp)the libcxa.so.1 to your /usr/lib directory if it is not already there.

Now we need the JK3 files, If they are already on the machine some where copy the following files into the base folder: assets0.pk3, assets1.pk3, assets2.pk3, you also need assets3.pk3 from a 1.01 version install of Jedi Academy, and any other maps/skins/hilts you want on the server. Once all that is done we got our selves a game server all ready to run basejk3, w00t.

So how in the world do you run the thing you might ask. Well its quite simple, just cd into the game directory, example /usr/local/games/ja and type the following command ./linuxjampded +exec server.cfg that will start your server and your good to go, but you can also do the following command too ./linuxjampded +set dedicated 1 +exec server.cfg. Also a note make sure you edit your server.cfg to have a rcon password and any other options you want.

Installing Jedi Academy: Reloaded for Linux
So now you probably want to have the mod Jedi Academy: Reloaded on there. Well again thats a simple step and lets take a walk through on that. First obviously you need to go download the Linux version of the latest version of JAR, at this time JAR 1.2 is the latest version avaliable. Heres a link: JAR Linux 1.2. Ok then just extract those files to where ever you want. Next, you will need to have root access if you installed the server some where other than your home folder. For this example we will again use /usr/local/games/ja. So first step is to create a directory called reloaded in that server folder so, mkdir /usr/local/games/ja/reload. Now copy all the files in the reload folder in that compressed file to the reload folder we just created. now we are all set we can start our server with JAR 1.2, but this time the command is a little different. ./linuxjampded +set fs_game reload +set dedicated 1 +exec server.cfg +exec reloaded.cfg. and that will get your server up and running for Linux with JAR, there are default knight and admin passwords and a default rcon password, so you should edit those with your favorite text editor like pico/emac/nano.

Setting up a Windows Dedicated Server

First make sure that on the machine that is going to be the server has Jedi Academy fully installed. Also make sure that the latest patch for Jedi Academy is also applied ot the install. Next you must obtain the Windows Dedicated server binaries, just like the Linux verion. Here is a link: Windows Binaries 1.0.1.1. Once you have that get it on the windows box if you did not download it from that machine. Next unzip the contents of the file to the Gamedata folder where you installed Jedi Academy, by default Jedi Academy is installed to C:\Program Files\LucasArts\Star Wars Jedi Academy\. Unzipping the contents will put the server.cfg in the base folder.

Now its time to customize the server. So go into the base folder and open server.cfg with like notepad or wordpad. Make any changes that you need, like setting the server name, password, number of players, default map on start, map rotation, etc.. Next create a shortcut to the jampded.exe. After you create the shortcut, right click on the shortcut, and choose Properties. Then in the Target field make modifications like this, "C:\Path\To\Install\Gamedata\jampDed.exe" +exec server.cfg
Now you can launch the shortcut and you will have a server that will run in 'internet' play mode. By that it means the server will advertise its persence to the master server, so that you can see the server in your in game server broswer. You dont want a server like that? Simple fix, go back to the short cut and add the following command line option before +exec server.cfg, +set dedicated 1. This will make it so its not seen on any server lists, you must add the IP your self. Also as a note the game will look in the base director for .pk3 files and any config files, exculding any server side mods.

Installing Jedi Academy: Reloaded for Windows
So now you probably want to have JAR on your server. Well its pretty simple to get that up and running. First you need to go download the latest version of the mod, heres a link JAR Windows 1.2. Now extract those file somehwere on your server or machine, if you are ftping in to the server. Next go to the Gamedata folder on the server, and create a folder called 'reload' in there put the following files: banIP.dat, description.txt, dummy.pk3, jampgamex86.dll, profanity.lst and reloaded.cfg. Now you can start your server with the +set fs_game reloaded and +exec reloaded.cfg variables. So heres a quick look on what you would do to start the server: jampDed.exe +set fs_game reload +exec server.cfg +exec reloaded.cfg. Also make sure that you go in and edit the reloaded.cfg to set knight and admin passwords, access levels and any other cool thing from JAR you want to enable or disable :)
Some of the commands that you should have to type.
Some of the commands that you should have to type.

A example of how your server folder might look.
A example of how your server folder might look.

Shows the commands to start the server with Jedi Academy: Reloaded
Shows the commands to start the server with Jedi Academy: Reloaded

Heres the server up and running..YAY!
Heres the server up and running..YAY!


  Login and add your comment!  
Comments
May 02 2010 05:48am

sirm
 - Student

i followed the instructions for windows but for some reason i can only get the serve on local but i need it for internet but i can't figure how to do it:confused:

Jan 30 2010 10:04am

Darth Katarn
 - Student
 Darth Katarn

Hah, yeah right. I did it quicker, but it didn't work for long. this is how i did it: go to create server then set your settings and choose dedicated internet. then begin. then open new jedi academy window then set dedicated no and begin. then you go back to desktop again and it should say create on game failed. then go to the other window and type dedicated 0. then ur back to game. go to create server again and then dedicated no then begin. that's how i did it on windows XP. ONLY. by the :empire: and me
_______________
By The Member of the Galactic Republic's Jedi High Council.

Jul 22 2005 11:54pm

DarthMike
 - Student
 DarthMike

http://jediknight2.filefront.com/file/Jedi_Academy_Reloaded_14;37278

Here is JAR 1.4.
_______________
"You can't get Windows on a Mac because the drivers are not compatible." --- Some dude from the Geek Squad
"So if you have quad-core, you have four times the RAM, right?" --- Some guy at Best Buy


This comment was edited by DarthMike on Jul 22 2005 11:55pm.

Jul 10 2005 09:11am

Jade Jedi
 - Retired
 Jade Jedi

The JAR Windows 1.2 link is'nt working.
_______________
*CLICKEH->Never risk the Fett Man|*Download my Saber here. Made by master craftsman Pink Floyd_Mintaka + his 2002 & 4000 comment's [Laz's 700th comment][BDKawika's 600th comment] & Owner of a TOWEL award!!|Master: Sared Padawans: Rage-Ball and Dante Eagle.|*Jade Jedi at The Jedi Academy Archives "There's only one Return and it's not of the King it's of the Jedi" Randal Clerks 2 The top 10 reasons why I procrastinate: 1.

Jun 05 2005 05:25am

DJ Sith
 - Jedi Council
 DJ Sith

muahaha bump.
_______________
My car is made of Nerf.

Jan 04 2005 09:54am

Janiriki
 - Student
 Janiriki

OK so how do I get amsit etc to work now? ... so we can get a ping friendly reloaded down under server going :D
Cheers
J
_______________
Proud to be Padawan to Sared "It's not over 'till I WIN!!!" Les Brown |If at first you don't succeed...you're doing about average! «§pecial ©haracters guide» | Winners never quit & quitters never win!

Apr 28 2004 06:36pm

Tamino
 - Student
 Tamino

To run a server behind a firewall your firewall must be routing the port you have selected to your server.

If your server is say 192.168.1.240 and your broadband ip from your ISP is 65.11.123.5 you would do the following when you start the server:

./<serverapplication> +set net_ip "65.11.123.5"

This way you will broadcast into the serverlist.

_______________
Padwan of Motrec; Brother to GaRos

"When you find yourself standing on the side of the majority, it is time to stop and reflect" - Mark Twain


Apr 16 2004 09:30pm

Orion
 - Retired
 Orion

Once you click the short cut, it lauches that little console window, and that is your server.
_______________
When a Man lies he murder's some part of the world. These are the pale deaths which men misscall there lives. All this I cannot bear to witness any longer. Cannot the kingdom of salvation take me home? -Cliff Burton Owner of Smily's 1900th comment | <Lady_Catherine> i love your sexy white socks! | (Lady_Catherine) i adore u! | (Lady_Catherine) onion (Lady_Catherine) i lub u

Apr 14 2004 11:34pm

KillSWITCH
 - Ex-Student

in the windows version, what do you do after that?? just load the jampded launcher and it loads the game and everything else?

Mar 22 2004 06:49pm

_cmad_
 - Ex-Student
 _cmad_

windows version too :P :D GJ orion ;)
_______________
Your friends of today, are your enemies of tomorrow.

Mar 19 2004 08:37pm

Mreoton
 - Student

nice guide :)
I was just wondering is there a way to setup a server behind a router firewall without disabling ports?

Mar 19 2004 05:38am

_cmad_
 - Ex-Student
 _cmad_

aw cmon bail it can't be really different from the Linux-way ;)
_______________
Your friends of today, are your enemies of tomorrow.

Mar 18 2004 05:16pm

Bail Hope of Belouve
 - Student
 Bail Hope of Belouve

wouldn't know...:P

But I'm still waitin' for the Windows thingie:P
_______________
Visit the Belouve Family Website!
Quote:
I try to have fun with my friends and try to make a difference as best I can. What does making a difference mean? Well, it can be as simple as saying hello, answering a question that seems obvious or heck, just talking. -- Vladarion

Want to know Vladarion? Read the Article about his life here.


Feb 29 2004 09:04am

_cmad_
 - Ex-Student
 _cmad_

Quote:
Coming soon Windows Server.

Who would possibly set up a server in Windows? :P (a perm server eh, not a temp)
_______________
Your friends of today, are your enemies of tomorrow.

Feb 26 2004 05:40am

_cmad_
 - Ex-Student
 _cmad_

I really gotta update my gnone :P :D
_______________
Your friends of today, are your enemies of tomorrow.

Feb 26 2004 03:02am

Orion
 - Retired
 Orion

its gnome
_______________
When a Man lies he murder's some part of the world. These are the pale deaths which men misscall there lives. All this I cannot bear to witness any longer. Cannot the kingdom of salvation take me home? -Cliff Burton Owner of Smily's 1900th comment | <Lady_Catherine> i love your sexy white socks! | (Lady_Catherine) i adore u! | (Lady_Catherine) onion (Lady_Catherine) i lub u

Feb 25 2004 09:14pm

_cmad_
 - Ex-Student
 _cmad_

accuse my bad memory but can you repeat that GUI that is? It ain't GNOME or KDE I guess...
_______________
Your friends of today, are your enemies of tomorrow.

Feb 23 2004 08:54pm

Orion
 - Retired
 Orion

who says everyone setting up the server is 100% linux smart? So pics and words help :)
_______________
When a Man lies he murder's some part of the world. These are the pale deaths which men misscall there lives. All this I cannot bear to witness any longer. Cannot the kingdom of salvation take me home? -Cliff Burton Owner of Smily's 1900th comment | <Lady_Catherine> i love your sexy white socks! | (Lady_Catherine) i adore u! | (Lady_Catherine) onion (Lady_Catherine) i lub u

Feb 23 2004 08:18pm

_cmad_
 - Ex-Student
 _cmad_

Hmm truth be told I think that you should just post the pictures; no talk at all. They speak for themselves. And reading text is kinda boring, don't you think? Linux users will understand; they ain't dumb.

*looks at everyone staring at him*
*looks at the text-box*
*adds:*

okay 'xcept me maybe :P :D
_______________
Your friends of today, are your enemies of tomorrow.

This comment was edited by _cmad_ on Feb 23 2004 08:19pm.

Feb 23 2004 12:20pm

D@RtHM@UL
 - Student
 D@RtHM@UL

Nice :)

Feb 23 2004 08:00am

_cmad_
 - Ex-Student
 _cmad_

wtf this is a really long post. Before I read it I gotta say Gentoo pwnz!!! Damn those screenies are pwnage!

EDIT: Okay read it. GJ orion!
_______________
Your friends of today, are your enemies of tomorrow.

This comment was edited by _cmad_ on Feb 23 2004 08:03am.

Feb 22 2004 11:25am

Bail Hope of Belouve
 - Student
 Bail Hope of Belouve

Great job Orion:)
thanks;)

unfortunately, I have Windows
But good job anyway;)

Can't wait for the Windows part :P

oh yeah, don't forget to add how you can see your own IP and Port number;)
_______________
Visit the Belouve Family Website!
Quote:
I try to have fun with my friends and try to make a difference as best I can. What does making a difference mean? Well, it can be as simple as saying hello, answering a question that seems obvious or heck, just talking. -- Vladarion

Want to know Vladarion? Read the Article about his life here.


This comment was edited by Bail Hope of Belouve on Feb 22 2004 11:27am.

Feb 22 2004 07:55am

Orion
 - Retired
 Orion

Gentoo :)
_______________
When a Man lies he murder's some part of the world. These are the pale deaths which men misscall there lives. All this I cannot bear to witness any longer. Cannot the kingdom of salvation take me home? -Cliff Burton Owner of Smily's 1900th comment | <Lady_Catherine> i love your sexy white socks! | (Lady_Catherine) i adore u! | (Lady_Catherine) onion (Lady_Catherine) i lub u

Feb 22 2004 07:21am

Aron
 - Retired
 Aron

good job orion :) What distro are you using? :)

  Login and add your comment!