Post by imp on Feb 8, 2011 14:14:50 GMT -6
!!!CREATING YOUR OWN DEDICATED JKA LUGORMOD SERVER!!!
Please note i did not take this from anywhere and have written the whole thing myself for the benefit of BOSS members, DO NOT post it anywhere else.
Because I have seen many people struggling with this issue and being asked about it many times I have decided to create a Complete guide to creating your own server that people will be able to connect to and use.
I understand how complex this may seem to some of you, It took me about a week of internet searching to finally understand how to do it correctly.. but i have made this so it should be simple to understand and use.
Many of you have been successful in creating a LAN (Local area network) server, however this only allows people on your local network to join your server (for example: computers in your house).
This is easily identified by an server address that looks like this:
192 168.xxx.xxx
If your server address starts with this please go straight to step 2 and onwards (unless your not running the latest lugormod U#2.3.2 start at 1)
These are the Overall steps of the guide, feel free to use ctrl f to skip to a certain section:
1. Downloading Lugormod and getting the latest version
2. Creating a server start BAT file (this will show you what yours needs to look like)
3. Identifying your local address, router address and IP
4. Logging into your router and setting up Port-Forwarding
5. Basic server commands, how to set up server configuration and admin.
------------------------------------------------------------------------------
1. Downloading Lugormod and getting the latest version
If you wish to run the latest lugormod on your server follow these quick steps to installing it.
a. You should install an older version of lugormod as a starting point, go HERE to get version 1.1. This will also come with a file that will help with step 2.
This file will be compressed, using a program like winRAR extract the files into your Gamedata folder. (C:\Program Files\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData)
NOTE: This will delete your old lugormod folder and will erase any binds you may have made on any lugormod server and your screenshots.
If you wish to keep these copy your account file and screenshot folder out of your current lugormod folder... For example mine is PEHA.CFG and the SCREENSHOTS folder.
b. Once you have done part a you will have the basic lugormod, now you need to get the latest updated version.
Go HERE to download the latest version (currently 2.3.2).
This file will be compressed, extract and place the 'jampgamex86.dll' file into your lugormod folder (C:\Program Files\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\lugormod) replacing the old one that is currently there.
Once this is done proceed to Part 2.
---------------------------------------------------------------------------------
2. Creating a server start BAT file
If you followed step 1, you should have a file named "Start dedicated.BAT" in your Gamedata folder.
(C:\Program Files\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData)
We need to make sure this file is configured properly, right click on this file and click edit.
Make it look the same as this:
.\jamp +set dedicated 2 +set net_port 29070 +set fs_game lugormod +exec server.cfg
If unsure just copy and paste.
IF you don't have a Start Dedicated file you can make one by pasting this into a notepad document and saving as "Start Dedicated.BAT" with type as "All Files"
Now you have a proper server that you can launch and connect to under your own network, the "Start Dedicated.BAT" file is configured for other people to connect to your server but if you ahve a router other people connecting will be blocked.
Proceed to Part 3 if you wish to have other people connect.
-------------------------------------------------------------------------------------
The guide from here on in involves Port-Fowarding, I highly recommend turning it off after your have finished using your server as it MAY make your computer or network vulnerable.
Every router is slightly different and this is simply a guide to how my router works, I can be of no further assistance than to guide you the way, you may need to figure some things out by yourself.
This is basically a disclaimer.. If you screw something up don't blame me for it
---------------------------------------------------------------------------------------
3. Identifying your local address, router address and IP
Alright first we need to find what address your computer is assigned on your network and what address your router is at.
For Windows XP:
Click on the start menu bar
Go across to the right side and look for a menu bar called 'Connect To' click 'show all connections'
Under the heading "LAN or high-speed connection" find your active network that should be named 'Local Area Connection' or something similar. Double click on this.
in the new window click the Support tab at the top and look at the list of addresses.
Take note of your LAN address, this is your computers address on your network, it will probably be something like 192 168.1.100
Also take note of your "Default Gateway" this is your routers address, which is normally 192 168.1.1
The last address you need to know before you continue to the next part is your networks internet address, your IP address, go to: www.whatismyip.com or a similar site to find it out.
-----------------------------------------------------------------------------------------
4. Logging into your router and setting up Port-Forwarding
Ok now to go to your routers configuration page, open up a web browser and type in your 'Default Gateway' address that we found in Part 3. this is normally: lanIP.1.1
A window should appear with a:
Username:
Password:
IF your router has not been configured a common default password is to type in admin into the password area and click enter. Leaving the username area blank.
If this does not work i suggest looking up your router and what its default password may be or if you have installed the router ask someone who did it for the username and password..
Now that your on your router page, this is where you need to figure some stuff out... you need to find an area called 'Port forwarding' or 'range Port-forwarding' something like that anyway... including the word Port and forward.
Once you have found this area enter in similar things to the way i've done it, make sure you include the 29070 port.
here is a screenshot of my config:
i do not have it enabled because i only activate it when i am actually USING the server.
As you can see i have put 192 168.1.104 in the IP address but your computers IP into this area, you want connections to be sent to your computer not to someone elses. 104 just happens to be my computers address on my network.
If you are confident you have done this port-forwarding correctly click confirm or accept.
Proceed to the final Part.
-----------------------------------------------------------------------------------
5. Basic server commands, how to set up server configuration and admin.
Now that your server is set up you can go to your GameData folder again and double click on your "Start Dedicated.BAT" file
This will launch a console, in which you can enter server commands.
You can now open up JKA and /conn to your IPaddress:29070
REMEMBER: use your IP address that you found at www.whatismyip.com when giving your server address to someone else. You can connect by either using your computers address 192 168.xxxxx or the IP with the port 29070 at the end.
A great way of checking if your server is online is opening up UU and adding it to your favorite server list, with IP:29070. If it shows the server as up it is working.
To grant your account admin, type grantadmin accountname 1 into your server console (the one that opened when you launched the server)
You can also configure server settings using your server.cfg file that is in your lugormod folder, this can change maxplayers, blacknames, flood protection, etc. I will not go into all these commands, as this guide is purely for creating the server.
Have fun!
----NOTES----
I had to use 192 168 (with a gap in between) because acid has made it so with a dot in between it shows up as lanIP
If anyone has anything to add to this or share their experience with a problem post below.
Guide originally written by: PeHA!!BOSS!!*Mystic