mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-04 00:23:27 +08:00
fix: update to gta version 2845 (#1032)
This commit is contained in:
parent
6124249601
commit
92aea20cd6
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"game": {
|
"game": {
|
||||||
"online": "1.66",
|
"online": "1.66",
|
||||||
"build": "2824"
|
"build": "2845"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -167,7 +167,7 @@ namespace big
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Read Bitbuffer Boolean
|
// Read Bitbuffer Boolean
|
||||||
main_batch.add("RBB", "E8 ? ? ? ? 84 C0 74 2D 48 8D 57 20", [this](memory::handle ptr)
|
main_batch.add("RBB", "E8 ? ? ? ? 84 C0 74 41 48 8D 56 2C", [this](memory::handle ptr)
|
||||||
{
|
{
|
||||||
m_read_bitbuf_bool = ptr.add(1).rip().as<decltype(m_read_bitbuf_bool)>();
|
m_read_bitbuf_bool = ptr.add(1).rip().as<decltype(m_read_bitbuf_bool)>();
|
||||||
});
|
});
|
||||||
@ -419,13 +419,13 @@ namespace big
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Send Chat Ptr
|
// Send Chat Ptr
|
||||||
main_batch.add("SCP", "41 83 7F ? ? 4C 8B 35", [this](memory::handle ptr)
|
main_batch.add("SCP", "83 7E 1C 01 48 8B 3D", [this](memory::handle ptr)
|
||||||
{
|
{
|
||||||
m_send_chat_ptr = ptr.add(8).rip().as<int64_t**>();
|
m_send_chat_ptr = ptr.add(7).rip().as<int64_t**>();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Send Chat Message
|
// Send Chat Message
|
||||||
main_batch.add("SCM", "48 83 EC 20 48 8B F9 48 8B CA 45 8A F1", [this](memory::handle ptr)
|
main_batch.add("SCM", "48 83 EC 20 48 8B F1 48 8B CA 41 8A E9", [this](memory::handle ptr)
|
||||||
{
|
{
|
||||||
m_send_chat_message = ptr.sub(21).as<functions::send_chat_message>();
|
m_send_chat_message = ptr.sub(21).as<functions::send_chat_message>();
|
||||||
});
|
});
|
||||||
@ -514,8 +514,8 @@ namespace big
|
|||||||
m_handle_join_request = ptr.as<PVOID>();
|
m_handle_join_request = ptr.as<PVOID>();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Handle Join Request
|
// Write Join Response Data
|
||||||
main_batch.add("HJR", "E8 ?? ?? ?? ?? 41 8B DF 84 C0 74 06", [this](memory::handle ptr)
|
main_batch.add("WJRD", "E8 ?? ?? ?? ?? 41 8B DF 84 C0", [this](memory::handle ptr)
|
||||||
{
|
{
|
||||||
m_write_join_response_data = ptr.add(1).rip().as<functions::write_join_response_data>();
|
m_write_join_response_data = ptr.add(1).rip().as<functions::write_join_response_data>();
|
||||||
});
|
});
|
||||||
|
@ -5,7 +5,7 @@ namespace big
|
|||||||
class matchmaking_service
|
class matchmaking_service
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
constexpr static int MAX_SESSIONS_TO_FIND = 1057;
|
constexpr static int MAX_SESSIONS_TO_FIND = 1054;
|
||||||
|
|
||||||
struct session_attributes
|
struct session_attributes
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user