Fastest method to generate key3, key4 (standerd conquer encryption)
Discussion on Fastest method to generate key3, key4 (standerd conquer encryption) within the CO2 Guides & Templates forum part of the Conquer Online 2 category.
Fastest method to generate key3, key4 (standerd conquer encryption)
Because I'll probably never need this again, I might as well demonstrate how exactly to generate key3 and key4 faster than coemu's gay slow method.
You'll actually have to have some knowledge of coding to be able to convert this to C# to use in your source (because most sources are in C#... I wonder why...).
Note to disclaimer: This probably isn't the "fastest" method, but it's the fastest method I've developed.
Code:
#define sqr(x) x * x
#define ptr(t, i, v) (((t*)v) + i)
void SetKeys(DWORD* inKey1, DWORD* inKey2)
{
DWORD dwKey1 = ((*inKey1 + *inKey2) ^ 0x4321) ^ *inKey1;
DWORD dwKey2 = sqr(*inKey1);
Key3 = new unsigned char[256];
Key4 = new unsigned char[256];
for (unsigned char i = 0; i < 64; i++)
{
*ptr(DWORD, i, Key3) = dwKey1 ^ *ptr(DWORD, i, Key1);
*ptr(DWORD, i, Key4) = dwKey2 ^ *ptr(DWORD, i, Key2);
}
}
Fastest Leveling Method? 01/06/2010 - Dekaron - 11 Replies Hey guys, was just wondering what yalls leveling method was, ive been reading around in the forums, and i hear of insane leveling, ex. 100+ levels in 3 days.. wtf?
Conquer Password Encryption? 12/25/2007 - Conquer Online 2 - 4 Replies Me and my bro are currently making a private server and we need help with the password encryption. Any help would be greatly appreciated. :D
Conquer encryption keys someone? 11/20/2007 - Conquer Online 2 - 9 Replies Hey,
Does someone have the conquer packet encryption keys for me? the new ones? I need them hard ;)
Thanks.