11-05-2011, 10:17 AM
Here will be a tutorial in how to set Up the server:
Contents:
1. How to Setup XAMPP
2. Setting The server
3. Setting Up the Client
4. Creating an Account
5. Other Stuff
First download Xampp:
2
How to Setup XAMPP:
1. Download XAMPP installer
2. Double click on the installer
3. Install to C:\xampp
4. Install all the service and start them
5. Once XAMPP is installed you should see a XAMPP control panel, if it doesnt open right after the install process then click on the shortcut on your desktop.
6. Confirm that Apache and MySQL are running.
7. Start your favorite broswer and type 2
Creating a database:
Creating a database using phpMyAdmin
1. 2/phpMyAdmin/
2. Create a New Database
Although it looks a bit muddled, the part to concentrate on is the textbox under the words create new database, as in the next image:
This is where you type a name for your database.
4. Import the Sql Dump(lcep2.sql)
Browse for the file and execute:
Creating a database using Navicat:
1. Download Navicat
2. Open Navicat->Connection->mysql
3. Complete the form
4. Open the connection->(Rightclickon )->new Database
5. Write lcep2->OK
6. open lcep2 database->(right Click on lcep2)->Execute SQL File
7. Select the File->start
Setting The server:
1. Go to your Server Files
2. Open LoginServer.cfg
3. Edit the IP (Put 127.0.0.1, if you want to play by your self) and the Mysql Database user and password(for xampp leave this as it is)
#SERVER
IP=127.0.0.1
PORT=4001
#MYSQL
SQL_HOST=localhost
SQL_DBASE=lcep2
SQL_USER=root
SQL_PASSWORD=
#GAMESERVER
GS_IP=127.0.0.1
GS_PORT=4110
3. Open GameServer.cfg.
4. Edit the IP and MYsql
5. Start LoginServer and GameServer
Setting Up the Client:
1. Download the Client from
2 client is version 1527+ for latest version of the Emulator)
Download This client(ITS LOWER THEN 1525 for v309 or lower of the Emulator):
2
2
2. Update to the last version, using HateMe Laucher
3. Apply this patch:
2 patch is limited to those client versions)
2 has a better database of patches, please follow the instructions, dont press apply patch only when you get to the login screen)
4. Download IP Tool(Ip Changer).
2
or 2
5. Change the IP of the sl.dta:
Example:
test 127.0.0.1 4001
6. Start the Launcher(not the official launcher but HateMe Launcher), and start the client(skip till pace 8).
7. Create a shortcut of Nksp.exe, Open the shortcuts properties(RightClick on Shortcut->Properties) and add 4022 at the end of the Target field
8. Start the client from shortcut and play.
Creating an Account:
1. Using a Registration Page
1. Download this Registration Page
2
2. Extract toC:\xampp\htdocs
3. Edit register.php, complete with the mysql info
4. Start your favorite broswer and type 2/register.php
2. Using phpMyAdmin
1. Start your favorite broswer and type 2/phpMyAdmin/
2. Click on the SQL
3. Write:
INSERT INTO t_users(a_username, a_password, a_enable)
VALUES("UserJohn", "MyPassword",1);
4. Press the button Go
Other Stuff:
CrazyApples tutorial:
Here: [media=youtube]5Ls3buYxLz8[/media]

