List of files needed to install and run the L2J server:
Basic:
click HERE to get the java 1.5 jdk file.
click HERE to get the mysql 4.1 file.
click HERE to get the navicat2004trial file.
click HERE to get the l2j-server file.
click HERE to get the datapack. (Made by L2J-Datapack Team)
Optional:
click HERE to get the L2J PHP Account Manager. (Made by Mad3st)
Installing and running the Lineage C3 server:
1. Installing sql:
a. Unrar or unzip the mysql-4.0.23-win.zip file.
b. Install sql to the location you want it to go.
c. After installation, reboot your system.
d. Done....
2. Installing navicat:
a. Execute the file and install it to the location where you want it to go.
b. Now run the program.
c. Select new connection, and fill in the fields like shown on the picture.
e. Close the navicat program.
f. Done....
3. Getting the data in your database:
a. Read the readme file of the datapack.
b. Done....
4. Java:
a. Simple, just execute the jdk-1_5_0_04-windows-i586-p.exe file to install the needed java components.
b. Done.
5. Installing and configuring the actual server:
a. Unrar or unzip the l2j-server.zip file to a new folder of your choice.
b. Only if step "a" was succesfull you may proceed to step "c", the server configuration file.
c. The following text is an example of an actual server.properties file located in your server /config folder. (To view or change the content, use your favorite text editor)
e. Your server is now ready to run. Use the startserver.bat (windows) or the startserver.sh (linux) to start the server.
f. If you want to be absolutely sure it works, see if the output of the server looks similiar to this:
Basic:
click HERE to get the java 1.5 jdk file.
click HERE to get the mysql 4.1 file.
click HERE to get the navicat2004trial file.
click HERE to get the l2j-server file.
click HERE to get the datapack. (Made by L2J-Datapack Team)
Optional:
click HERE to get the L2J PHP Account Manager. (Made by Mad3st)
Installing and running the Lineage C3 server:
1. Installing sql:
a. Unrar or unzip the mysql-4.0.23-win.zip file.
b. Install sql to the location you want it to go.
c. After installation, reboot your system.
d. Done....
2. Installing navicat:
a. Execute the file and install it to the location where you want it to go.
b. Now run the program.
c. Select new connection, and fill in the fields like shown on the picture.
e. Close the navicat program.
f. Done....
3. Getting the data in your database:
a. Read the readme file of the datapack.
b. Done....
4. Java:
a. Simple, just execute the jdk-1_5_0_04-windows-i586-p.exe file to install the needed java components.
b. Done.
5. Installing and configuring the actual server:
a. Unrar or unzip the l2j-server.zip file to a new folder of your choice.
b. Only if step "a" was succesfull you may proceed to step "c", the server configuration file.
c. The following text is an example of an actual server.properties file located in your server /config folder. (To view or change the content, use your favorite text editor)
# This is the server configuration file. Here you can set up the connection for your server. # Usually you have to change the ExternalHostname option to # - 127.0.0.1 (if you want to play alone / testing purpose) # - LAN IP* (if you want to play from another computer in the network) # - WAN IP** (if you want to play with friends over internet) # - Questions? => [URL]http://l2j.sourceforge.net[/URL] # # * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig" # **= If you want to get you WAN IP, visit [URL]http://www.whatismyip.com[/URL] # =================================================================================================== # Bind ip of the gameserver, use * to bind on all available IPs GameserverHostname=* <--------leave this alone GameserverPort=7777 <--------leave this alone # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname=192.168.1.100 <------- this is where your WAN IP goes. # This is transmitted to the client from the same network, so it has to be a public IP or resolvable hostname InternalHostname=192.168.1.100 <------- this is where your LAN IP goes. # Bind ip of the loginserver, use * to bind on all available IPs LoginserverHostname=* <--------leave this alone # Database info Driver=com.mysql.jdbc.Driver <--------leave this alone #Driver=org.hsqldb.jdbcDriver <--------leave this alone URL=jdbc:mysql://localhost/l2jdb <--------leave this alone #URL=jdbc:hsqldb:hsql://localhost/l2jdb <--------leave this alone Login=root <--------leave this alone Password=root <--------remove root MaximumDbConnections=5 <--------change this to 5 # Useable values: "true" - "false", use this option to choose whether accounts will be created # automatically or not. If not, you have to put it in the logins.txt in the data folder AutoCreateAccounts=true <--------you can figure this out # Define how many players are allowed to play simultaneously on your server. MaximumOnlineUsers=100 <--------you can figure this out #Global/Trade Chat usablitly - ON, OFF, GM GlobalChat=ON <--------you can figure this out #AutoLoot enable... True to enable, False to disable AutoLoot=False <--------you can figure this out #Debugging stuff Debug=False <--------leave this alone #Death Penalty DeathPenalty=False <--------you can figure this outd. Edit the file as needed. (ExternalHostname=,InternalHostname=,Password)
e. Your server is now ready to run. Use the startserver.bat (windows) or the startserver.sh (linux) to start the server.
f. If you want to be absolutely sure it works, see if the output of the server looks similiar to this:
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@16cd7d5 [ con nectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@1df 073d [ acquireIncrement -> 3, autoCommitOnClose -> true, connectionTesterClassNa etc.... etc.... etc.... Parsing Script: WindStriderData.xml Script Sucessfullty Parsed. Parsing Script: WolfData.xml Script Sucessfullty Parsed. Started, free memory 31 Mb of 63 Mb LoginServer listening on all available IPs on Port 2106 Hostname for external connections is: 192.168.1.100 Hostname for internal connections is: 192.168.1.100 Automatically creating new accounts: true 2 banned IPs defined
This was the basic server setup, you should be able to run the server without any problems.
