1

Topic: [Guide]How to setup your own L2Server! + Images!

Hello again  Grin.
In this guide i will show you how to setup your own L2 Server. {Pictures Included}
So lets start...
You will need to download the following programms:

MySQL Server {Select your OS and download the right installer for it.}
Java Developer Kit [Click download at Java SE Development Kit (JDK) Bundles] {At Platform selection: Select your OS}
Navicat for MySQL

Also, download the L2J Pack (Gracia Final)
Nightlies are Gracia Epilogue unless otherwise stated

-----------------
Datapack Download
-----------------

-----------------
Core Download
-----------------

Lets start installing! xD

Open JavaDeveloperKit Installer and watch the pictures carefully!

http://i289.photobucket.com/albums/ll235/TheTonyMontana/1-1.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/2-1.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/3-1.jpg

Open MySQL Installer and watch the pictures carefully!

http://i289.photobucket.com/albums/ll235/TheTonyMontana/4-1.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/5-1-1.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/6-2.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/7-2.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/8-2.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/9-2.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/11-1.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/12-1.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/13.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/14-1.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/15.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/16-1.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/17-1.jpg

Open Navicat Installer and watch the pictures carefully!.

http://i289.photobucket.com/albums/ll235/TheTonyMontana/18.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/19.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/20.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/21.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/22.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/23.jpg

http://i289.photobucket.com/albums/ll235/TheTonyMontana/24.jpg
==================================================
Now its time to configure the pack!

Extract L2J_DataPack & L2J-Server to one folder
Lets start...
Open Login folder->Config and then open loginserver.properties
And find this:

Login=root
Password=

Change it like that:

Login=root
Password=root

Save it and close it.

Now, go back
Open GameServer folder->Config and then open server.properties
If you want your server to be on INTERNET find this: GameserverHostname=* and replace * with your ip
If you want your server to be on LOCAL find this: GameserverHostname=* and replace * with your 127.0.0.1

Also find this:
Code:

Login=root
Password=

Change it like that:
Code:

Login=root
Password=root

Also find this: AcceptAlternateID = True
And replace it with this: AcceptAlternateID = false
Save it and close it.

Go back, and open folder TOOLS find database_installer.bat make a right click on it and edit

Find these:
Code:

REM LOGINSERVER
set lsuser=root
set lspass=
set lsdb=l2jdb
set lshost=localhost

REM GAMESERVER
set gsuser=root
set gspass=
set gsdb=l2jdb
set gshost=localhost

And replace them with these:
Code:

REM LOGINSERVER
set lsuser=root
set lspass=root
set lsdb=l2jdb
set lshost=localhost

REM GAMESERVER
set gsuser=root
set gspass=root
set gsdb=l2jdb
set gshost=localhost

Save and close the file Grin

Ok now go to Pack Folder and then Tools run database_installer.bat
It should say something like that:
Code:

WARNING: A full install (f) will destroy data in your
         `accounts` and `gameserver` tables.
         Choose upgrade (u) if you already have an `accounts` table but no
         `gameserver` table (ie. your server is a pre LS/GS split version.)
         Choose skip (s) to skip loginserver DB installation and go to
         gameserver DB installation/upgrade.
LOGINSERVER DB install type: (f) full or (s) skip or (q) quit?

Type F
And to this one:
Code:

WARNING: A full install (f) will destroy all existing character data.
GAMESERVER DB install type: (f) full install or (u) upgrade or (q) quit?

F again, and wait the install to be done.
To this one:
Code:

Do you want to update your database with files in update folder, which are alrea
dy included in the main files? (RECOMMENDED: NO)
UPDATE your database: (y) yes or (n) no?

Type N

Now go back, and open Login folder, and then run RegisterGameServer.bat
It should say something like that: Your choice: type 1 and press enter.
Now in login folder these should be a file named hexid(server 1).txt rename it to hexid.txt and Cut or Copy to folder gameserver/config.
{Note: If you want to create your account go to Login folder and then run startSQLAccountManager.bat type 1 and then type your username & password and at access level type 100}
--- If you want to set GM Access to your character go to Navicat->Open l2jdb->characters->and find the field access and set it to your char to 1 ---
[If you want to run the server go to Login folder and open loginserver.bat and then go to gameserver folder and run gameserver.bat]

http://www.hopzones.net/hopzones_banner.gif