update for b3411

This commit is contained in:
Mr-X-GTA 2024-12-13 16:33:27 +01:00
parent fe0b2f9c69
commit 978ed3c7ec
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"game": { "game": {
"online": "1.70", "online": "1.70",
"build": "3407" "build": "3411"
} }
} }

View File

@ -48,7 +48,7 @@ namespace big
fix_hook_address(); fix_hook_address();
if (auto status = MH_CreateHook(m_target, m_detour, &m_original); status != MH_OK) if (auto status = MH_CreateHook(m_target, m_detour, &m_original); status != MH_OK)
throw std::runtime_error(std::format("Failed to create hook '{}' at 0x{:X} (error: {})", m_name, uintptr_t(m_target), MH_StatusToString(status))); LOGF(FATAL, "Failed to create hook '{}' at 0x{:X} (error: {})", m_name, uintptr_t(m_target), MH_StatusToString(status));
} }
detour_hook::~detour_hook() noexcept detour_hook::~detour_hook() noexcept

View File

@ -3,7 +3,7 @@
#include "gta_pointers_layout_info.hpp" #include "gta_pointers_layout_info.hpp"
#include "sc_pointers_layout_info.hpp" #include "sc_pointers_layout_info.hpp"
#define GTA_VERSION_TARGET "1.70-3407" #define GTA_VERSION_TARGET "1.70-3411"
namespace big namespace big
{ {