F.A.Q.

Frequently Asked Questions

Q: I'm new, where do I start? Can you guide me through setting up a server?
A: Read this excellent guide and get the data here: ServerInfo and Setup
You may want to read also this Noob FAQ


Q: Where can i get the latest SVN?
A: Read this: L2J Install

Q: I got Eclipse and got the source but it's old, not the one i'm looking for, its not C5
A: Read this: L2J Install 2

Q: I don't want to compile and all that man, just give me a working server ffs!
A: Use compiled Nightly builds
If this is not good enough for you
Get lost !!!


Q: I don't want a C2, C3, C4, C5 build, i want a C1 build!
A: http://sourceforge.net/projects/l2j/ Be warned, a datapack my be almost impossible to find. C1 Datapacks were done by many separate individuals and none of those people are around anymore.

Q: I had a server running, and now game says "files corrupted" What do i do?
A: Do a full check (start LineageII.exe) , never ever try to alter game files again!

Q: I get this error in the server screen: Exception in thread "main" java.lang.OutOfMemoryError
A: Replace this in your startGameServer.bat:
java -Xmx512m -cp bsf.jar;bsh-2.0.jar;javolution.jar;c3p0-0.9.0.jar;mysql-connector-java-3.1.10-bin.jar;l2jserver.jar;jython.jar net.sf.l2j.gameserver.GameServer
With:
java -Xms128m -Xmx378m -Xss128k -Xincgc -cp bsf.jar;bsh-2.0.jar;javolution.jar;c3p0-0.9.0.jar;mysql-connector-java-3.1.10-bin.jar;l2jserver.jar;jython.jar net.sf.l2j.gameserver.GameServer
Or this in your startserver.sh:
#!/bin/bash
java -Xms128m -Xmx378m -Xss128k -Xincgc -cp bsf.jar;bsh-2.0.jar;javolution.jar;c3p0-0.9.0.jar;mysql-connector-java-3.1.10-bin.jar;l2jserver.jar;jython.jar net.sf.l2j.gameserver.GameServer

Q: Ok, i'm all set up, but there are no mobs or npcs or anything
A: Get the data here:http://forum.l2jdp.com

Q: I am running the C5 version of l2j server and there are no C5 items or monsters.
A: Go here:http://forum.l2jdp.com

Q: Ok, i got the data, now npcs tell me their htmls are missing or they have nothing to say to me.
A: Did you read the Datapack Wiki?

Q: Do quests work?
A: Mostly, they are being worked on.

Q: What can i do to make quests, it seems there is a quest engine in the l2j server.
A: Ask here:http://forum.l2jdp.com
And read the Jython info here: JythonFAQ


Q: When i try to connect the server console shows the following error, what do i do?
"Client Protocol Revision:665 is too low. only 694 and 709 are supported."

A: Update your client!

Q: Update my client..., HOW?
A: Start LineageII.exe, if it says it's fine, do a full check.

Q: BUILD FAILED, help, what's this error? :
- [javac] Compiling 1009 source files to workspaceL2_GameServerbuildclasses BUILD FAILED: workspaceL2_GameServerbuild.xml:61: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.
A: One of these should solve the problem. Do one at a time, not all.
Check Window-> Preferences->Ant->Runtime->Ant Home Entries (Default)

has JDK /lib/tools.jar listed.
If not there add it to External jars
Or
To set JAVA_HOME:

- right click "My Computer" -> properties
- In the window, you should have an "advanced" tab, go to it, then click "environment variables"
- In system varibles, click new, and create a new one as follow (if it's not allready there):
Name: JAVA_HOME
value : C:/Program Files/Java/jdk1.5.0_03 or where ever you installed your JDK
OR Check that Eclipse has registered the correct JRE from your JDK install.
Window-> Preferences->Java->Installed JREs
OR try setting the CLASSPATH:
Open a Command Prompt and type:
set CLASSPATH=%CLASSPATH%;C:/path/to/Java/jdk1.5.0_03

One of those should fix the problem.


Q: Client Terminated Connection whats does this mean?
A: It means the client that was trying to connect, successfully connected to the LoginServer and is now being passed to the GameServer.

Q: I have this error:
Exception in thread "main" java.net.BindException: Address already in use: JVM_Bind

A: Something is already using the port allocations that the server needs to run on. It can not bind to the ports that it needs. A second copy of the server is running or some other software such as Kazza is in use. Close all other applications on the server and try again.

Q: I get this error when compiling with Eclipse:
[exec] Execute failed: java.io.IOException: CreateProcess: svnversion -n . error=2
A: The reason for this non critical error is that you do not have subversion commandline installed. You have the subversion plugin for eclipse. It is not needed, it is optional. If you looked down a little bit it says BUILD SUCCESSFUL.
If you would like the commandline subversion you can get it here:
subversion
Again, this is not needed. Only optional.


Q: I got a java error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sf/l2j/Se rver (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source)
A: This is because you either have an older version of Java (1.4), or your PATH or CLASSPATH point to the wrong version.
If version 1.4 and 1.5 are on the PATH, it reads the first version it comes to and loads that one, ignoring the second one.
Type set in a command prompt to check your systems PATH or CLASSPATH. (windows)
Type env in a command prompt to check your systems PATH or CLASSPATH. (linux)


Q: I got another java error:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@b02efa -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underlying database!
A: Make sure Mysql is running.
Make sure your configurations are correct in your properties files


Q: Incorrect Packet checksum, what's this ?
A: Currently L2J server is not compatable with the 793 or lower of the client.
Update your client by running LineageII.exe in your clients main folder.


Q: How can I use TELNET ?
A: Telenet is used to remotely control gameserver or loginserver.
Look in file /gameserver/config/telnet.properties or /loginserver/config/telnet.properties and enable Telnet:
Telnet is disabled by default.
EnableTelnet = True
Set your Telnet password or let it generate a random one
#If the following is not set, a random password is generated on server startup.
StatusPW = yourpasswordhere
Choose a port to use:
#This is the port telnet server will bind to
StatusPort = 12345
Choose hosts you want to allow:
ListOfHosts = 127.0.0.1,localhost
Next make a telnet connection to your server.
Please refer to your OS specifications to find how to make a Telnet connection.
For Windows you can read Telnet How To guide.
After successfully established a telnet connection type "help" for a list of available commands.


Q Can I change servers names?
A: No. Server names are client side (encrypted into a file).So, to change servers names client modding is required and this is illegal. Servers names from xml file are there just to allow a easly selection, changing them will not change name displayed at login.

How can I disable startup text?
"Welcome to the world of Lineage II.
This server is running L2J version"...bla bla
A: That is the L2J copyright. No one is allowed to remove it.
Don't like it, Don't use any L2J software.
Anyone who does remove our copyright notice, take note, we will excercise our rights.


If your question isn't in here yet, please read the forum's FAQ or use the search function of the forum, it's awesome!