Some general fixes (#782)

* feat(protections): small updates
* chore(CustomText): comment out TICK_LEFTCHEAT label override
* feat(protections): make desync protections optional
* fix(matchmaking): fix pool filter
This commit is contained in:
maybegreat48
2022-12-31 00:47:01 +00:00
committed by GitHub
parent d6e64f6838
commit 43eec4eb35
11 changed files with 73 additions and 66 deletions

View File

@ -7,7 +7,7 @@ namespace big
{
add_callback_for_labels({ RAGE_JOAAT("RESPAWN_W"), RAGE_JOAAT("RESPAWN_W_MP") }, respawn_label_callback);
add_label_overwrite(RAGE_JOAAT("GC_OTR_TMR"), "HIDING FROM CLOWNS");
add_label_overwrite(RAGE_JOAAT("TICK_LEFTCHEAT"), "~a~~HUD_COLOUR_WHITE~ has been swatted by Rockstar.");
// add_label_overwrite(RAGE_JOAAT("TICK_LEFTCHEAT"), "~a~~HUD_COLOUR_WHITE~ has been swatted by Rockstar.");
g_custom_text_service = this;
}

View File

@ -65,6 +65,9 @@ namespace big
{
m_found_sessions[i].is_valid = false;
}
if (g.session_browser.pool_filter_enabled && ((m_found_sessions[i].attributes.discriminator & (1 << 14)) == (1 << 14)) != (bool)g.session_browser.pool_filter)
m_found_sessions[i].is_valid = false;
}
if (g.session_browser.sort_method != 0)