Bug fixes and improvements (#3324)

* feat: handle exceptions on jumps correctly
* fix(player_db): fix invite player
* fix: remove old stuff
* fix(script__vm): fix script vm crashes
* remove debug code
* fix(scr_globals): fix globals and locals
This commit is contained in:
Mr-X-GTA
2024-07-10 13:43:39 +02:00
committed by GitHub
parent 270ff255c2
commit 4b73782c27
19 changed files with 46 additions and 65 deletions
+1 -10
View File
@@ -481,7 +481,7 @@ namespace big
// Network
{
"N",
"48 8B 0D ? ? ? ? 48 8B D7 E8 ? ? ? ? 84 C0 75 17 48 8B 0D ? ? ? ? 48 8B D7",
"48 8B 0D ? ? ? ? 45 33 C9 48 8B D7",
[](memory::handle ptr)
{
g_pointers->m_gta.m_network = ptr.add(3).rip().as<Network**>();
@@ -617,15 +617,6 @@ namespace big
g_pointers->m_gta.m_show_profile_by_gamer_handle = ptr.add(1).rip().as<functions::show_profile_by_gamer_handle>();
}
},
// Network Config
{
"NC",
"48 8B 0D ? ? ? ? 45 33 C9 48 8B D7",
[](memory::handle ptr)
{
g_pointers->m_gta.m_network_config = ptr.add(3).rip().as<uint64_t>();
}
},
// Script VM
{
"VM",