From 0185bfd845137ebafe6cb16013ad77d1c3b5ca73 Mon Sep 17 00:00:00 2001 From: g0aty Date: Sat, 13 Apr 2024 23:04:51 +0530 Subject: [PATCH] Add back kick exploit --- FEATURES.md | 30 +++++++++++++++++++++++++----- README.md | 2 +- gui/tabs/players_tab.cpp | 13 ++++++++++++- rpc/RpcMurderPlayer.cpp | 23 +++++++++++++---------- rpc/_rpc.h | 3 ++- 5 files changed, 53 insertions(+), 18 deletions(-) diff --git a/FEATURES.md b/FEATURES.md index a3cd2f7..1fae1cb 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -6,7 +6,7 @@ - **Show Keybinds** Allows you to see and modify keybinds (Default: ON) - **Allow Keybinds while Chatting** Allows you to use keybinds while chatting (Default: OFF) - **Always Show Menu on Startup** Shows the menu on startup (Default: ON) -- **Panic** Disables the mod at will (Default: OFF, Hotkey: PAUSE BREAK) +- **Panic** Disables the mod at will (Default: OFF) - **Adjust by DPI** Allows you to change scaling of the menu (Default: ON) - **Menu Scale** Change the size of the menu (Default: 100%) - **Menu Theme Color**: Change the accent color of the menu (Default: #801341) @@ -28,7 +28,24 @@ - **Spoof Level** Spoofs your level in game (Default: OFF) - **Spoof Friend Code** *(Note: This only works as host due to Innersloth patches)* Spoofs your friend code (Default: OFF) - **Spoof Platform** Spoofs your platform to whatever you choose (Default: OFF) - +### Keybinds +- **Show/Hide Menu** (Default: DELETE) +- **Show/Hide Console** (Default: HOME) +- **Show/Hide Radar** (Default: Insert) +- **Show/Hide Replay** (Default: End) +- **Panic (Disable SickoMenu)** (Default: PAUSE BREAK) +- **Enable/Disable HUD** (Default: None) +- **Enable/Disable HUD** (Default: None) +- **Freecam** (Default: None) +- **Zoom** (Default: None) +- **NoClip** (Default: CTRL) +- **Reset Appearance** (Default: None) +- **Confuse Now** (Default: None) +- **Repair All Sabotages** (Default: PAGE DOWN) +- **Close All Doors** (Default: None) +- **Close Current Room Door** (Default: None) +- **Complete All Tasks** (Default: None) +- ## 🎮 Game ### General - **Multiply Player Speed** Multiplies your speed by specified amount (Default: OFF) @@ -90,11 +107,12 @@ View the game options! - **Move While in Vent & Shapeshifting** Allows you to move in vent and while shapeshifting (Default: OFF) - **Always Move** Allows you to move in meetings and game menus such as tasks (Default: OFF) - **Shapeshift without Animation** Allows you to shapeshift without the animation (Default: OFF) -- **NoClip** Allows you to walk through walls (Default: OFF, Hotkey: CTRL) +- **NoClip** Allows you to walk through walls (Default: OFF) - **Kill Other Impostors** Allows you to kill fellow impostors (Default: OFF) - **Infinite Kill Range** Extends your kill reach (Default: OFF) - **Bypass Guardian Angel Protections** Allows you to kill protected players (Default: OFF) - **Do Tasks as Impostor** Allows you to complete tasks as impostor (Default: OFF) +- **Always Use Kill Exploit** Forces the kill exploit to always be used, thus bypassing Disable Kills (Default: OFF) - **Fake Alive** Appear to yourself as alive even if you're dead (Default: OFF) - *(Only as host/Safe Mode disabled)* **God Mode** Prevents you from dying (Default: OFF) - **(Shift + Right Click) to Teleport** Teleports you to wherever you clicked (Default: OFF) @@ -150,7 +168,8 @@ A dedicated player menu for viewing and manipulating players - **Kill** Kills the selected player - **Telekill** Kills the selected player and teleports you to your previous location - **Kick** *(Only as Host)* Kicks the selected player -- **Votekick** Votekicks the selected player +- **Votekick** Votekicks the selected player (2 more are required to actually kick the player) +- **Kick Exploit** *(Only with Safe Mode disabled)* Attempts to kick the player using an exploit - **Ban** *(Only as Host)* Bans the selected player - **Shift** *(Only as Shapeshifter/Safe Mode disabled)* Shapeshifts you into the selected player - **Protect** *(Only as Guardian Angel/Host/Safe Mode disabled)* Casts a guardian angel protection on the selected player @@ -199,7 +218,8 @@ A dedicated player menu for viewing and manipulating players ## 🚨 Sabotage - **Disable Sabotages** *(Only as Host)* Prevents players from sabotaging stuff - **Repair Sabotage** Repairs the ongoing sabotage -- *All specific map sabotages can be sabotaged/repaired* +- **Random Sabotage** Sabotages a random system +- *All specific map sabotages can be sabotaged* - **Disable Lights** Prevents lights from being fixed by regular means ## 🚪 Doors diff --git a/README.md b/README.md index 9fbb514..3764b32 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 👺 SickoMenu v3.2: The Guest Mode Update +# 👺 SickoMenu v3.3.1: The Enhancements Update (Hotfix) A highly sophisticated cheat menu for Among Us based on AmongUsMenu which promises more features and regular updates. Join our very own [Discord](https://dsc.gg/sickos) server for support, bug reports, and sneak peeks! diff --git a/gui/tabs/players_tab.cpp b/gui/tabs/players_tab.cpp index 202d556..42ad48c 100644 --- a/gui/tabs/players_tab.cpp +++ b/gui/tabs/players_tab.cpp @@ -310,7 +310,18 @@ namespace PlayersTab { State.rpcQueue.push(new RpcVoteKick(selectedPlayer.get_PlayerControl())); } else if (IsInLobby()) { - State.rpcQueue.push(new RpcVoteKick(selectedPlayer.get_PlayerControl())); + State.lobbyRpcQueue.push(new RpcVoteKick(selectedPlayer.get_PlayerControl())); + } + } + if (!State.SafeMode) { + ImGui::SameLine(); + if (ImGui::Button("Kick Exploit")) { + if (IsInGame()) { + State.rpcQueue.push(new RpcVoteKick(selectedPlayer.get_PlayerControl(), true)); + } + else if (IsInLobby()) { + State.lobbyRpcQueue.push(new RpcVoteKick(selectedPlayer.get_PlayerControl(), true)); + } } } if (IsHost()) ImGui::SameLine(); diff --git a/rpc/RpcMurderPlayer.cpp b/rpc/RpcMurderPlayer.cpp index 9334099..5f8af43 100644 --- a/rpc/RpcMurderPlayer.cpp +++ b/rpc/RpcMurderPlayer.cpp @@ -105,9 +105,10 @@ void RpcVotePlayer::Process() MeetingHud_CmdCastVote(MeetingHud__TypeInfo->static_fields->Instance, Player->fields.PlayerId, target->fields.PlayerId, NULL); } -RpcVoteKick::RpcVoteKick(PlayerControl* target) +RpcVoteKick::RpcVoteKick(PlayerControl* target, bool exploit) { this->target = target; + this->exploit = exploit; } void RpcVoteKick::Process() @@ -115,15 +116,17 @@ void RpcVoteKick::Process() if (!PlayerSelection(target).has_value()) return; - VoteBanSystem_CmdAddVote(VoteBanSystem__TypeInfo->static_fields->Instance, target->fields._.OwnerId, NULL); - /*for (auto p : GetAllPlayerControl()) { - auto writer = InnerNetClient_StartRpcImmediately((InnerNetClient*)(*Game::pAmongUsClient), - VoteBanSystem__TypeInfo->static_fields->Instance->fields._.NetId, uint8_t(RpcCalls__Enum::AddVote), - SendOption__Enum::None, -1, NULL); - MessageWriter_WriteInt32(writer, p->fields._.OwnerId, NULL); - MessageWriter_WriteInt32(writer, target->fields._.OwnerId, NULL); - InnerNetClient_FinishRpcImmediately((InnerNetClient*)(*Game::pAmongUsClient), writer, NULL); - }*/ + if (!exploit) VoteBanSystem_CmdAddVote(VoteBanSystem__TypeInfo->static_fields->Instance, target->fields._.OwnerId, NULL); + else { + for (auto p : GetAllPlayerControl()) { + auto writer = InnerNetClient_StartRpcImmediately((InnerNetClient*)(*Game::pAmongUsClient), + VoteBanSystem__TypeInfo->static_fields->Instance->fields._.NetId, uint8_t(RpcCalls__Enum::AddVote), + SendOption__Enum::None, InnerNetClient_GetHost((InnerNetClient*)(*Game::pAmongUsClient), NULL)->fields.Id, NULL); + MessageWriter_WriteInt32(writer, p->fields._.OwnerId, NULL); + MessageWriter_WriteInt32(writer, target->fields._.OwnerId, NULL); + InnerNetClient_FinishRpcImmediately((InnerNetClient*)(*Game::pAmongUsClient), writer, NULL); + } + } } RpcClearVote::RpcClearVote(PlayerControl* Player) diff --git a/rpc/_rpc.h b/rpc/_rpc.h index fb8dfbf..71fcda6 100644 --- a/rpc/_rpc.h +++ b/rpc/_rpc.h @@ -220,8 +220,9 @@ class RpcVotePlayer : public RPCInterface { class RpcVoteKick : public RPCInterface { PlayerControl* target; + bool exploit; public: - RpcVoteKick(PlayerControl* target); + RpcVoteKick(PlayerControl* target, bool exploit = false); virtual void Process() override; };