Im attaching the source to the server, now it encrypts fine, it decrypts the client before it gets to the game-server stage, but as soon as its time to use the 3/4th keys it stops decrypting properlly, i have it so that, if no counters have been used yet (for that index), ie nothing has been sent to the gameserver yet other then this packet, it creates the 3rd and 4th keys, it APPEARS to do this correctly (Somone nice may check this for me, even if they don't know vb6, a binary is included (requires Winsock) as it creates the keys in two folders called Key3, and Key4 under files that are the username you where using) but as soon as you have created the keys, when it starts using them, it doesn't decode properlly.
From start to finish heres what you can do to it:
Try logging in without a account created, and it will make an account with the username/password you used, then you can login again and it'll accept it.
The account server works and forwards you to the game server, (creating a the 8 hex key) the game server takes the key from the 'English' Packet, and Finds the relevant username, and adds it to a text box, you are then sent the new role packet, and taken to the 'create a new character' screen, after this if you try and create a character, what SHOULD happen is a message box with the newly decrypted packet, (on the server) which should have info about the character wanting to be created, however, it just shows a lot of nonsense.
If anyone could tell me where i've gone wrong, i'd much appreate it..






