[GUIDE] Making an Up-To-Date L2J Server

07/11/2010 00:51 Tresiem573#1
Alright, so I know there's TONS of guides out there, and believe me I have followed many of them. As long as you follow THIS guide, you should NOT have a problem whatsoever.

First Step 1: is to download all of the following *Note: Navicat Download and MySQL download links are not mine, I borrowed them from another guide*

1) MySQL: [Only registered and activated users can see links. Click Here To Register...]

2) Navicat: [Only registered and activated users can see links. Click Here To Register...] (Or if you want a free version of navicat go to the navicat site [Only registered and activated users can see links. Click Here To Register...] and download the lite version. Works just the same.)

3) Datapack - Freya (UPDATED): [Only registered and activated users can see links. Click Here To Register...]

4) Server Files - Freya (UPDATED): [Only registered and activated users can see links. Click Here To Register...]

*NOTE* - Because the servers are now on Freya, the installation may be a little different. If this guide continues to help you, then by all means use it. If it does not, please post a reply or pm me with the problem you're having and I'll do my best to help you. Everything is the same, up to the point where you configure your IP's and the gameserver/loginserver, that's where it gets a little different.

Step 2: Make a Lineage 2 Server folder in C:\ and name it whatever you want. For example I named mine "My Lineage 2 Server"

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

Step 3: Extract both your datapack and server files to the folder you just made. Make sure you extract them one at a time, I find it less complicates things. After finished, your folder should look like this:

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

Step 4: Now here is how to install navicat.

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

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

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

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

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

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

Step 5: Installing MySQL Server 5.1. It is important that you DO NOT change the directory of the install, and that you DO NOT already have a version of MySQL Server already installed. It may complicate making your server to run.

Now for the first part, just keep clicking next, next, next then install. After that's done you'll be asked if you want to "Config your MySQL Server" and "Register your MySQL Server Now"... uncheck the box beside "Register your MySQL Server Now". The config should look a little like this. Mine may differ from yours because I already have my server working.

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

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

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

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

Step 6: Now it's time to config your navicat. Follow the pics below. Open navicat, click on "Connection > MySQL"

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

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

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

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

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

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

Step 7: Now that you have your navicat setup properly it's time to install your database. So go into your Lineage 2 Server folder that you extracted your database and server files to and you should see a folder called "tools"... once inside double click database_installer and follow the on screen prompt. Type in EVERYTHING it says to type in for default except for your password. Your password is the password you used for MySQL.

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

Step 8: Now it's time to config your config files. server.properties and loginserver configs. Now this is an important step... If you just want to play alone and you have a router, then the InternalHostname HAS to be the ip of your computer. NOT the default gateway ip. The ip of your router. If you don't have a router and want to play alone, well, you'll just have to not give anyone your external ip address.

First, go to your gameserver > config > server.properties like in the pictures.

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

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

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

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

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

Now the next thing you have to go to your login folder where your gameserver folder and go login > config > loginserver

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

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

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

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

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

Step 9: Now it's time to register a name for your server. If you do not, the server will not run. After you register your server you'll get a file called hexid take it and paste it in your gameserver > config > folder. Like the following.

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

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

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

Step 10: Now it's time to register your first account. Follow the pictures, input your username and password and make sure the account access level is 100. Account and character access levels are different.

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

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

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

Step 11: Now it's time to see if your server works. If you followed this guide correctly... it should. Go to your login folder and double click startloginserver.bat Then go to your gameserver folder and double click on startgameserver.bat. Your server should run and look like this:

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

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

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

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

Now if you did this step by step. Every detail your server should work. If it doesn't you did something wrong. Reply back with pictures or a detailed summary of what's wrong with it and I'll try to fix it for you.

Just to show you guys that this guide works, I forgot to mention that while attempting this guide I screwed up my own server. So I deleted everything, went through the guide, and successfully re-hosted my server.

