View Full Version : Lineage 2 client-server protocol
Sephiroth
18.01.2006, 09:19
I need this for hexing server.
err... yeah..erm...sure... :?
Can you....explain...? :?
Sephiroth
18.01.2006, 12:58
I need all server packets between client and server.
toolpunk
18.01.2006, 13:23
take a look at the l2j source code then...
you should find a lot of useful info there, that you might need ;)
Sephiroth =) why do u need them? Care about yourself, 'cause using wpe you can harm ur char and ur account ;) Packets are synchronisating with the server. But there are servs without packet sync, i mean client sends packets and server receives them without any questions. Such servers might have problems, 'cause you can use all prevelegies of the GMs... Don't use it, most of the servers have an autoban, when you use this...
Himmel, As far as I understand Game server have a dynamic encryption key for a game server and it is no way you can send packets without sync (what means this sync?). Okay, you will send but you should predict dynamic key (8 bytes, 4 bytes can change). I belive it is too hard. In case you will send packet encrypted with wrong key server rejects it so I do not belive that it is possible to get GM access with just sending action packets.
Wishmaster
18.01.2006, 18:02
Sephiroth said: ...for hexing server.
I thing that he want to make alt+m func.
Why do nor you want to help him?
However. If i know how. i will say him
Actually L2J code is very easy to read. I do not have Java experience but can read it easy. But just typing full protocol descriprion will take days. In any case, Sephiroth, PM me? I'll try to help. Wishmaster, could it be one more bot developer? I got my exp on server developing one :)
dragon666
19.01.2006, 08:35
actually lineage has a quite strange protocol(if it can be called a real protocol).
The first several packets are sent unencripped(including the username password packet. Yea corect, if you can snoop the first packet a user sends then you get his username and passwrd. If you weally WEALLY want you can try decoding the password, but it's not necessary because you can simply subctitute the packet on the fly when logging in and voilla! you log in his account without even knowing his name or password.
Anyway that's not the point:
1.packet size 0xFFFF(amm beter check any L2J packet, it was way long ago when I wrote some of that stuff)
2.packet ID 0xFF
2.packet data
it was long ago when I dealt with L2J source, and L2 packet snooping, so my info might be slightly incorrect.
What I do remember is that most of the data is sent by 0xFFFF variables, mostly numbers and(what is most interesting) a lot of text in a string format.
Snooping packets is easy, decoding them is easy too.
Analising and rebuilding however is a bit more different, but you can make it ];)
Rikimaru
20.01.2006, 11:12
Stuff has changed alot when you last messed with L2J xD
i didn't know PP is a forum for cheaters or bot makers
Megatronpt
01.02.2006, 10:21
i didn't know PP is a forum for cheaters or bot makers
In here I bet we can find almost anything.. not only those lames. ;)
//Off Topic