LCKB
[Guide]How to use the official launcher - 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: Ep1 Guides (https://lckb.dev/forum/forumdisplay.php?fid=178)
+----- Thread: [Guide]How to use the official launcher (/showthread.php?tid=600)

Pages: 1 2 3 4 5 6 7 8


- someone - 01-14-2012


I know there are many Launchers released there. This guide is the same as the guides from Episode 2 section Guides.

 

Requirements:

- A WebServer(Apache you have it in Xampp package, IIS, nginx, lighttpd, Sun Java System Web Server)

- IP tool.

 

Setting Up:

If you want to create files do this before:WinXP:

Windows Explorer->Tools->Folder Options->View->(UnCheck)Hide Extensions for known file types

Win7:

Windows Explorer->Organize->Folder Options->View->(UnCheck)Hide Extensions for known file types

 

Or create the files with notepad:

Open Notepad->Write What you have to write in->File->Save as->(Write the name of the File in quotes)

 

Go to your htdocs or www(depending on what your WebServer is set). Create a folder called Launcher, inside the launcher folder create 3 files, and a folder:

notice.htm
update.htm
ip.txt
patches

With the IP Tool, edit the lccnt.dta file to the launcher folder:

lccnt.dta

http://localhost/launcher/

The format of the ip.txt:

1
http://localhost/launcher/patches/

If you have a public domain or a IP, instead of localhost you will put your public domain or IP. The ip.txt points to the folder where the file version.txt is.

 

For notice.htm and update.htm, this guide will help(takes half a day to learn it):

2

2

 

Updating the Client:

In the folder patches, create a file called version.txt, Write the client version in there.

version.txt:

1279

To add patches:

Create a Zip file with the name of the version, For example if you have 1285 into version.txt, and 1279 in the vtm.brn, the value in the vtm.brn will increment by 1, each time it downloads a patch, till it reaches the value in the version.txt(first will look for 1280.zip, then 1281.zip, 1282.zip, 1283.zip, 1284.zip,and lastly 1285.zip)

 

The Directory Structure in the ZIP file:

For example if you want to modify skills in your client, which is located in LC/Data/skills_usa.lod, In the zip file the will look Data/skills_usa.lod.

Example:

1580.zip

Data/skills_usa.lod
Data/World/StartZone/StartZone.wld
Bin/Engine.dll
sl.dta

 

Making the Homepage Button to go to your site:

1)Download HexEditor.

2)Open LC.exe with the hex editor.

3)Press CTRL+F and search for "2" (with out quotes, or watever site it brings you)

4)It will bring you to 2, change(do not press delete just overwrite) it from 2 to 2

5)add 00 00 at the end of the string and save

6)Done

 

Video:

 

Editing the new Launcher

This launcher you can be found at:

2

Before you start make a backup copy(of LC.exe)

 

The easy way(limited to the string size):

1)Download HexEditor.

2)Open LC.exe with the hex editor.

3)Press CTRL+F and search for "lastchaos.aeriagames.com/lcgame/new_notice" (with out quotes, or watever site it brings you)

4)it will bring you to 2, change(do not press delete just overwrite) it from 2 to 2

5)add 00 at the end of the string(in the right side of the panel) and save

6)Done

The Launcher will read the Index page of the 2 (or the contents of the folder)

 

 

The complex way(not limited):

1)Download W32Dasm

2)Downlod OllyDbg

4)Open LC.exe in W32Dasm, and search for String Refeerece("lastchaos.aeriagames.com/lcgame")

5)Write down the address(lets call it address A)

6)Open OllyDbg, and go to the end and (RightClick->Binary->edit), and write "2"(without quotes)->ok

7)Write down the address of the offset of the string(lets call it address .

8)RightClick->Goto->Expression->(write address A)

9)Modify(push xxxxxx to push address

10)RightClick->Copy to Executabile all modifications->RightClick->Save as->new name

11)Done

Tools:

-A version editor(edits the vtm.brn file)

2

-A tool that checks if you configured correctly

2




- Koko - 01-14-2012

One more great guide from you, thanks Smile




- lol102 - 01-14-2012

Its great Wink




- Gothic - 01-14-2012


Very good you were faster than me: D

 

I later wanted to make a guide. Back with a changed vtm.brn laws.

But good workSmile

 

 

2 This is batter for player he youse Hamachi and Xampp for the Launcher Smile




- TheEvilAnt - 01-14-2012

I think most of people know how to use also use this after this guide it is in the ep2 section but well thank for the guide for people that unknown




- Paramount - 01-14-2012

good work Smile




- LikeToMove - 01-17-2012

Great tutorial, but updates dont work (i use EP1 1279)




- Infinity - 01-17-2012


[Resolved]

 

Hello,

 

The launcher works with localhost.

If I change the settings:

 

ip.txt

 

 

Change in iccnct.dta Tool by(wizatek Credits.)

 

 

 

I open the launcher load extremely fast and immediately closes without being able to give start or anything.

 

Any ideas?

 

Thanks,




- LikeToMove - 01-17-2012

Infinity your launcher works? And youre able to get new updates?




- Infinity - 01-17-2012


Infinity your launcher works? And youre able to get new updates?
 

Yes.