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!)
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!)