galdaxxx Posted October 1, 2009 Posted October 1, 2009 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 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: go inside the eclipse folder and press eclipse.exe select the workspace as default, and press OK Ok now you are inside the eclipse. go Help --> Intall new software OK, in the next window u need to press add Name Eclipse Location http://subclipse.tigris.org/update/ 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. Now wait till eclipse finish to install all. Quote
galdaxxx Posted October 1, 2009 Author Posted October 1, 2009 After u restart eclipse Go Window ---> Show view ---> Other Go to SVN ---> SVN Repository and press OK 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 Pressright click and Checkout over ur svn. select a new name and press finish Once eclipse finish to process all information go to package explor window Press + and go build, Right Click --> Run As --> Ant Build 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 Quote
galdaxxx Posted October 1, 2009 Author Posted October 1, 2009 3.- Installing Xampp 4.- Once u have xampp installed run it and press over admin, select ur native languaje and press phpmysdmin 5.- Press Database, now in this window create ur database 6.- Now press over privil, and edit the pass of localhost http://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. 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 Quote
galdaxxx Posted October 1, 2009 Author Posted October 1, 2009 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 9.- Run Login server 10.-Run game server 11.- Edit the l2.ini file and change the adress to connect, your WAN IP Log ingame and enjoy ur server XD Thats all I hope u like this guide Cya Quote
toulipa Posted October 2, 2009 Posted October 2, 2009 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///???? Quote
galdaxxx Posted October 2, 2009 Author Posted October 2, 2009 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 ^_^ Quote
toulipa Posted October 3, 2009 Posted October 3, 2009 i search it and it hasnt any problem there...it didnt have any code...i put one by myself but i still have the same problem... Quote
galdaxxx Posted October 3, 2009 Author Posted October 3, 2009 Maybe if u post a pic of ur xampp control panel and other of the error that is giving u, i could solve ur problem faster regards Quote
Coyote™ Posted October 4, 2009 Posted October 4, 2009 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. Quote
Apithanos Posted October 4, 2009 Posted October 4, 2009 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.... Quote
galdaxxx Posted October 4, 2009 Author Posted October 4, 2009 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 Quote
Intrepid Posted October 5, 2009 Posted October 5, 2009 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... Quote
galdaxxx Posted October 5, 2009 Author Posted October 5, 2009 Maybe i did it ain more than 1 or 2 post cuze this is a guide for newbies. And what about xampp???......... this is a good webserver any way Quote
Recommended Posts
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.