I'm trying to understand the the Kal clients packets, but i don't get it :'(
Here i will relase what i have got and understand, but there are some thinks
that i don't understand. I hope someone can help me ^^
I think here are some talented programmer, who already made
reverse engineering with kal and can maybe help me ^^
Some explanations:
1) is meaning, that i send something from the client to the server
2) is meaning, that the server send somethin to me (the client)
letters in squared bracket are cryptet with a key, for example:
00 [Hello #0]
is when you crypt it (with Key 2) for example:
00 FB CC AD AD ED 24
(but the first hex isn't decoded!)
* means i get the information about this package and explain it.
?? means i don't know what packet i must send here or what packet i get here...
If someone please can help me with it, it would be realy nice.
{} means the length of the string as char
// means commentaries
So here are my sniffed packets (in hex)
1)
02 04 05 B4 01 01 04 02
2)
02 04 05 B4 01 01 04 02
1)
07 00 A3 ?? ?? 29 29
//don't have a clue what packets here the client wanna send everytime

//i can put in for ?? some other packets for example the follows (but don't work generally):
??=68 30
??=3C F7
??=A8 C0
??=40 D9
??=A7 AB
2)
1B 00 16 ?? ?? ?? ?? ** 78 8E 55 4E 0D 8C 1D C2 34 A9 29 29 7B 29 29 29 2C FA 29
//for example:
?? ?? ?? ?? **=D7 44 9B 2D 24
** = first key to use the decryption:
here it is: 24
encryptet with Key: 1
$
this symbol is the 36 Position in the Ascii Table, so we know now that we must use the crypt table Key 37 next time...
1)
08 00 [#10 #2 ?? ?? #0 #0]
//?? ?? must be something special... don't know ;( here are some example packets i sniffed:
?? ??= 10 3E
?? ??= D3 0A
//Login:
{} 00 [#02 ID 00 PW oo]
//00 == #0
2) //character list (i have only 1 player)
{} #0 [#17 #0 #0 #0 #0 #0]
//get character info:
[#1 *1 *1 #0 #0 *2 *2 #0 *3 *4 #0 #0 #0 #0 *5 *6 *7 *8 *9 *10 *11 #0]
*1 *1= Player id
*2 *2=player name
*3=Class
*4=lvl
*5=str
*6=hp
*7=int
*8=wis
*9=agi
*10=face
*11=hair
//here comes the Equipment
//Equipment count and what equipment is in inventory:
04 00 2A 45
03 00 52
after that the login comes with whole user stats,skills etc.
but also the camera settings...
I don't know it exactly but it isn't so interesting for me right now,
because i wanna understand how the whole login work and how i can copy it (and reproduced it) ^^
Can someone help me what the unknown packages do, please?
it would be nice, thanks in advance
Greets
P.S.: if you have a question about something here that i explained just ask ^^