Jump to content

[GUIDE]How to set up your l2j server From 0 + Images


Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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///????

Link to comment
Share on other sites

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 ^_^

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Rofl are you going to make more guides like this?

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

i even see guide with compile and how to setup server together !

so is good....

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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.



  • Posts

    • So excited to announce 3x Telegram Premium (6 months)   Join our official TG and participate to win!   Asocks.com - trusted proxy service providing mobile and residential proxies with a single price of $3 per 1GB   A huge locations pool and high speed will help complete all tasks    
    • Well, sorry not sorry for resurrecting old topic, but I believe it's ultimately stupid to implement license checks like Vilmis did 🙂   private static String url = "jdbc:mysql://185.80.128.233/" + getData("Zm9ydW1fZGI="); private static String username = getData("bXJjb3B5cmlnaHQ="); private static String password = getData("Y29weXJpZ2h0XzEyMw=="); con = GlobalDB.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT field_6 from core_pfields_content WHERE member_id = ?"); statement.setInt(1, Config.FORUM_USER_ID); ResultSet rset = statement.executeQuery();   This awesome way of coding things leaves us with base64-encoded credentials and DB exposed and accessible globally 😉 Btw he checks his licensing data from some plugin generated table his forum uses. Vilmis took action and ensured that mrcopyright user would have only needed accesses and rights for this operation. But he forgot to ensure that his INFORMATION_SCHEMA database would not be exposed and readable... That leads us to fully readable server variables like version used (10.1.26-MariaDB-0+deb9u1 - pretty ancient DB and OS, I'd assume). From here you can go south and do some kinky stuff, if you want and have knowledge for that. But who cares, right?   Ooh, table core_pfields_content field_6 is IP address which is checked by FORUM_USER_ID. Yep, you can query all IP addresses there (124 of them right now) and also do whatever you want with them! 🙂  The most fun part? Files source has been shared what, more than 2 years ago?  Vilmis still uses very same credentials and never changed it after sources exposure - who cares. Although, "sources" may be way too strong word here. If anyone still use paid Orion versions, I'd suggest packing your shit and leaving immediately, or at least fix this incompetent fool caused problems. It's obvious Vilmis don't care or maybe doesn't even know from the first place how to solve this problem (hint hint - tiny PHP Rest API microservice which would do absolutely the same but without exposing sensitive data?). By doing that, he exposes his infrastructure and YOUR data, and he does that for more than 2 years now 🙂 Developer of century!    
    • rename the l2.bin into l2.exe
    • L2LIVE.PRO- Dynamic Mid-rates Essence Seven Signs GRAND OPENING - July 5, 20:00 GMT+3 (EEST) TEST SERVER IS OPEN - COME AND CHECK IT OUT TODAY! Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu   Server description * EXP/SP: Dynamic (x1- x100 based on your level, *before* Sayha and EXP buffs * Adena: x50 / Item Drop: x10 / Fishing EXP increased / Attribute EXP increased * Simplified gameplay to stay in the loop while not spending hours and hours farming * Starter Pack containing very useful items for beginners * MP replenishing potions with auto-consumption * No overpowered donations L2LIVE shop * All spellbook coupons, pet spellbook coupons and master books are sold via Game Assistant * Additionally you can buy SP pouches, enchanted talismans, pet training guides and various other consumables for Adena and L-Coin * More items such as cloaks, more talismans, agathions, belts, pendants, enchantment scrolls of various grades, evolution stones, etc will be added! Shop server as a shortcut, and all retail-like ways of earning items are still here! L-Coins * Drops with small change and in random amounts from Lv60+ monsters  * All raidbosses drop random amount of L-Coin Pouches generating up to 420 Lcoin per unit. **Grand Olympiad and Events** * Grand Olympiad is held week day * Format is 1v1, unlimited weekly fights  * Heroes are declared weekly at Sunday * There are three automated events - TvT, CTF and Deathmatch, running at evenings * Orc Fortress, Battle with Balok, Keber Hunter, Archievements Box, Daily Gift Calendar provisional events are active too Custom user commands * .offlineplay command, your character will keep playing till death or server restart * .offlineshop command, keeps your shop sitting until all items are purchased * .apon / .apoff - enable/disable HP/MP autoconsume And lots of other small improvements are waiting for you!   Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu
  • Topics

×
×
  • Create New...