- Joined
- Jan 19, 2007
- Messages
- 6
- Reaction score
- 2
To easily setup a L2J server, you will need...
L2J (I used L2Jfree,
xampp (
Java Runtime Environment (
Lineage 2 CT2 Gracia Part 2 client (
Fyyre's No GameGuard patch (
What this guide assumes:
That the reader can thoroughly and completely read instructions in english
The reader has average to above average computer science skills
The reader is using Windows XP (Haven't tried this in Vista, but will all respects, it should still work)
The reader has downloaded ALL of the items above.
The reader has an unzip utility like WinZIP.
Okay let's get started! First off you're going to need to install xampp. This handy software is a preconfigured group of opensource web server softwares apache, mysql, phpmyadmin, and many others. Default options are fine, but when the installer asks you to install apache and mysql as services, say NO! I've had some very big issues with the service installer not working properly and having to reinstall xampp.
Next install the Java Runtime Environment. Default options are fine.
Now extract (unzip) the loginserver and gameserver zip files to your l2j server. Now make a folder called "l2j" (without the quotations). Put both extracted folders inside it and move the entire folder to C:\. Open l2jfree-gameserver then tools. Right click database_installer.bat. Select "Edit".
Now a Notepad window should pop up. Find the line that says "set mysqlBinPath=". Now type in the path to the folder where xampp installed "mysql.exe". It will be (where you installed xampp)\mysql\bin. Like mine is in C"\xampp\mysql\bin. Save and close notepad.
BEFORE anything else start the Xampp control panel. Hit the start button for both Apache and Mysql. You don't need to worry about Filezilla or Mercury. Now go back and run the database_installer.bat. Type "f" (without quatations) for full install. When it asks you the yes or no question type "n" (without quotations) and hit enter.
Now go back to l2j-loginserver then the dist folder. Open the RegisterGamerServer.bat. When it asks for an option hit 1 then enter. CAUTION: This will make a server with the default name Bartz. If you are like me and dislike that name and want to pick another, You may type in a different number. if you do use a number other than 1, you need to open your webbrowser and navigate to
Now copy or cut the hexid txt file and navigate to the l2jfree-gameserver folder and then to dist then to config. Paste the hexid txt file there and rename it to take out the parentheses and the number. When you are done the file should be called hexid.txt.
Now go to the config folder and open up server.properties with notepad. Make sure your External and Internal IPs are 127.0.0.1. This makes the server only accessable to the player on the same PC as the server. IF you want to make it open to other computers on your Local Area Network, open up cmd.exe. Type in "ipconfig" and hit enter. Generally your LAN IP will be 192.168.1.XXX (only numbers instead of X's). Put this in your External IP instead of 127.0.0.1. If you want your server to be accessible to people on the internet, you need to find your Wide Area Network IP address.
Now go to the l2j-loginserver folder then dist, then config. Open up Loginserver.properties and edit the IPs to match your gameserver's. Once your finished, save and close.
Now is the moment of truth. Start up startloginServer.bat in l2j-loginserver/dist and startGameServer.bat in l2jfree-gameserver/dist. Wait for them to finish their start up, and you should see on the gameserver one as "registered as XXX.XXX.XXX.XXX Bartz" (the X's being your IP). If this does NOT happen, you have to go back and figure out what went wrong. If you do indeed get this far, congrats, your server is functional!
Now install the Lineage 2 client. Default options are fine. Once it's finished open the the L2 launcher and let it update. Updating may take a while so you can probably find something else to do while it works.
Once it's finished, close the client down altogether. Now extract the nogg patch you got earlier. Copy the core.dll and the engine.dll and paste them in C:\Program Files\Lineage II\system folder. You might want to back up the originals first.
Lastly open C:\WINDOWS\system32\drivers\etc\hosts in notepad
Add the following line:
127.0.0.1 l2auth.lineage2.com
save and close.
Now go back to the Lineage II system folder. Right click and drag l2.exe to the desktop. Select create shortcuts here.
Lastly go back to the l2j-loginserver folder and navigate into dist. Open startAccountManager.bat. Create and username and password. close out. Now open up the Lineage II shortcut on your desktop. And congratulations! You are playing on your very own L2J server!
L2J (I used L2Jfree,
To view the content, you need to sign in or register
)xampp (
To view the content, you need to sign in or register
)Java Runtime Environment (
To view the content, you need to sign in or register
)Lineage 2 CT2 Gracia Part 2 client (
To view the content, you need to sign in or register
)Fyyre's No GameGuard patch (
To view the content, you need to sign in or register
)What this guide assumes:
That the reader can thoroughly and completely read instructions in english
The reader has average to above average computer science skills
The reader is using Windows XP (Haven't tried this in Vista, but will all respects, it should still work)
The reader has downloaded ALL of the items above.
The reader has an unzip utility like WinZIP.
Okay let's get started! First off you're going to need to install xampp. This handy software is a preconfigured group of opensource web server softwares apache, mysql, phpmyadmin, and many others. Default options are fine, but when the installer asks you to install apache and mysql as services, say NO! I've had some very big issues with the service installer not working properly and having to reinstall xampp.
Next install the Java Runtime Environment. Default options are fine.
Now extract (unzip) the loginserver and gameserver zip files to your l2j server. Now make a folder called "l2j" (without the quotations). Put both extracted folders inside it and move the entire folder to C:\. Open l2jfree-gameserver then tools. Right click database_installer.bat. Select "Edit".
Now a Notepad window should pop up. Find the line that says "set mysqlBinPath=". Now type in the path to the folder where xampp installed "mysql.exe". It will be (where you installed xampp)\mysql\bin. Like mine is in C"\xampp\mysql\bin. Save and close notepad.
BEFORE anything else start the Xampp control panel. Hit the start button for both Apache and Mysql. You don't need to worry about Filezilla or Mercury. Now go back and run the database_installer.bat. Type "f" (without quatations) for full install. When it asks you the yes or no question type "n" (without quotations) and hit enter.
Now go back to l2j-loginserver then the dist folder. Open the RegisterGamerServer.bat. When it asks for an option hit 1 then enter. CAUTION: This will make a server with the default name Bartz. If you are like me and dislike that name and want to pick another, You may type in a different number. if you do use a number other than 1, you need to open your webbrowser and navigate to
To view the content, you need to sign in or register
. Click the item l2jdb on the left. On the list on the left, look for "gameservers". Click on it. Hit the Browse tab on the top of the main page. Click the pencil icon next to the server listed. Now you change the hex_id to the SAME number you typed in RegisterGameServer.bat. Click save, and then close the browser.Now copy or cut the hexid txt file and navigate to the l2jfree-gameserver folder and then to dist then to config. Paste the hexid txt file there and rename it to take out the parentheses and the number. When you are done the file should be called hexid.txt.
Now go to the config folder and open up server.properties with notepad. Make sure your External and Internal IPs are 127.0.0.1. This makes the server only accessable to the player on the same PC as the server. IF you want to make it open to other computers on your Local Area Network, open up cmd.exe. Type in "ipconfig" and hit enter. Generally your LAN IP will be 192.168.1.XXX (only numbers instead of X's). Put this in your External IP instead of 127.0.0.1. If you want your server to be accessible to people on the internet, you need to find your Wide Area Network IP address.
To view the content, you need to sign in or register
is an excellent site for this. Put whatever it tells you as your External IP. If you're behind a router and you want to use your WAN IP, you will need to forward the ports. There's plenty of guides on that. Save and close when finishedNow go to the l2j-loginserver folder then dist, then config. Open up Loginserver.properties and edit the IPs to match your gameserver's. Once your finished, save and close.
Now is the moment of truth. Start up startloginServer.bat in l2j-loginserver/dist and startGameServer.bat in l2jfree-gameserver/dist. Wait for them to finish their start up, and you should see on the gameserver one as "registered as XXX.XXX.XXX.XXX Bartz" (the X's being your IP). If this does NOT happen, you have to go back and figure out what went wrong. If you do indeed get this far, congrats, your server is functional!
Now install the Lineage 2 client. Default options are fine. Once it's finished open the the L2 launcher and let it update. Updating may take a while so you can probably find something else to do while it works.
Once it's finished, close the client down altogether. Now extract the nogg patch you got earlier. Copy the core.dll and the engine.dll and paste them in C:\Program Files\Lineage II\system folder. You might want to back up the originals first.
Lastly open C:\WINDOWS\system32\drivers\etc\hosts in notepad
Add the following line:
127.0.0.1 l2auth.lineage2.com
save and close.
Now go back to the Lineage II system folder. Right click and drag l2.exe to the desktop. Select create shortcuts here.
Lastly go back to the l2j-loginserver folder and navigate into dist. Open startAccountManager.bat. Create and username and password. close out. Now open up the Lineage II shortcut on your desktop. And congratulations! You are playing on your very own L2J server!