Skip to content

Commit

Permalink
Add back kick exploit
Browse files Browse the repository at this point in the history
  • Loading branch information
g0aty committed Apr 13, 2024
1 parent f7f2128 commit 0185bfd
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 18 deletions.
30 changes: 25 additions & 5 deletions FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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!
Expand Down
13 changes: 12 additions & 1 deletion gui/tabs/players_tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
23 changes: 13 additions & 10 deletions rpc/RpcMurderPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,25 +105,28 @@ 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()
{
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)
Expand Down
3 changes: 2 additions & 1 deletion rpc/_rpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 0185bfd

Please sign in to comment.