mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-04 21:22:29 +08:00
Update for b3337 (#1)
* Merge "BE fixes and additions" * Merge "Add BattlEye server" * Apply diff * feat: bypass BE kicks from legit hosts * fix: remove patched stuff * Remove duplicate chat spammer notification (#2) --------- Co-authored-by: Cringe-Arab <evmeschenco@gmail.com>
This commit is contained in:
@ -21,13 +21,6 @@ namespace big
|
||||
{
|
||||
void bypass_battleye()
|
||||
{
|
||||
auto old = g.session.spoof_host_token_type;
|
||||
g.session.spoof_host_token_type = std::max(old, 1);
|
||||
if (old != g.session.spoof_host_token_type)
|
||||
g.session.spoof_host_token_dirty = true;
|
||||
g.session.kick_host_when_forcing_host = true;
|
||||
g.session.exclude_modders_from_kick_host = true; // useful
|
||||
|
||||
constexpr std::array<std::uint32_t, 16> valid_hashes = {1410389794, 967, 1523678325, 472, 0, 0, 1323039495, 0, 0, 1731098795, 2256610353, 17956, 414639110, 307143837, 3443181821, 0};
|
||||
|
||||
if (auto hashes = *g_pointers->m_gta.m_game_data_hash)
|
||||
|
Reference in New Issue
Block a user