From 80ef0fb8ab9f4798ac554bd8892532be11dca205 Mon Sep 17 00:00:00 2001 From: Chitpixel <53339895+Chitpixel@users.noreply.github.com> Date: Sat, 4 Jul 2020 13:35:14 +0800 Subject: [PATCH 1/2] 1.16.0 support --- plugin.yml | 2 +- src/specter/network/SpecterInterface.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.yml b/plugin.yml index 6705300..158a1d7 100644 --- a/plugin.yml +++ b/plugin.yml @@ -3,7 +3,7 @@ version: "0.9" author: Falkirks main: specter\Specter api: ["3.11"] -mcpe-protocol: [390] +mcpe-protocol: [390, 407] softdepend: ["iControlU"] commands: specter: diff --git a/src/specter/network/SpecterInterface.php b/src/specter/network/SpecterInterface.php index a19c36f..24628c6 100644 --- a/src/specter/network/SpecterInterface.php +++ b/src/specter/network/SpecterInterface.php @@ -211,6 +211,7 @@ public function decodeAdditional() $pk->clientId = 1; $pk->xuid = "xuid here"; $pk->identityPublicKey = "key here"; + $pk->clientData["SkinResourcePatch"] = base64_encode('{"geometry": {"default": "geometry.humanoid.custom"}}'); $pk->clientData["SkinId"] = "Specter"; try { $pk->clientData["SkinData"] = base64_encode(str_repeat(random_bytes(3) . "\xff", 2048)); From 8bd6dded629cba0105d4b40fa5864a1b7a5c1627 Mon Sep 17 00:00:00 2001 From: Chitpixel <53339895+Chitpixel@users.noreply.github.com> Date: Sun, 5 Jul 2020 11:45:42 +0800 Subject: [PATCH 2/2] Bumped API & protocol version --- plugin.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.yml b/plugin.yml index 158a1d7..2d8f3bd 100644 --- a/plugin.yml +++ b/plugin.yml @@ -2,8 +2,8 @@ name: Specter version: "0.9" author: Falkirks main: specter\Specter -api: ["3.11"] -mcpe-protocol: [390, 407] +api: ["3.14"] +mcpe-protocol: [407] softdepend: ["iControlU"] commands: specter: