Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[RELEASE] LastChaos Server Files

Status
Not open for further replies.
Junior Spellweaver
Joined
Aug 5, 2011
Messages
101
Reaction score
16
Re: LastChaos Wind0ws Server files DEVELOPMENT

maybe an german client :)



@some look pm 4 login
 
Banned
Banned
Joined
Apr 29, 2008
Messages
713
Reaction score
264
Re: LastChaos Wind0ws Server files DEVELOPMENT

@ s0m3one and whomever else, I searched my archive database and these are the only LC clients I have, would any interest you for testing?

Also, do we have a close idea of the date of the server files and what region it was compiled for?

AquaLung

.

The server files and database are from Korea (the text printed out on the server files is Korean). They are probably around late 2008, early 2009 server files.

Also could you post download links to every client in your database that starts with LcInstall_xxx.exe Them should be the official Korean clients.
 
Junior Spellweaver
Joined
Aug 5, 2011
Messages
101
Reaction score
16
Re: LastChaos Wind0ws Server files DEVELOPMENT

hm mindsharing...

i think its better to fix this bug on server and not on client, cause we have the same bug vom 07xxx up to the "1st-post-client" if we fix an spezific client we still have the "bug" (yes not even an bug only wrong client) but we change the "bug" in the server we can maybe use rly client so far...

~ilan12346
 
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: LastChaos Wind0ws Server files DEVELOPMENT

Back home :) finally i can start working on this!

But first i have to get my loginserver cracked to allow all regions :p
 
Newbie Spellweaver
Joined
Sep 10, 2007
Messages
32
Reaction score
1
Re: LastChaos Wind0ws Server files DEVELOPMENT

yea winzatek:thumbup1:
 
Newbie Spellweaver
Joined
Aug 16, 2011
Messages
40
Reaction score
11
Re: LastChaos Wind0ws Server files DEVELOPMENT

hey guys i was able to fix it running the file in the bin folder, i even updated the database with that item.sql and also have a few friends playing from their house on my server, it worked great for like 3 hours now every time we log into game mysql crashed instantly for some reason idk why only thing that i changed was levels and added stat points, any idea?
 
Initiate Mage
Joined
Aug 16, 2011
Messages
2
Reaction score
0
Re: LastChaos Wind0ws Server files DEVELOPMENT

it is the password of the server archivre?
please
 
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: LastChaos Wind0ws Server files DEVELOPMENT

Hmm ok, i found something interesting which i wish i didn't found.
So i took the un-encrypted gameserver and sniffed the packet that the server sends to summon another player on the screen.
I compared that packet with the same packet i use in my emulator which uses a recent client.

What i found is that, (only showing the beginning of the packet since thats all that matters for now)

Code:
td.AddByte(0x07);
td.AddByte(0x01);
td.AddByte(0x00);
[COLOR=DarkOrange]td.AddInt32(CharID);[/COLOR]
[COLOR=YellowGreen]td.AddString(CharName);[/COLOR]
td.AddByte(0x00);
[COLOR=Blue]td.AddByte(CharClass);[/COLOR]
[COLOR=Lime]td.AddByte(CharJob);[/COLOR]
[COLOR=YellowGreen]td.AddByte(CharHair);[/COLOR]
[COLOR=Red]td.AddByte(CharFace);[/COLOR]
[COLOR=Indigo]td.AddFloat(LocX);[/COLOR]
[COLOR=Teal]td.AddFloat(LocZ);[/COLOR]
[COLOR=DarkOliveGreen]td.AddFloat(LocH);[/COLOR]
[COLOR=Blue]td.AddFloat(LocR);[/COLOR]
td.AddByte(0x00);
[COLOR=Sienna]td.AddInt32(CurHP);[/COLOR]
[COLOR=DarkOrange]td.AddInt32(MaxHP);[/COLOR]
td.AddByte(0x00);
td.AddByte(Sitting);
[COLOR=Lime]td.AddInt32(GoodEvil);[/COLOR]
td.AddByte(0x00);
td.AddByte(0x00);
[COLOR=Magenta]td.AddInt32(Shirt_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Shirt_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Weapon_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Weapon_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Pants_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Pants_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Shield_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Shield_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Gloves_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Gloves_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Boots_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Boots_Upgrade);[/COLOR]
Take a look at the last part, where it tells what equipment the character to display is wearing.
As u can see there is nothing that defines which helmet a character is wearing. this is because in the old days helmets were never displayed.
Helmets were seen for the first time i think around the release of the 97 armor. (maybe earlyer for costumes but i forgot since its a long time ago)

