From 56b12ffc422476179e18cae23baaccf458fce0f3 Mon Sep 17 00:00:00 2001 From: Mr-X-GTA <110748953+Mr-X-GTA@users.noreply.github.com> Date: Thu, 24 Oct 2024 19:35:21 +0200 Subject: [PATCH] fix: don't force host token spoofing (#25) --- src/backend/backend.cpp | 1 - src/gta_pointers.hpp | 2 -- src/pointers.cpp | 9 --------- src/views/network/view_controls.cpp | 3 --- 4 files changed, 15 deletions(-) diff --git a/src/backend/backend.cpp b/src/backend/backend.cpp index 9a43a5f7..f4faddab 100644 --- a/src/backend/backend.cpp +++ b/src/backend/backend.cpp @@ -32,7 +32,6 @@ namespace big void backend::loop() { - *g_pointers->m_gta.m_minority_report = "POGROM"_J; bypass_battleye(); for (auto& command : g_bool_commands) diff --git a/src/gta_pointers.hpp b/src/gta_pointers.hpp index 046245ef..9fda7522 100644 --- a/src/gta_pointers.hpp +++ b/src/gta_pointers.hpp @@ -419,8 +419,6 @@ namespace big functions::get_last_keyboard_state m_get_last_keyboard_state; PVOID m_network_can_access_multiplayer; - - uint32_t* m_minority_report; }; #pragma pack(pop) static_assert(sizeof(gta_pointers) % 8 == 0, "Pointers are not properly aligned"); diff --git a/src/pointers.cpp b/src/pointers.cpp index 5c851649..29306d3c 100644 --- a/src/pointers.cpp +++ b/src/pointers.cpp @@ -1988,15 +1988,6 @@ namespace big { g_pointers->m_gta.m_network_can_access_multiplayer = ptr.add(10).rip().as(); } - }, - // Minority Report - { - "MR", - "44 8D 40 03 48 8D 0D", - [](memory::handle ptr) - { - g_pointers->m_gta.m_minority_report = ptr.add(7).rip().as(); - } } >(); // don't leave a trailing comma at the end diff --git a/src/views/network/view_controls.cpp b/src/views/network/view_controls.cpp index 10c16976..134e2edb 100644 --- a/src/views/network/view_controls.cpp +++ b/src/views/network/view_controls.cpp @@ -138,9 +138,6 @@ namespace big { for (int i = 0; i < token_spoof_types.size(); i++) { - if (i == 0) - ImGui::BeginDisabled(); // this is now required due to battleye - if (ImGui::Selectable(g_translation_service.get_translation(token_spoof_types[i]).data(), i == g.session.spoof_host_token_type)) { g.session.spoof_host_token_type = i;