[HOW TO] Create own L2J Server

04/12/2010 07:48 Nikiii#1
How to create lineage 2 server

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


Now lets beggin....

1º- Install JavaJDK (u wont have any problems on it).

2º- Lets Install the MySQL server:
- Run the Executable file and start the installation.
- After the install, a window called "MySQL server instance configuration" will appear, than follow these steps to configure it.

- Create a new instance and than Select "Detailed Configuration"

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

- Choose "Server Machine"

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

- Press Next til the screen above.
- U can choose the first option if u do not pretend to hve more of 20 players, or use the third option ("Manual setting") where in the "concurrent connections" field , u put how many ppl do u like to join ur server.

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

- Keep pressing next til the SECURITY SETTINGS screen.
- On it , Uncheck the "modify security settings" than next.

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

- Now press the EXECUTE button (note: if it gave the error 0 return to the DATABASE USAGE window and choose TRANSACTIONAL DATABASE instead of MULTIFUNCTIONAL DATABASE !).

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

-Ok ur MySQL server is setted up ! Login: Root , without password and port 3306.

3º- Now lets setup the NAVICAT (MySQL GUY). (For who dont know what is that , just imagine this way: MySQL is like the Internet and the NAVICAT is like the Explorer or Firefox).

-Intall NAVICAT , than open it.

-In NAVICAT , click on CONNECTION than fill up the spaces like the image above.

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

-After that will appear a new connection, into connections field, called Localhost. Right click on it than choose NEW DATABASE. A small window will popup asking for the DB name. Use the name l2jdb than click ok. Well done DATABASE created !

[Only registered and activated users can see links. Click Here To Register...]
4º- Extract the contents of the server pack in a folder of ur choice.

5º- Now lets put all the info of the SQL files into ur database.

-Ull find a file called Database_installer.bat at the Tools folder that will be inside ur servers folder.

-Right click on it and choose EDIT.

-Insert in the line "set mysqlBinPath=" the correct address of ur MySQL BIN FOLDER, than save it.

-Execute the modified file. A Ms-dos window will open giving u choices. Press "F" (full installation) every time it ask u to choose.

-Okay . Ur database is ready to use !

6º- Now we will edit few stuffs to setup the server correctly.

-Go into the folder gameserver/config/ and open w. a notepad the server.proprierties file.

-Ull need to edit few lines :

ExternalHostname= UR EXTERNAL IP HERE ( U can discover it using the site WhatIsMyIP.com - 208.116.34.18 . If u only want to play alone and dont want ppl out of ur network to join, u can left it blank).

InternalHostname= UR INTERNAL IP HERE (If ur pc is connect in a network, put ur pc network IP. If not, put 127.0.0.1 ).

MinProtocolRevision = 1
MaxProtocolRevision = 999 (edit these both using these number to avoid a protocol error).

-Now go into ur LOGIN folder. Run the file "RegisterGameServer.bat".

-A ms-dos window will show up and will ask u for an ID. Choose the ID 1 (only need to type 1 ).

-Done it a file called hexid(id 1 or something like).txt will appear into ur login folder. Rename it to hexid.txt , copy and paste inside ur gameserver/config/ folder.

-Now just need to start the "startloginserver.bat" (login folder) and "startgameserver.bat" (gameserver folder). It will be opened when stops on the following lines (check the image). Remember, ur server is setted up to autocreate accounts so u dont need to execute "startaccountmanager.bat" this time.

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

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

Okay ! Server is running fellows !

PS: If u are under a router, dont forget to open the ports 7777 (game server), and 2106 (login server).

Second Step : Preparing the client

For connecting to your server you only have to change your Host
You can change it here C:\Windows\system32\drivers\etc\hosts

There you put in your IP adresse

For example
127.0.0.1 localhost
111.11.11.11 l2authd.lineage2.com


I Hope i could help
You have questions??? ASK!!!

A THX pls
04/21/2010 21:08 bakri#2
This for Gracia Final or Gracia Epilogue or what type of Lineage 2?
04/22/2010 17:18 MissBloodySunday#3
one click in OPs Post and you know the answer =)
/ Gracia Epilogue
05/17/2010 18:10 koutsabaki#4
Am i the only one who cant find the Tools folder inside server folder???
05/17/2010 18:23 koutsabaki#5
Found it. It was in datapack folder not in server.
07/05/2010 18:19 Anarchy_On_Metin2#6
Anyone know a gameguard killer?
07/10/2010 09:22 manolin#7
dude i really need help with this if ur still checking this post i dont see the ExternalHostnameMinProtocolRevisionMaxProtocolRevi sion so i added them i also cant see RegisterGameServer.bat so i cant continue
08/16/2010 16:17 No Hawx#8
Ich denke, das gehört hier hin oder ?

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

I think this goes to this section !
08/16/2010 21:02 Krakatoas#9
Quote:
Originally Posted by KekzCracker View Post
Ich denke, das gehört hier hin oder ?

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

I think this goes to this section !
Jo, glaub schon.

Hast du schon zum moven gemeldet? Ich machs zur Sicherheit mal. Vielleicht kümmert sich ja mal bald jemand um die Reports.

Ich glaub da sind immernoch 2 P-Server Werbethreads die um die sich gekümmert werden muss.
09/11/2010 15:44 Risella#10
At starting the startGameServer it tell me!

Starting l2j game server.
Error occured during initialization of VM
could not reserve enought space for object head
could not create the java virtual machine

Server terminated abnormaly
server terminated




why it is? not enought ram memory or normal memory? :sss


since now, thx
11/15/2010 05:08 Soulist#11
Gentleman,

I did something very stupid i delete the files of jdk-6u22-windows-i586 Directly from the folder. I did not uninstall like a normal program so now i tray to install it over the delete files and i get this msg (This software has already been installed on you computer). Would you like to reinstall it? I Click YES ones i click yes it looks like it will install but the msg pops up aging (This software has already been installed on you computer) and if i hit yes it will doit aging and aging and it will never get install.

PS: Since i did not had enough space on my hard drive i install jdk-6u22-windows-i586 on external hard Drive and that where i made the mistake of going to the folder and deleting the jdk-6u22-windows-i586.

Can some one please help me on this.

Thanks in advance.
11/29/2010 20:38 magamans#12
PLZ help me i cant get further then Now lets put all the info of the SQL files into ur database

plz add me on msn [Only registered and activated users can see links. Click Here To Register...]

plz what you mean with that " Now lets put all the info of the SQL files into ur database"!!!!
what where!!
11/29/2010 23:11 magamans#13
you say i need to open server properties at step 6
but i dont have server properties in config
i only have l2jdp-version in there...:(
12/20/2010 22:50 Jason♫#14
which server version do you have???
Freya????
01/24/2011 21:06 Lord9#15
Nikki! I have an question for you!
Where is the new system of server how create you?