So i think we are infact searching for to new clients.


For those who want to see for themselves :
Code:
07 01 00 [COLOR=DarkOrange]00 00 00 22[/COLOR] [COLOR=YellowGreen]78 63 76 62 63 78 76 62[/COLOR] 00
[COLOR=Blue]00[/COLOR] [COLOR=Lime]00[/COLOR] [COLOR=YellowGreen]01[/COLOR] [COLOR=Red]01[/COLOR] [COLOR=Indigo]00 c0 89 44[/COLOR] [COLOR=Teal]00 40 6d 44[/COLOR] [COLOR=DarkOliveGreen]00 c0 20 43[/COLOR]
[COLOR=Blue]00 00 00 00[/COLOR] 00 [COLOR=Sienna]00 00 00 b4[/COLOR] [COLOR=DarkOrange]00 00 00 b4[/COLOR] 00 00 [COLOR=Lime]00
00 00 00[/COLOR] 00 00 [COLOR=Magenta]00 00 00 02[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00
0c[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00 03[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]ff ff ff
ff[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00 04[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00
08[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] 00 00 00 00 00 00 00 ff ff ff ff
00 ff ff ff ff ff ff ff ff 00 00 00 00 0a 00 00
00 00 00 00 01 81 00 00 00 79 00 00 00 00 00 11
01 00 00 00 08 1f 01 00 00 00 00 22 01 f4 c6 0d
33
Thats the package


Given that dratan siege is working i think that we should look for a client that has dratan siege and the tomb of theo. (maybe strayana but doesn't have to) And the highest armor obtainable is 85-87. if it has the strayana caves, then its to new.
 
Last edited:
Newbie Spellweaver
Joined
Apr 23, 2011
Messages
84
Reaction score
5
Re: LastChaos Wind0ws Server files DEVELOPMENT

Knows someone a good tutorial (or book) where i can learn how to debugg?
Im a noob in this section...
 
Newbie Spellweaver
Joined
May 2, 2010
Messages
29
Reaction score
1
Re: LastChaos Wind0ws Server files DEVELOPMENT

wizatek what is your progress fix excuse my bad ingles solves this problem if I go to where you live and I kiss jajajaj
 
Banned
Banned
Joined
Apr 29, 2008
Messages
713
Reaction score
264
Re: LastChaos Wind0ws Server files DEVELOPMENT

Hmm ok, i found something interesting which i wish i didn't found.
So i took the un-encrypted gameserver and sniffed the packet that the server sends to summon another player on the screen.
I compared that packet with the same packet i use in my emulator which uses a recent client.

What i found is that, (only showing the beginning of the packet since thats all that matters for now)

Code:
td.AddByte(0x07);
td.AddByte(0x01);
td.AddByte(0x00);
[COLOR=DarkOrange]td.AddInt32(CharID);[/COLOR]
[COLOR=YellowGreen]td.AddString(CharName);[/COLOR]
td.AddByte(0x00);
[COLOR=Blue]td.AddByte(CharClass);[/COLOR]
[COLOR=Lime]td.AddByte(CharJob);[/COLOR]
[COLOR=YellowGreen]td.AddByte(CharHair);[/COLOR]
[COLOR=Red]td.AddByte(CharFace);[/COLOR]
[COLOR=Indigo]td.AddFloat(LocX);[/COLOR]
[COLOR=Teal]td.AddFloat(LocZ);[/COLOR]
[COLOR=DarkOliveGreen]td.AddFloat(LocH);[/COLOR]
[COLOR=Blue]td.AddFloat(LocR);[/COLOR]
td.AddByte(0x00);
[COLOR=Sienna]td.AddInt32(CurHP);[/COLOR]
[COLOR=DarkOrange]td.AddInt32(MaxHP);[/COLOR]
td.AddByte(0x00);
td.AddByte(Sitting);
[COLOR=Lime]td.AddInt32(GoodEvil);[/COLOR]
td.AddByte(0x00);
td.AddByte(0x00);
[COLOR=Magenta]td.AddInt32(Shirt_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Shirt_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Weapon_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Weapon_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Pants_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Pants_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Shield_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Shield_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Gloves_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Gloves_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Boots_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Boots_Upgrade);[/COLOR]
Take a look at the last part, where it tells what equipment the character to display is wearing.
As u can see there is nothing that defines which helmet a character is wearing. this is because in the old days helmets were never displayed.
Helmets were seen for the first time i think around the release of the 97 armor. (maybe earlyer for costumes but i forgot since its a long time ago)

So i think we are infact searching for to new clients.


For those who want to see for themselves :
Code:
07 01 00 [COLOR=DarkOrange]00 00 00 22[/COLOR] [COLOR=YellowGreen]78 63 76 62 63 78 76 62[/COLOR] 00
[COLOR=Blue]00[/COLOR] [COLOR=Lime]00[/COLOR] [COLOR=YellowGreen]01[/COLOR] [COLOR=Red]01[/COLOR] [COLOR=Indigo]00 c0 89 44[/COLOR] [COLOR=Teal]00 40 6d 44[/COLOR] [COLOR=DarkOliveGreen]00 c0 20 43[/COLOR]
[COLOR=Blue]00 00 00 00[/COLOR] 00 [COLOR=Sienna]00 00 00 b4[/COLOR] [COLOR=DarkOrange]00 00 00 b4[/COLOR] 00 00 [COLOR=Lime]00
00 00 00[/COLOR] 00 00 [COLOR=Magenta]00 00 00 02[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00
0c[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00 03[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]ff ff ff
ff[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00 04[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00
08[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] 00 00 00 00 00 00 00 ff ff ff ff
00 ff ff ff ff ff ff ff ff 00 00 00 00 0a 00 00
00 00 00 00 01 81 00 00 00 79 00 00 00 00 00 11
01 00 00 00 08 1f 01 00 00 00 00 22 01 f4 c6 0d
33
Thats the package


Given that dratan siege is working i think that we should look for a client that has dratan siege and the tomb of theo. (maybe strayana but doesn't have to) And the highest armor obtainable is 85-87. if it has the strayana caves, then its to new.

The 2009 client doesn't have helmets. So the client is gotta be around the 2008 era to keep dratan siege.




Probably the closest were going to get out of the USA clients. We still need to check the Korean clients. Them are most important.
 
Junior Spellweaver
Joined
Aug 5, 2011
Messages
101
Reaction score
16
Re: LastChaos Wind0ws Server files DEVELOPMENT

As u can see there is nothing that defines which helmet a character is wearing.

its imposible do change the sending packed by server with helmed information?
sure, server sends instandly "no helmed" but right packedsize, only an dummy :) cause i already think we should make the server campatiple with newer clients and don´t search an much older
if we have an newer cilient update shoult be easy with new content like items, sure its also easy with an older but much easyer with an newer

and update server with items, mobs, skills its pretty easy

~ILAN12346
 
Newbie Spellweaver
Joined
Aug 4, 2011
Messages
42
Reaction score
0
Re: LastChaos Wind0ws Server files DEVELOPMENT

Dear wizatek let's you do not make the emulators, I beg of you), tk the server better, and easier to finish it)

---------- Post added at 06:25 AM ---------- Previous post was at 06:21 AM ----------

its imposible do change the sending packed by server with helmed information?
sure, server sends instandly "no helmed" but right packedsize, only an dummy :) cause i already think we should make the server campatiple with newer clients and don´t search an much older
if we have an newer cilient update shoult be easy with new content like items, sure its also easy with an older but much easyer with an newer

and update server with items, mobs, skills its pretty easy

~ILAN12346

Then do this ilan we believe in you )))))))
:thumbup1::thumbup:
 
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: LastChaos Wind0ws Server files DEVELOPMENT

Dear wizatek let's you do not make the emulators, I beg of you), tk the server better, and easier to finish it)

Sadly i don't have any knowledge in ASM.
If i had then i would be much more actively working on these files.
For now we have to depend on people like GHOST107and s0m3one which are doing awesome work and lets try to support them in any way possible.
 
Banned
Banned
Joined
Apr 29, 2008
Messages
713
Reaction score
264
Re: LastChaos Wind0ws Server files DEVELOPMENT

1)open engine.dll with PEiD
2)start the pluggin KANAL
3)Look at the DES [keyscroll] [char]
4)copy the addrees from the second reference to

