l2topzone.com
l2topzone.com

Author Topic: [Guide] How To SetUp Your Own L2Server  (Read 2616 times)

0 Members and 1 Guest are viewing this topic.

OfflineHeRoMaN

  • Full Member
  • ***
  • Posts: 136
  • L2topzone Votes: 0
  • Servers reviews: 0
  • Country: Greece.
  • Reputation: +876/-0
  • Gender: Male
  • L2J Server Developer
    • WwW.L2-Justice.Tk
[Guide] How To SetUp Your Own L2Server
« on: January 25, 2010, 09:59:13 AM »
l2topzone.com
Hello again  ;D.
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)
-----------------
Datapack Download
-----------------

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

Lets start installing! xD

Open JavaDeveloperKit Installer and watch the pictures carefully!




Open MySQL Installer and watch the pictures carefully!















Open Navicat Installer and watch the pictures carefully!








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:

Code: [Select]
Login=root
Password=
Change it like that:
Code: [Select]
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: [Select]
Login=root
Password=
Change it like that:
Code: [Select]
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: [Select]
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: [Select]
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 ;D

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

Code: [Select]
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: [Select]
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: [Select]
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]

Note: This guide is CREATED by me and uNiQue1337 .



Linkback: https://l2topzone.com/forum/l2-guides/6/guide-setup-l2server/412/


Share via diggShare via facebookShare via linkedinShare via myspaceShare via redditShare via twitter
 


Sitemap