Hello,
I am trying to make some kind of gateway server for silkroad. It's not exactly a gateway server, a part of it. It will work until 0xA101 (Serverlist packet.)
I know the structure of gateway packets. But thanks to drew, i've never been busy with handshake (0x5000) packet. But now i have to find out how its made. I know the structure (thanks to lesderid, see: [Only registered and activated users can see links. Click Here To Register...]). But i do not know what i should write for following:
I tried a static value, (capturing as normal GatewayServer does and send it) but the client falls. On every connection the blowfish is different. I wanna know how its built.
And something strange, I checked some open-source emulator codes. None of them ever cared of handshake! How they supposed to work, i did not understand :)
Thanks! :)
I am trying to make some kind of gateway server for silkroad. It's not exactly a gateway server, a part of it. It will work until 0xA101 (Serverlist packet.)
I know the structure of gateway packets. But thanks to drew, i've never been busy with handshake (0x5000) packet. But now i have to find out how its made. I know the structure (thanks to lesderid, see: [Only registered and activated users can see links. Click Here To Register...]). But i do not know what i should write for following:
Code:
[BYTE][8] Initial Blowfish Key [DWORD] Security Count Seed [DWORD] Security CRC Seed [DWORD] Additional Seed (1) [DWORD] Additional Seed (2) [DWORD] Additional Seed (3) [DWORD] Additional Seed (4) [DWORD] Additional Seed (5) [BYTE][8] New Blowfish Key Base
And something strange, I checked some open-source emulator codes. None of them ever cared of handshake! How they supposed to work, i did not understand :)
Thanks! :)