5)open engine.dll with olly debugger
6)goto adress of the reference
7)scroll down 2 RETN
8)change the code with this
Code:
104FEBD0  /$  51            PUSH ECX
104FEBD1  |.  8B4C24 08     MOV ECX,DWORD PTR SS:[ESP+8]
104FEBD5  |.  53            PUSH EBX
104FEBD6  |.  55            PUSH EBP
104FEBD7  |.  56            PUSH ESI
104FEBD8  |.  8B01          MOV EAX,DWORD PTR DS:[ECX]
104FEBDA  |.  8B51 04       MOV EDX,DWORD PTR DS:[ECX+4]
104FEBDD  |.  57            PUSH EDI
104FEBDE  |.  C74424 10 080>MOV DWORD PTR SS:[ESP+10],8
104FEBE6  |.  5F            POP EDI
104FEBE7  |.  8B4C24 14     MOV ECX,DWORD PTR SS:[ESP+14]
104FEBEB  |.  5E            POP ESI
104FEBEC  |.  5D            POP EBP
104FEBED  |.  8951 04       MOV DWORD PTR DS:[ECX+4],EDX
104FEBF0  |.  5B            POP EBX
104FEBF1  |.  59            POP ECX
104FEBF2  \.  C3            RETN
link by dsfgw patch


