[Help]SocketConnection 5290+

02/11/2011 19:44 Mr_PoP#16
Quote:
Originally Posted by pro4never View Post
I've posted the packet example in a bunch of different forums...

Recent patches use the new password encryption which requires a password seed. The client does not send any packets until it receives this packet.

It's only 8 bytes (length, type and then a random int pass seed)
Quote:
Originally Posted by Nullable View Post
You can't mix C++/CLI code with native C++ code normally, and to do so you'd have to go through loads of code.
You can't use the current code to send a password seed packet either, you have to construct the packet and encrypt it with the auth crypto then send() it.
Quote:
Originally Posted by -impulse- View Post
Or, since the auth crypto doesn't use a public key and it has just a 255 bytes which it uses to encode/decode buffers, you can simply calc it once, and just make a const buffer that needs to be sent.
thnx guys for ur helping postes i will try and i will tell u the news thnx again
02/11/2011 21:01 Mr_PoP#17
sounds like i cant make it in c++ , C++ coders can you give me some hints!
02/11/2011 21:12 Nullable#18
[Only registered and activated users can see links. Click Here To Register...]
You'll have to call Auth_Setup() before using any AuthProtocolCryptographer object though.
Btw this code assumes usage in a client application, you'll have to switch the encrypt and decrypt functions for a server.
02/11/2011 22:22 Mr_PoP#19
Request close since i fixed the socket prob