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


- someone - 01-24-2012


[ATTACH=CONFIG]813[/ATTACH] 

What i must do ?

What is the problem ?

 

You must delete the previous lcep2 database tables.




- Rayqoudon - 02-07-2012


Hello ,

I just created a Server with EP2 and edited the sl.dta to my HAMACHI IP .

The Login Server and the Game Server.cfg are edited to the HAMACHI IP too.

The Login Server Port is 4001 and the sl.dta Port is 4001 too.

If i want to join I have to go to Login Screen and run the patcher.Im able to log in and the Patcher doesnt show any Problems.

But If a friend wants to join , the patcher doesnt work for him. I gave him the same client as mine with all the settings in the sl.dta and so on.

On his patcher it sais that he has the wrong version or that the files are patched already. And if he tries to log in , the error with "Connection to Login Server failed" comes up. Hes in my Hamachi Network and the Tunngle hasnt got any Problems. I dont know how to let him connect.

 

Anyone can help me please ?

 

thx,

Rayqoudon




- someone - 02-07-2012

I think your friend he updated the client to another version. He must run the parcher with the administrative rights.




- bnortan - 02-09-2012


Ok, i have the loginserver and game server all up and running got the new user program made a new account but i keep getting invalid account or password when i look on the login server screen i see [9-2-2012 16:18:46] [iNFO] Failed Login Attempt USER= i have reading these fourms for 3 days now looking for something i have i think 5-6 different clients the launchers the patches this and that and nothing has helped yet doese ANY one have any advice???

 

Side note all im doing is setting it up on one of my computers and dont want others to play just me and yes i have all ips correct 127.0.0.1 i have everything pointed to localhost that needs to be pointed

 

Thanks in advanced if anyone can help

 

update i also set up hamanchi used that ip

also use my machine ip

even did port forwarding and did the port ranges still nothing




- redbull4665 - 02-15-2012


Here will be a c 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. 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->(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+)

Download This client(ITS LOWER THEN 1525):

2

2

2. Update to the last version(Update till version 1525)

 

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:

 

 

hello super moderator / someone ..

 

ill have liltle problem with creating ... what wrong with this , ill screen shot to give you see what my problem ... see this [ATTACH=CONFIG]888[/ATTACH]

ill hope you can help me fix this problem for me ..

 

sincerely

ahmad




- halohalo - 02-16-2012


[ATTACH=CONFIG]898[/ATTACH][ATTACH=CONFIG]899[/ATTACH]

Hi guys, 1 problem, when im setting the server, as it says there, i open gameserver and loginserver, but it says, (see screenshots ontop) so what i done wrong or what i have to do?

i have lc usa, hamachi, xampp, navicat, emu v0310, admin tool, patcher, launcher, and all, please i need some help Smile Thank You for your attention




- kimmer01 - 03-10-2012



6. Confirm that Apache and MySQL are running.

7. Start your favorite broswer and type 2

 

I confirm that Apache, I push start but it not run. why ??

 

sry my engilsh is bad




- lukacampos - 03-10-2012

so who can help me? when i log in into nkps.exe say timed out




- someone - 03-10-2012

Did you put an the right IP and port on sl.dta to point to your LoginServer




- kimmer01 - 03-11-2012


HELP ME 2 Question

[ATTACH=CONFIG]970[/ATTACH][ATTACH=CONFIG]971[/ATTACH]