Second Method:
Open Engine.dll with an Hex Editor, search for 518B4C2408 hex values, copy the offset to the paper.

Open Engine.dll with OllyDbg Goto->expression, Calculate the address (10001000-1000+offset), use the code above.

Not working for me...

aqualung - [RELEASE] LastChaos Server Files - RaGEZONE Forums


Lamesauce :blink:
 
Junior Spellweaver
Joined
Oct 27, 2008
Messages
165
Reaction score
89
Re: LastChaos Wind0ws Server files DEVELOPMENT

Not working for me...

aqualung - [RELEASE] LastChaos Server Files - RaGEZONE Forums


Lamesauce :blink:

Why did you attached The debugger to an active process, and searching into ntdll.dll module.

To change back to the Engine.dll module:

RightClick(on Cpu main Window)->view->module Engine.dll
Goto->Expression(or CTRL+G)
-----------------------------------------------
To start it all over:
File->Open->Engine.dll
Goto->Expression(or CTRL+G)
-----------------------------------------------
Thanx i now know where to go Into Engine.dll:
Hmm ok, i found something interesting which i wish i didn't found.
So i took the un-encrypted gameserver and sniffed the packet that the server sends to summon another player on the screen.
I compared that packet with the same packet i use in my emulator which uses a recent client.

What i found is that, (only showing the beginning of the packet since thats all that matters for now)

