HELP WITH ITEM SHOP CODING AUTO LOGIN

03/21/2018 21:11 HiddenAfter#1
HI im looking for help about item shop i need a way to open the item shop and login directly without typing name & password after a little bit search i found out there is a function that decode the id that the game send to the url
$_Get['id']
just i need the function that decode the id and thx
03/21/2018 22:18 0xbl00d3y#2
From the leaked ME cashshop, here's the decode function:

Code:
function Decode($encodeId)
	{
		$seed;
		$avatar_id;
		$account_id;
		$password;
		$checksum;

		if (strlen($encodeId) != 40)
		{

		}

		$seed = hexdec(substr($encodeId,0,8));
		$avatar_id = hexdec(substr($encodeId,8,8));
		$account_id = hexdec(substr($encodeId,16,8));
		$password = hexdec(substr($encodeId,24,8));
		$checksum = hexdec(substr($encodeId,32,8));
		$avatar_id ^= 0xD8FB51A9;
		$account_id ^= 0x9DC720AC;
		$password ^= 0x31F42CB7;
		$checksum ^= 0x7F9B3D2E;

		$checksum ^= $password;
		$password ^= $account_id;
		$account_id ^= $avatar_id;
		$avatar_id ^= $seed;

		if ($checksum != $avatar_id + $account_id + $password)
		{

		}
		$this->passWord = $avatar_id;
		$this->avatarId = $account_id;
		$this->accountId = $password;
	}
03/22/2018 11:43 thefear511#3
Quote:
Originally Posted by 0xbl00d3y View Post
From the leaked ME cashshop, here's the decode function:

Code:
function Decode($encodeId)
	{
		$seed;
		$avatar_id;
		$account_id;
		$password;
		$checksum;

		if (strlen($encodeId) != 40)
		{

		}

		$seed = hexdec(substr($encodeId,0,8));
		$avatar_id = hexdec(substr($encodeId,8,8));
		$account_id = hexdec(substr($encodeId,16,8));
		$password = hexdec(substr($encodeId,24,8));
		$checksum = hexdec(substr($encodeId,32,8));
		$avatar_id ^= 0xD8FB51A9;
		$account_id ^= 0x9DC720AC;
		$password ^= 0x31F42CB7;
		$checksum ^= 0x7F9B3D2E;

		$checksum ^= $password;
		$password ^= $account_id;
		$account_id ^= $avatar_id;
		$avatar_id ^= $seed;

		if ($checksum != $avatar_id + $account_id + $password)
		{

		}
		$this->passWord = $avatar_id;
		$this->avatarId = $account_id;
		$this->accountId = $password;
	}
hey do you have the full files?
03/22/2018 11:49 ThunderNikk#4
The Cash shop was released with the 7.4 file release
03/22/2018 20:51 Ghost Informatics#5
I'll release full easy to use shop this week i hope :)