Page 1 of 1

Need help understanding protocol

Posted: 2009-04-22 00:51:14
by bill01
Hi,

I'm developing a client similar to Stealth. It is actually working very sweet with RunUO(no encryption).
Some users have requested me to enable encryption in order to work with some servers. I am having a hard time trying to understand the encryption steps. I'm using client 2.0.0 layout to perform decryption/encryption (LoginCrypt + Blowfish).

Here's what I got:

client -> server (0x80) :
- LoginCrypt works Okay here. I can decrypt/encrypt data.

server -> client (0xA8) : No crypt
- just plain bytes.

client -> server (0xA0) : Some sort of encryption.
- Here's where I am stuck. I tried to perform logincrypt and/or blowfish but none of them yields encryption that servers expects to. As a result I receive an unknown packet from sphereserver.

Could someone explain me how the login process + encryption works in a nutshell?

Thanks,
Bill