fix(battleye): ensure we don't trigger the BE shadow ban by being in invite-only sessions

This commit is contained in:
maybegreat48 committed 2025-06-03 21:43:38 -04:00
1 parent 684f6ee567
commit 0842941f96
9 files changed
+78 -1

No files matched your search

+4
View File
@@ -374,6 +374,10 @@ namespace YimMenu
HasGTAPlus = addr.Add(3).Rip().As<int*>();
});
constexpr auto battlEyeServerProcessPlayerJoinPtrn = Pattern<"BA 2D AD 45 3F">("BattlEyeServerProcessPlayerJoin");
scanner.Add(battlEyeServerProcessPlayerJoinPtrn, [this](PointerCalculator ptr) {
BattlEyeServerProcessPlayerJoin = ptr.Sub(0x72).As<PVOID>();
});
if (!scanner.Scan())
{