Jump to content

Recommended Posts

Posted

Hello fellas

 

Well, i was thinking about make a guide, and here its.

 

In this guide ill show u all steps to set up ur own l2j server.

 

Lets start

 

Requiered Software

 

Java JDK

Eclipse

Xampp

 

Ok, once u have all downloaded

 

1.- First u need to install Java

51132247.jpg

Doesnt need more details about java instalation.

2.- U need to create a folder where to unzip eclipse, cuze isnt an installable software, and u need remember it for the rest of ur life.

after u unzip the file u gonna have this:

64182741.jpg

go inside the eclipse folder and press eclipse.exe

select the workspace as default, and press OK

70243276.jpg

Ok now you are inside the eclipse. go Help --> Intall new software

72255656.jpg

OK, in the next window u need to press add

 

Name          Eclipse

Location      http://subclipse.tigris.org/update/

 

35805715.jpg

 

K now wait till eclipse show u some names

 

Select both:

 

Subeclipse Pulgin

subversion Book   

 

Press next, eclipse gonna calculate after that press next again, and u will have a screen like this one, just press i accept, and Finish.

65075159.jpg

Now wait till eclipse finish to install all.

Posted

After u restart eclipse

 

Go Window ---> Show view ---> Other

34808857.jpg

 

Go to SVN ---> SVN Repository and press OK

27287990.jpg

 

Now, in the SVN windows rightclick press new ---> Repository location

and will appear a new window, choose ur url

l2jserver

l2jfree, or something

this time ill work in l2jfree, interlude

so url = http://svn.l2jfree.com/svn/l2j-free/archive/IL/

 

add ur url and press OK Finish

26505904.jpg

 

Pressright click and Checkout over ur svn. select a new name and press finish

16788271.jpg

 

Once eclipse finish to process all information go to package explor window

Press +

and go build, Right Click --> Run As --> Ant Build

75792980.jpg

Dont care about some errors.

after build, eclipse will show u a text like this

      [zip] Building zip: C:\Documents and Settings\Giovanni\workspace\L2JFree_DataPack_IL\build\l2jfree_datapack_il.zip

BUILD SUCCESSFUL

Obviously i wont show u how to compile every file. but now u have the idea about how to do it

Posted

3.- Installing Xampp

66409486.jpg

33649561.jpg

 

4.- Once u have xampp installed run it and press over admin, select ur native languaje and  press phpmysdmin

66783222.jpg

62565510.jpg

5.- Press Database, now in this window create ur database

91923668.jpg

6.- Now press over privil, and edit the pass of localhost

width=1024 height=391http://img143.imageshack.us/img143/3993/18530811.jpg[/img]

 

7.- K now we gonna work over the server, Login and gameserver

First

 

create a folder named as u wish in c:\ or d:\ or whatever

 

Take the file u have compiled and unzip that inside the folder.

 

now, u need to install all the data files, so, go tools folder and press rightclick over database_installer and edit

 

change this: set mysqlBinPath=C:\Program Files\MySQL\MySQL Server 5.1\bin

For this  : set mysqlBinPath=C:\xampp\MySQL\bin

 

Here

 

REM LOGINSERVER

set lsuser=root

set lspass=Your password

set lsdb=l2jdb ---------> Ur database name

set lshost=localhost

 

REM GAMESERVER

set gsuser=root

set gspass=Your password

set gsdb=l2jdb ---------> Ur database name

set gshost=localhost

REM ############################################

 

Now close and save changes, and double click over it.

31536147.jpg

press F twice and follow the instructions till finish installing db

 

now go to the login folder, and go inside config

 

Open loginserver.properties, and edit this lines, with your database name and password

 

URL=jdbc:mysql://localhost/l2jdb  ----> here ur data name

#URL=jdbc:hsqldb:hsql://localhost/l2jdb  ----> here ur data name

#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=  ----> here ur data name

Login=root

Password=----> here ur password

Posted

Now go to the gameserver folder, and go inside config folder, open server.properties and edit this lines

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

ExternalHostname=127.0.0.1 ----> Here ur WAN

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

InternalHostname=127.0.0.1 ----> Here ur WAN

 

URL=jdbc:mysql://localhost/l2jdb  ----> here ur data name

#URL=jdbc:hsqldb:hsql://localhost/l2jdb  ----> here ur data name

#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=  ----> here ur data name

Login=root

Password=Your password

 

Close it and save changes.

 

We are almost ready ^_^

 

8.- go login folder double click over register gameserver, select 1, press enter, no a file must appear its named hexid, cut it and paste it inside gameserver\config

75519318.jpg

 

9.- Run Login server

57976443.jpg

 

10.-Run game server

89916169.jpg

 

11.- Edit the l2.ini file and change the adress to connect, your WAN IP

78053905.jpg

 

Log ingame and enjoy ur server XD

74880293.jpg

 

Thats all

 

I hope u like this guide

 

Cya

Posted

i have a problem ...well i install it right...i press that i want mysql service to start and then i press admin...it sends me to the web site of my localhost but is said to me that it cant find the site...what is the problem///????

Posted

i have a problem ...well i install it right...i press that i want mysql service to start and then i press admin...it sends me to the web site of my localhost but is said to me that it cant find the site...what is the problem///????

 

Well, that happen when u change the password, so in order to see again the phpmyadmin, u need to go inside xampp folder then go inside phpmyadmin folder find there the config.inc.php open it and change this

 

$cfg['Servers'][$i]['auth_type']            = 'cookie'; /* Authentication method (config, http or cookie based) */

$cfg['Servers'][$i]['user']                = 'root';

$cfg['Servers'][$i]['password']            = '';  ----> here your password

$cfg['Servers'][$i]['AllowNoPassword']      = true;

 

this way ull be able to open phpmyadmin again

 

Cya dude ^_^

Posted

Rofl are you going to make more guides like this?

http://www.maxcheaters.com/forum/index.php?topic=50068.0

 

It is stickied too.

Anyway nice try.

 

Wtf if u try to talk about my guide just take a look about the other one, cuze this isnt the same one and isnt using the same config, cuze i use xampp to dot this way u can host a web too, in htdoc, and in the guide to talk, isnt a compilation guide added

 

so, isnt the same...

 

Try reading before post

Posted

the guide is fail in the first picture...JAVA EE SDK 7...gz the others..bigger fail when i see xampp i felt out from my chair...Just a failure..

 

 

and dont make a guide in 4-5 post when 1 or 2 is enough...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...