mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
fix: don't force host token spoofing (#25)
This commit is contained in:
parent
f844e77a0c
commit
56b12ffc42
@ -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)
|
||||
|
@ -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");
|
||||
|
@ -1988,15 +1988,6 @@ namespace big
|
||||
{
|
||||
g_pointers->m_gta.m_network_can_access_multiplayer = ptr.add(10).rip().as<PVOID>();
|
||||
}
|
||||
},
|
||||
// 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<uint32_t*>();
|
||||
}
|
||||
}
|
||||
>(); // don't leave a trailing comma at the end
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user