diff --git a/CS2_External/Bunnyhop.hpp b/CS2_External/Bunnyhop.hpp deleted file mode 100644 index ad148b0..0000000 --- a/CS2_External/Bunnyhop.hpp +++ /dev/null @@ -1,50 +0,0 @@ -#pragma once -#include "Game.h" -#include "Entity.h" -#include - -namespace Bunnyhop -{ - inline void Run(const CEntity& Local) - { - const bool hasFlagInAir = Local.Pawn.HasFlag(PlayerPawn::Flags::IN_AIR); - if (GetAsyncKeyState(VK_SPACE) && hasFlagInAir) - { - gGame.SetForceJump(65537); - } - else if (GetAsyncKeyState(VK_SPACE) && !hasFlagInAir) - { - gGame.SetForceJump(256); - gGame.SetForceJump(65537); - gGame.SetForceJump(256); - } - else - { - gGame.SetForceJump(256); - } - } -} - -namespace Bunnyhop2 -{ - inline void Run(const CEntity& Local) - { - const bool hasFlagInAir = Local.Pawn.HasFlag(PlayerPawn::Flags::IN_AIR); - if (GetAsyncKeyState(VK_SPACE) && !hasFlagInAir) - { - // scrolling up - INPUT inputScrollUp; - inputScrollUp.type = INPUT_MOUSE; - inputScrollUp.mi.dx = 0; - inputScrollUp.mi.dy = 0; - inputScrollUp.mi.mouseData = WHEEL_DELTA; - inputScrollUp.mi.dwFlags = MOUSEEVENTF_WHEEL; - inputScrollUp.mi.time = 0; - inputScrollUp.mi.dwExtraInfo = 0; - - while (GetAsyncKeyState(VK_SPACE) && !hasFlagInAir) { - SendInput(1, &inputScrollUp, sizeof(INPUT)); - } - } - } -} \ No newline at end of file diff --git a/CS2_External/CS2_External.vcxproj b/CS2_External/CS2_External.vcxproj index 9900640..d7d83dc 100644 --- a/CS2_External/CS2_External.vcxproj +++ b/CS2_External/CS2_External.vcxproj @@ -142,7 +142,6 @@ - diff --git a/CS2_External/CS2_External.vcxproj.filters b/CS2_External/CS2_External.vcxproj.filters index 0ef3d9f..c7df4bd 100644 --- a/CS2_External/CS2_External.vcxproj.filters +++ b/CS2_External/CS2_External.vcxproj.filters @@ -119,7 +119,6 @@ - diff --git a/CS2_External/Cheats.cpp b/CS2_External/Cheats.cpp index 874c35b..0b1620b 100644 --- a/CS2_External/Cheats.cpp +++ b/CS2_External/Cheats.cpp @@ -53,27 +53,27 @@ void Cheats::Menu() SetupImGuiStyle3(); } - if (ImGui::Button(ICON_FA_EYE, ImVec2(100, 48))) { + if (ImGui::Button(ICON_FA_EYE, ImVec2(100, 35))) { tabb = 0; } ImGui::Spacing(); - if (ImGui::Button(ICON_FA_USER_CIRCLE, ImVec2(100, 48))) { + if (ImGui::Button(ICON_FA_USER_CIRCLE, ImVec2(100, 35))) { tabb = 1; } ImGui::Spacing(); - if (ImGui::Button(ICON_FA_FILE_CODE, ImVec2(100, 48))) { + if (ImGui::Button(ICON_FA_FILE_CODE, ImVec2(100, 35))) { tabb = 2; } ImGui::Spacing(); - if (ImGui::Button(ICON_FA_HAND_POINTER, ImVec2(100, 48))) { + if (ImGui::Button(ICON_FA_HAND_POINTER, ImVec2(100, 35))) { tabb = 3; } ImGui::Spacing(); - if (ImGui::Button(ICON_FA_FOLDER_OPEN, ImVec2(100, 48))) { + if (ImGui::Button(ICON_FA_FOLDER_OPEN, ImVec2(100, 35))) { tabb = 4; } ImGui::Spacing(); - if (ImGui::Button(ICON_FA_SUN, ImVec2(100, 48))) { + if (ImGui::Button(ICON_FA_SUN, ImVec2(100, 35))) { tabb = 5; } } @@ -233,10 +233,6 @@ void Cheats::Menu() Gui.SliderScalarEx1("Proportion", ImGuiDataType_Float, &MenuConfig::Proportion, &ProportionMin, &ProportionMax, "%.1f", ImGuiSliderFlags_None); Gui.SliderScalarEx1("RadarRange", ImGuiDataType_Float, &MenuConfig::RadarRange, &RadarRangeMin, &RadarRangeMax, "%.1f", ImGuiSliderFlags_None); Gui.SliderScalarEx1("RadarBgAlpha", ImGuiDataType_Float, &MenuConfig::RadarBgAlpha, &RadarBgAlphaMin, &RadarBgAlphaMax, "%.3f", ImGuiSliderFlags_None); - - ImGui::Checkbox("Bunnyhop", &MenuConfig::BunnyHop); - ImGui::SameLine(); - ImGui::Checkbox("Bunnyhop 2", &MenuConfig::BunnyHop2); ImGui::Text("[INSERT] HideMenu"); } else if (tabb == 3) { @@ -569,12 +565,6 @@ void Cheats::Run() if (MenuConfig::ShowAimFovRange) Render::DrawFovCircle(LocalEntity); - if (MenuConfig::BunnyHop) - Bunnyhop::Run(LocalEntity); - - if (MenuConfig::BunnyHop2) - Bunnyhop2::Run(LocalEntity); - // TriggerBot if (MenuConfig::TriggerBot && GetAsyncKeyState(TriggerBot::HotKey)) { diff --git a/CS2_External/Cheats.h b/CS2_External/Cheats.h index 15589d4..09bc586 100644 --- a/CS2_External/Cheats.h +++ b/CS2_External/Cheats.h @@ -4,7 +4,6 @@ #include "AimBot.hpp" #include "Radar/Radar.h" #include "TriggerBot.hpp" -#include "Bunnyhop.hpp" namespace Cheats { diff --git a/CS2_External/MenuConfig.hpp b/CS2_External/MenuConfig.hpp index 1be17f8..94e2ba5 100644 --- a/CS2_External/MenuConfig.hpp +++ b/CS2_External/MenuConfig.hpp @@ -33,8 +33,6 @@ namespace MenuConfig inline bool ShowMenu = true; inline bool VisibleEsp = true; - inline bool BunnyHop = true; - inline bool BunnyHop2 = true; inline bool ShowRadar = true; inline float RadarRange = 150; inline float RadarPointSizeProportion = 1.f; diff --git a/CS2_External/OS-ImGui/OS-ImGui_Base.cpp b/CS2_External/OS-ImGui/OS-ImGui_Base.cpp index d75017a..e0aa632 100644 --- a/CS2_External/OS-ImGui/OS-ImGui_Base.cpp +++ b/CS2_External/OS-ImGui/OS-ImGui_Base.cpp @@ -34,7 +34,7 @@ namespace OSImGui iconConfig.OversampleV = 3; iconConfig.GlyphRanges = iconRanges; iconConfig.FontDataOwnedByAtlas = false; - ImFont* iconFont = fontAtlas->AddFontFromMemoryTTF((void*)rawData, sizeof(rawData), 28.f, &iconConfig, iconRanges); + ImFont* iconFont = fontAtlas->AddFontFromMemoryTTF((void*)rawData, sizeof(rawData), 24.f, &iconConfig, iconRanges); io.Fonts = fontAtlas; ImGui::StyleColorsDark(); diff --git a/CS2_External/Utils/ConfigMenu.cpp b/CS2_External/Utils/ConfigMenu.cpp index f4ea90b..6c1ffbb 100644 --- a/CS2_External/Utils/ConfigMenu.cpp +++ b/CS2_External/Utils/ConfigMenu.cpp @@ -196,8 +196,6 @@ namespace ConfigMenu { MenuConfig::ShowAimFovRange = true; MenuConfig::AimFovRangeColor = ImColor(230, 230, 230, 255); MenuConfig::OBSBypass = true; - MenuConfig::BunnyHop = false; - MenuConfig::BunnyHop2 = false; MenuConfig::ShowDistance = true; CrosshairConfig::CrossHairColor = ImColor(0, 255, 0, 255); CrosshairConfig::CrossHairSize = 75; diff --git a/CS2_External/Utils/ConfigSaver.cpp b/CS2_External/Utils/ConfigSaver.cpp index 4a6d397..f6234b6 100644 --- a/CS2_External/Utils/ConfigSaver.cpp +++ b/CS2_External/Utils/ConfigSaver.cpp @@ -92,8 +92,6 @@ namespace MyConfigSaver { configFile << "AimFovRangeColor " << MenuConfig::AimFovRangeColor.Value.x << " " << MenuConfig::AimFovRangeColor.Value.y << " " << MenuConfig::AimFovRangeColor.Value.z << " " << MenuConfig::AimFovRangeColor.Value.w << std::endl; configFile << "VisibleColor " << MenuConfig::VisibleColor.Value.x << " " << MenuConfig::VisibleColor.Value.y << " " << MenuConfig::VisibleColor.Value.z << " " << MenuConfig::VisibleColor.Value.w << std::endl; configFile << "OBSBypass " << MenuConfig::OBSBypass << std::endl; - configFile << "BunnyHop " << MenuConfig::BunnyHop << std::endl; - configFile << "BunnyHop2 " << MenuConfig::BunnyHop2 << std::endl; configFile << "ShowDistance " << MenuConfig::ShowDistance << std::endl; configFile << "RadarBgAlpha " << MenuConfig::RadarBgAlpha << std::endl; configFile << "Style " << MenuConfig::styleee << std::endl; @@ -188,8 +186,6 @@ namespace MyConfigSaver { else if (key == "AimFovRangeColor") iss >> MenuConfig::AimFovRangeColor.Value.x >> MenuConfig::AimFovRangeColor.Value.y >> MenuConfig::AimFovRangeColor.Value.z >> MenuConfig::AimFovRangeColor.Value.w; else if (key == "VisibleColor") iss >> MenuConfig::VisibleColor.Value.x >> MenuConfig::VisibleColor.Value.y >> MenuConfig::VisibleColor.Value.z >> MenuConfig::VisibleColor.Value.w; else if (key == "OBSBypass") iss >> MenuConfig::OBSBypass; - else if (key == "BunnyHop") iss >> MenuConfig::BunnyHop; - else if (key == "BunnyHop2") iss >> MenuConfig::BunnyHop2; else if (key == "ShowDistance") iss >> MenuConfig::ShowDistance; else if (key == "RadarBgAlpha") iss >> MenuConfig::RadarBgAlpha; else if (key == "StyleIndex") iss >> MenuConfig::selectedStyleIndex;