create a lineage 2 server

09/02/2007 00:36 lugez#1
hi :)

can someone tell me how can i create a lineage 2 server plz ? or gimme a tutorial how to make one ? plz :)


thx
09/02/2007 10:24 CharismatiX#2
Google : ********
09/04/2007 22:08 GoDofAdeN#3
I think you Have Windows OS...so Take a look in this :

Making a L2 Server

::Step 1::

*Note: You will need to have approximately 5 GB of free space available on your hard drive.*

Download and install the Lineage 2 Interlude client.

The client can be found Here
[Only registered and activated users can see links. Click Here To Register...]


::Step 2::

*Note: If you already have Directx 9.0c installed skip to step 3*

Download and Install Directx 9.0c

Directx 9.0c can be found here:

[Only registered and activated users can see links. Click Here To Register...]





::Step 3::

Download and install MySql

MySql can be found here:

[Only registered and activated users can see links. Click Here To Register...]

*Note: Scroll halfway down the page and you will find the Windows downloads section. You will want to download the Windows (x86) 4.1.12 35.7M version.*

During the installation you will encounter a security setting for the root password. It will be the first of two check boxes. It is imperative you remember this password.

At some point the config process will give you the ability to allow it to begin on startup. Make sure you check that.





::Step 4::

Download and Install Navicat.

Navicat is a gui that lets you easily navigate the creation of Sql database's, tables, etc. Although it isn't necessary, I highly recommend it as it will make things easier for both new and advanced users. In this faq you will find I have provided two ways of installing the Sql databases, one with Navicat and one without it for those who prefer not to use it.

You can download Navicat here:

[Only registered and activated users can see links. Click Here To Register...]

After installation, Navicat will ask you about the root password you set up during the installation of MySql. Input that password.

Also navicat crack here
[Only registered and activated users can see links. Click Here To Register...]



::Step 5::

Download The server files .

These files can be found here:

[Only registered and activated users can see links. Click Here To Register...]


::Step 6::

Configure the Config files.

Gameserver:





GameserverHostname=ur.ip.ad.dres

GameserverPort=7777



ExternalHostname=ur.ip.ad.dress



InternalHostname=ur.lan.ip.here



LoginserverHostname=*



Driver=com.mysql.jdbc.Driver



URL=jdbc:mysql://localhost/l2jdb?cachePrepStmts=true&prepStmtCacheSize=50



Login=root

Password=(your password)

MaximumDbConnections=5







Login server :



ExternalHostname=*





InternalHostname=*





LoginserverHostname=*

LoginserverPort=2106

LoginTryBeforeBan=20





LoginPort=9014





AcceptNewGameServer = False





ShowLicence = False





Driver=com.mysql.jdbc.Driver





URL=jdbc:mysql://localhost/l2jdb





Login=root

Password=your pass here

MaximumDbConnections=10



To register ur server just run from login the : RegisterGameServer.bat [ if the server is already has the hax code u can skip this ]



::Step 7::

Establish the database.

Go ahead and open Navicat, you'll notice on the left side of the menu you will have a Connections column. Go ahead and right click on whatever is there and delete it.

Next right click that column and Select New Connection. Name this connection l2jdb. It has to be this as we have set it to this in the cfg file.

Test the connection. If you have included your root password into that, it should have no problem. If you cannot connect to mysql, thats because its not running. A restart might help. But it will usually be running after the install.

Now you have a connection named "l2jdb". Right click the connection and add a new database. After the db database shows, right click it & "Execute Batch File", you will then search within your l2jru folder for a directory called sql. You will have files ranging from Accounts to Weapons. You will execute each batch file, and as you do they will appear into your table data area to the right.





::Step 7 (Without Navicat)::

Establish the database.

Right click on full_install.bat and select edit. Find the lines that read

set mysqlBinPath=C:\mysql\bin

set user=root

set pass=

set DBname=l2jdb

and change that to

set mysqlBinPath=C:\Program Files\MySQL\MySQL Server 4.1\bin

set user=root

set pass=(your password)

set DBname=l2jdb

Save, then run it. This will do all the work you just did with Navicat. The only purpose of Navicat is to easily and orderly edit sql table data. Which you may need if you get further into creating your own server. From editing quests to adding items and others.

It will take a few moments and then it should be done. Press any key to continue.





::Step 8::

Edit the host file to connect to your server

Find the host file in "C:/windows/system32/drivers/etc". Go ahead and right click open and select notepad from the list. Add this line to play alone. Or if you are connecting to a server, their respective IP.

127.0.0.1 l2authd.lineage2.com

It can be added at the bottom of whatever you have in there currently, on its own line. Save and exit.

::You have now completed your Lineage 2 Interlude server::

Bye :D
09/06/2007 16:44 lugez#4
thx m8 :)
09/06/2007 20:33 Kispect007#5
Great!
09/12/2007 20:22 vjshagy#6
at step 6 in what file should i modify ...?
09/13/2007 10:38 L2Best#7
you must configure the Server.properties ( in C:/Server/Gameserver/Config/Server.properties) :P :D

P.s Thanks GoDofAdeN... !!!
09/13/2007 18:59 vjshagy#8
10x but i have a problem in game server console this is what is says :
Connecting to login on 82.78.143.222:9014
Disconnected from Login , Trying to reconnect :
java.net.connectexception:connection refused: connect what should i do?