• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Need explanation about the communication

Helveg

No Lifers Can't Die
Joined
Jul 23, 2009
Messages
3
Reaction score
0
I really couldn't find a proper title, sorry for that.

I was wondering if there's anybody here with some knowledge about the communication between server and client.

I have my own 'otserv' (Just some almost empty files for now) which can asynchronously accept TCP connection. It can read data sent by the Tibia client .. but then.

When I login with some random numbers I get about 128 bytes. I've only noticed that the first 2 bytes are 149 and 0. That's it.
I've been looking for more info and I've figured out that the Tibia client sends an RSA key, but when?

My main question is:
Could somebody sketch what the Tibia client sends when you login?
Like this:
version (2 byte)|RSA key (64 bytes)| RSA encrypted account name (32 bytes) | ...

Somebody has to know :) (And if you don't, please guide me!)
 
Back
Top