LCKB
[GUIDE]Setting UpThe Server- The Complete Noob Tutorial - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Tutorials & Guides (https://lckb.dev/forum/forumdisplay.php?fid=124)
+----- Forum: Emulation Guides (https://lckb.dev/forum/forumdisplay.php?fid=188)
+----- Thread: [GUIDE]Setting UpThe Server- The Complete Noob Tutorial (/showthread.php?tid=341)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


- DeadlyHitrate - 11-16-2011


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




- G3rmanG4mingTV - 11-16-2011


Doesnt work for me

 

Error:

EntitiesMP.dll the procedure entry point ?_SFunc@@YA?AVCTSpring@@H@Z could not be located in the dynamic link library Engine.dll

 

What can i do?




- araz01 - 11-17-2011

hmmmmmm i found out that the error when opening gameserver or login server is caused by Icep2 you have put wrong name. you need to go to gameserver and login server notepad and change the Icep2 name into icep2 u get this error cause that new xamp changes Icep2 into icep2 Smile




- araz01 - 11-17-2011

if u wanan make account so easy ;D go to localhost/phpmyadmin/icep2/t_users (its found in table at left)/ and click insert put 1 or what ever at top than your name and pass add cash at end press go




- furyfoxx - 11-19-2011

i get this error message when i open the "patched" applictation, with the a blank lc screen "Fatal error: Not enough memory (222 bytes needed)!(DefaultErrorInsuffieientMemoryCallback]"




- titto07 - 11-19-2011

I already used, but as I get the account?




- titto07 - 11-19-2011

hi how i make for create a account... pls 2 dont can




- Fmslick - 11-22-2011


hi how i make for create a account... pls 2 dont can
 

you need to go in the register.php file and edit your MySql info so it is the same as your game-server & login-server

 

/*********Mysql config***********/
$dbuser = "username";
$dbpass = "password";
$dbhost = "localhost";
$dbname = "dbname";




- Fmslick - 11-22-2011


i have 2 errors

 

1 is whit the Client from lastchaos.aeriagames.com , i edit the sl.dat file to my server ip (lan/net) but i still get "cannot connect to login server"

2 i try to use a Client i got from a friend & it works all the way up to login and then i get fail to login.

 

 

ps. if some of you need help on getting the server / MySQL / register.php file & etc to work plz let me know by IM on here or my site 2 & i will try to help you the best i can




- Jackster - 11-22-2011


i have 2 errors  

1 is whit the Client from lastchaos.aeriagames.com , i edit the sl.dat file to my server ip (lan/net) but i still get "cannot connect to login server"

2 i try to use a Client i got from a friend & it works all the way up to login and then i get fail to login.

 

 

ps. if some of you need help on getting the server / MySQL / register.php file & etc to work plz let me know by IM on here or my site 2 & i will try to help you the best i can

 

Everything yu need is on the forum

 

Search for an answer.