Code:
td.AddByte(0x07);
td.AddByte(0x01);
td.AddByte(0x00);
[COLOR=DarkOrange]td.AddInt32(CharID);[/COLOR]
[COLOR=YellowGreen]td.AddString(CharName);[/COLOR]
td.AddByte(0x00);
[COLOR=Blue]td.AddByte(CharClass);[/COLOR]
[COLOR=Lime]td.AddByte(CharJob);[/COLOR]
[COLOR=YellowGreen]td.AddByte(CharHair);[/COLOR]
[COLOR=Red]td.AddByte(CharFace);[/COLOR]
[COLOR=Indigo]td.AddFloat(LocX);[/COLOR]
[COLOR=Teal]td.AddFloat(LocZ);[/COLOR]
[COLOR=DarkOliveGreen]td.AddFloat(LocH);[/COLOR]
[COLOR=Blue]td.AddFloat(LocR);[/COLOR]
td.AddByte(0x00);
[COLOR=Sienna]td.AddInt32(CurHP);[/COLOR]
[COLOR=DarkOrange]td.AddInt32(MaxHP);[/COLOR]
td.AddByte(0x00);
td.AddByte(Sitting);
[COLOR=Lime]td.AddInt32(GoodEvil);[/COLOR]
td.AddByte(0x00);
td.AddByte(0x00);
[COLOR=Magenta]td.AddInt32(Shirt_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Shirt_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Weapon_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Weapon_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Pants_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Pants_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Shield_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Shield_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Gloves_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Gloves_Upgrade);[/COLOR]
[COLOR=Magenta]td.AddInt32(Boots_ID);[/COLOR]
[COLOR=SandyBrown]td.AddInt32(Boots_Upgrade);[/COLOR]
Take a look at the last part, where it tells what equipment the character to display is wearing.
As u can see there is nothing that defines which helmet a character is wearing. this is because in the old days helmets were never displayed.
Helmets were seen for the first time i think around the release of the 97 armor. (maybe earlyer for costumes but i forgot since its a long time ago)

So i think we are infact searching for to new clients.


For those who want to see for themselves :
Code:
07 01 00 [COLOR=DarkOrange]00 00 00 22[/COLOR] [COLOR=YellowGreen]78 63 76 62 63 78 76 62[/COLOR] 00
[COLOR=Blue]00[/COLOR] [COLOR=Lime]00[/COLOR] [COLOR=YellowGreen]01[/COLOR] [COLOR=Red]01[/COLOR] [COLOR=Indigo]00 c0 89 44[/COLOR] [COLOR=Teal]00 40 6d 44[/COLOR] [COLOR=DarkOliveGreen]00 c0 20 43[/COLOR]
[COLOR=Blue]00 00 00 00[/COLOR] 00 [COLOR=Sienna]00 00 00 b4[/COLOR] [COLOR=DarkOrange]00 00 00 b4[/COLOR] 00 00 [COLOR=Lime]00
00 00 00[/COLOR] 00 00 [COLOR=Magenta]00 00 00 02[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00
0c[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00 03[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]ff ff ff
ff[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00 04[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] [COLOR=Magenta]00 00 00
08[/COLOR] [COLOR=SandyBrown]00 00 00 00[/COLOR] 00 00 00 00 00 00 00 ff ff ff ff
00 ff ff ff ff ff ff ff ff 00 00 00 00 0a 00 00
00 00 00 00 01 81 00 00 00 79 00 00 00 00 00 11
01 00 00 00 08 1f 01 00 00 00 00 22 01 f4 c6 0d
33
Thats the package


Given that dratan siege is working i think that we should look for a client that has dratan siege and the tomb of theo. (maybe strayana but doesn't have to) And the highest armor obtainable is 85-87. if it has the strayana caves, then its to new.
 
Banned
Banned
Joined
Apr 29, 2008
Messages
713
Reaction score
264
Re: LastChaos Wind0ws Server files DEVELOPMENT

Why did you attached The debugger to an active process, and searching into ntdll.dll module.

To change back to the Engine.dll module:

RightClick(on Cpu main Window)->view->module Engine.dll
Goto->Expression(or CTRL+G)
-----------------------------------------------
To start it all over:
File->Open->Engine.dll
Goto->Expression(or CTRL+G)
-----------------------------------------------
Thanx i now know where to go Into Engine.dll:

Module doesn't exist... Maybe its from running under WoW64? Running 32bit debugger on 64bit OS :mellow:

Edit: Yes you cant debug crap with olly under a 64bit OS <_<
 
Last edited:
Status
Not open for further replies.
Back
Top