11-16-2011, 12:12 AM
hey
Here will be a c tutorial in how to set Up the server:
First download Xampp:
2
2
heu i have done exacly as u did here and i still get the "cannot connect to login server" why plss help
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. Were going to create a simple Address Book, so type that into the textbox:
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->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
2. Update to the last version
3. Apply this patch:
2
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. Create a shortcut of Nksp.exe
7. Open the shortcuts properties(RightClick on Shortcut->Properties) and add 4022 at the end of the Target
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 2
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:
hi there i have done everything as u did in this post and im still getting the error when trying to login "cannot connect to login server"? why is thiss plss help mee
