From 3868c7993a73a5575a7ca40df0106119595710bd Mon Sep 17 00:00:00 2001 From: maybegreat48 <96936658+maybegreat48@users.noreply.github.com> Date: Sat, 21 Jun 2025 11:53:18 -0400 Subject: [PATCH] fix(anticheat): small fixes --- src/core/frontend/manager/UIManager.cpp | 2 +- src/game/backend/AnticheatBypass.cpp | 12 ++---------- src/game/frontend/items/ListCommandItem.cpp | 2 +- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/core/frontend/manager/UIManager.cpp b/src/core/frontend/manager/UIManager.cpp index 22ad0d6..628a0bb 100644 --- a/src/core/frontend/manager/UIManager.cpp +++ b/src/core/frontend/manager/UIManager.cpp @@ -8,7 +8,7 @@ namespace YimMenu::Features static const std::vector> g_StyleOptions = { {0, "Classic"}, {1, "Modern"}, - {2, "ModernV"}, + {2, "Modern (Vertical)"}, }; // Expose as global reference so other code can use it diff --git a/src/game/backend/AnticheatBypass.cpp b/src/game/backend/AnticheatBypass.cpp index 3767836..29971a7 100644 --- a/src/game/backend/AnticheatBypass.cpp +++ b/src/game/backend/AnticheatBypass.cpp @@ -74,14 +74,6 @@ namespace YimMenu } } - for (rage::gameSkeletonData& i : Pointers.GameSkeleton->m_SysData) - { - if (i.m_Hash != 0xA0F39FB6 && i.m_Hash != "TamperActions"_J) - continue; - // this is integrity checked and runs before we patch it, so it isn't very useful anymore - //i.m_InitFunc = Pointers.Nullsub; - i.m_ShutdownFunc = Pointers.Nullsub; - } if (patched) { @@ -156,12 +148,12 @@ namespace YimMenu if (m_BattlEyeRunning) LOGF(WARNING, "If you are not running an actual BattlEye bypass, exit the game immediately and ensure that BE is properly disabled"); - if (!m_FSLProvidesBEBypass) + if (!m_FSLProvidesBEBypass && !m_BattlEyeRunning) Pointers.BattlEyeStatusUpdatePatch->Apply(); while (true) { - if (!m_FSLProvidesBEBypass) + if (!m_FSLProvidesBEBypass && !m_BattlEyeRunning) { *Pointers.BERestartStatus = 0; *Pointers.NeedsBERestart = false; diff --git a/src/game/frontend/items/ListCommandItem.cpp b/src/game/frontend/items/ListCommandItem.cpp index c12ea03..545debc 100644 --- a/src/game/frontend/items/ListCommandItem.cpp +++ b/src/game/frontend/items/ListCommandItem.cpp @@ -46,7 +46,7 @@ namespace YimMenu m_SelectedItem = ""; auto size = ImGui::CalcTextSize(largest_string); - m_ItemWidth = size.x + 25.0f; + m_ItemWidth = size.x + 40.0f; } ImGui::SetNextItemWidth(m_ItemWidth.value());