mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-16 14:27:44 +08:00
fix: don't force host token spoofing
This commit is contained in:
parent
f844e77a0c
commit
1848b1b67d
@ -32,7 +32,6 @@ namespace big
|
|||||||
|
|
||||||
void backend::loop()
|
void backend::loop()
|
||||||
{
|
{
|
||||||
*g_pointers->m_gta.m_minority_report = "POGROM"_J;
|
|
||||||
bypass_battleye();
|
bypass_battleye();
|
||||||
|
|
||||||
for (auto& command : g_bool_commands)
|
for (auto& command : g_bool_commands)
|
||||||
|
@ -419,8 +419,6 @@ namespace big
|
|||||||
functions::get_last_keyboard_state m_get_last_keyboard_state;
|
functions::get_last_keyboard_state m_get_last_keyboard_state;
|
||||||
|
|
||||||
PVOID m_network_can_access_multiplayer;
|
PVOID m_network_can_access_multiplayer;
|
||||||
|
|
||||||
uint32_t* m_minority_report;
|
|
||||||
};
|
};
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
static_assert(sizeof(gta_pointers) % 8 == 0, "Pointers are not properly aligned");
|
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>();
|
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
|
>(); // 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++)
|
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))
|
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;
|
g.session.spoof_host_token_type = i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user