Two years ago @Darter posted this thread about a certain integrity check in the client which causes the client to crash within a minute if the server doesn't respond to it. He created a list with all the possible responses and @SuperLol made this algorithm which worked fine... until v.164.
I tried many different offsets but unfortunately nothing worked. I created another list using @Darter's help and using data from the official servers and @SuperLol made this new algorithm, so all credits belong to him.
You may refer to it as "clientAuth".
Enjoy your development!Code:public static int GetIntegrityResponse(int request) { int response; int a = (request >> 5) << 5; response = ((8 - ((request - a) >> 2)) << 2) + (request & 0x3) - 4 + a; return response; }


Reply With Quote![[Fix] [v.164] Integrity Check Algorithm](http://ragezone.com/hyper728.png)