Also, one last thing I forgot to mention... if you want to play on your server alone, go to your hosts file located in C:\WINDOWS\system32\drivers\etc folder and open it up with notepad. You're going to want to add this line in: "Internal Ip Here" l2authd.lineage2.com internal ip where it says internal ip here without the quotes... for example: 192.168.XXX.XXX l2authd.lineage2.com and if you want other people to play in your server you're going to want to give them your external ip as found above. But it should look like XXX.XXX.XXX.XXX l2authd.lineage2.com but there's not always 3 numbers where the X's are. That's okay. Good luck!
07/20/2010 12:50 sizons#2
what lineage 2 client? is there for freya?
07/20/2010 19:57 Tresiem573#3
This is for the latest most updated version of Lineage 2.
07/20/2010 23:30 yurabomb#4
ty man a good guide ! can i make the server on Graci part 2 - final ?
07/22/2010 14:43 Tresiem573#5
Yes, you can. That's what this server is.
07/22/2010 19:34 XxIownUxX#6
ok i got it all set up, but when i use the client i have on my pc it comes up with hacking tool detected then i have to log out.

ne ideas plz.
07/24/2010 23:31 Tresiem573#7
I've had that problem before too. I had an old server run from the guide about making an interlude server... and the problem with that is, your game isn't completely updated. You have Gracia, which means the game will run on your private server, but because your game client isn't fully updated, it thinks you're running a cheat, so your game will close.
07/31/2010 09:15 phoenixsoju#8
[Only registered and activated users can see links. Click Here To Register...]

this keep rolling over and over.

any further help, please?
07/31/2010 14:47 Tresiem573#9
You're sure the database has been installed? When you went into your tools folder and double clicked database installer, you typed in the following:

1) C:\Program Files\MySQL\MySQL Server 5.1\bin
2) F (for full install)
3) Any key to continue
4) Yes or no to custom content
5) Any key to continue

If you've done that, you might want to redo it because basically what this is telling me is that those files are missing. It is highly important to not change any installation directories.
08/18/2010 09:27 Ragelhans#10
i have followed your guide and everything seems to be running well, i was able to create my character but... the problem is, it's not moving, it's not moving to the target area and there is no npc and mobs on the starting location... help is appreciated
08/19/2010 04:01 Tresiem573#11
Quote:
Originally Posted by Ragelhans View Post
i have followed your guide and everything seems to be running well, i was able to create my character but... the problem is, it's not moving, it's not moving to the target area and there is no npc and mobs on the starting location... help is appreciated
Already sent you a message. Sorry it took so long.
08/24/2010 06:23 Scyther4000#12
Does anyone know what this error means? The Login Server loads just fine and I'm able to log into my account on my Private Server but the Server select screen keeps showing my Sever as being down and that's whats written in the game server box.

[Only registered and activated users can see links. Click Here To Register...]
08/25/2010 14:06 Prohomine#13
Your game server is down, did you move the hexid file?
08/27/2010 04:22 Scyther4000#14
Yeah I moved it do the gameserver config folder like shown the tutorial.

I decided to uninstall everything and try to reinstall it all. Now I'm having a different problem then before. When I go to start up the database_installer.bat it opens up then closes right away. I cant even read what it says now. I didn't have that problem the first time. Any idea why it would be happening now?
08/27/2010 10:52 sisko1701d#15
i've followed your guide and everything runs fine: login server and game server are up'n'running. I've downloaded and installed the latest client that's "Freya", and after the "checkfile", i can login but right before the character choosing screen the client says "your client has a different protocol. please continue". And i can't do nothing else than quitting.

I tried also with the client "Gracia Epilogue" but if i start it without doing check file, Gameguard keeps bother me with his error 153. If i do checkfile, my clients become "Freya" so...

my last chance is to install a Gracia Epilogue client, kill gameguard with "gameguard killer" ?

Wich is the right client with the actual L2J server?

any other ideas? :)