mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-01 20:12:50 +08:00
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:
@ -140,6 +140,13 @@ namespace big
|
||||
ImGui::InputInt("Maximum", &g.session_browser.player_count_filter_maximum);
|
||||
}
|
||||
|
||||
ImGui::Checkbox("Pool Type", &g.session_browser.pool_filter_enabled);
|
||||
if (g.session_browser.pool_filter_enabled)
|
||||
{
|
||||
ImGui::SameLine();
|
||||
ImGui::Combo("###pooltype", &g.session_browser.pool_filter, "Normal\0Bad Sport");
|
||||
}
|
||||
|
||||
ImGui::TreePop();
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,10 @@ namespace big
|
||||
auto const is_session_host = [] { return gta_util::get_network()->m_game_session_ptr->is_host(); };
|
||||
|
||||
components::player_command_button<"breakup">(g_player_service->get_selected());
|
||||
components::disable_unless(std::not_fn(is_session_host), [] {
|
||||
ImGui::SameLine();
|
||||
components::command_checkbox<"breakupcheating">();
|
||||
components::disable_unless(std::not_fn(is_session_host), []
|
||||
{
|
||||
components::player_command_button<"lckick">(g_player_service->get_selected());
|
||||
});
|
||||
components::player_command_button<"bailkick">(g_player_service->get_selected());
|
||||
@ -19,9 +22,6 @@ namespace big
|
||||
components::player_command_button<"oomkick">(g_player_service->get_selected());
|
||||
components::player_command_button<"shkick">(g_player_service->get_selected());
|
||||
components::player_command_button<"endkick">(g_player_service->get_selected());
|
||||
components::disable_unless(is_session_host, [] {
|
||||
components::player_command_button<"hostkick">(g_player_service->get_selected());
|
||||
});
|
||||
components::player_command_button<"desync">(g_player_service->get_selected());
|
||||
|
||||
ImGui::TreePop();
|
||||
|
@ -45,9 +45,10 @@ namespace big
|
||||
ImGui::Checkbox("Start Activity", &g.protections.script_events.start_activity);
|
||||
ImGui::Checkbox("Send SMS", &g.protections.script_events.send_sms);
|
||||
components::script_patch_checkbox("Script Host Kick", &g.protections.script_host_kick);
|
||||
ImGui::Checkbox("Desync Kick", &g.protections.desync_kick);
|
||||
ImGui::Checkbox("RID Join", &g.protections.rid_join);
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("This will block anyone trying to join you through Rockstar ID, including your friends");
|
||||
ImGui::SetTooltip("This will block anyone trying to join, kick or crash you with your Rockstar ID, including your friends");
|
||||
ImGui::Checkbox("Lessen Breakup Kicks As Host", &g.protections.lessen_breakups);
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("Attacker must join after you have become host for this to work. There are anti-cheat concerns with this feature");
|
||||
|
Reference in New Issue
Block a user