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!

How to remove the encryption in gunz source or change

Newbie Spellweaver
Joined
Oct 1, 2020
Messages
22
Reaction score
0
Does anyone know how to remove encryption from the source or change it. How to change them or how to make them.
 
Experienced Elementalist
Joined
Oct 14, 2015
Messages
290
Reaction score
83
Does anyone know how to remove encryption from the source or change it. How to change them or how to make them.
Code:
void ConvertChar(char* pData,int _size)
{
	if(!pData) return;

	WORD w;
	BYTE b,bh;

	for(int i=0;i<_size;i++) {
  b = *pData ^ 0xFF;
  w = b<<3;
  bh = (w&0xff00)>>8;
  b = w&0xff;
  *pData = BYTE( b | bh );
  pData++;

	}
}

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

	BYTE b,bh,d;

	for(int i=0;i<_size;i++) {

  b = *pData;
  bh = b&0x07;
  d = (bh<<5)|(b>>3);
  *pData = d ^ 0xff;
  pData++;
	}
}
 
Upvote 0
Back
Top