Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Help] Gunz Mrs Encrypt Code

Newbie Spellweaver
Joined
Dec 26, 2014
Messages
63
Reaction score
4
Can any one send me the codes of mzip.cpp
5 encrypt code for gunz

which we put in gunz source example

5
255
245
244
156

156
244
245
255
5

please share,
 
Newbie Spellweaver
Joined
May 3, 2014
Messages
46
Reaction score
30
void ConvertChar(char* pData, int _size)
{
if (!pData) return;

for (int i = 0; i < _size; i++)
{
unsigned char b = pData;
_asm
{
mov al, b
add al, 1
xor al, 2
sub al, 3
xor al, 4
rol al, 5
mov b, al
}
pData = b;
}
}




void RecoveryChar(char* pData, int _size)
{
if (!pData) return;

for (int i = 0; i < _size; i++)
{
unsigned char b = pData;
_asm
{
mov al, b
ror al, 5
xor al, 4
add al, 3
xor al, 2
sub al, 1
mov b, al
}
pData = b;
}
}
 
Upvote 0
Back
Top