mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-15 22:08:00 +08:00
update
This commit is contained in:
parent
af9618c6f2
commit
4aeadef81d
@ -21,7 +21,7 @@ namespace big
|
||||
{
|
||||
void bypass_battleye()
|
||||
{
|
||||
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};
|
||||
constexpr std::array<std::uint32_t, 16> valid_hashes = {4022154788, 988, 3512952254, 472, 0, 0, 3308328917, 0, 0, 1731098795, 2256610353, 18616, 1540917665, 307143837, 1629784955, 2012170620};
|
||||
|
||||
if (auto hashes = *g_pointers->m_gta.m_game_data_hash)
|
||||
{
|
||||
|
@ -310,14 +310,6 @@ namespace big
|
||||
{
|
||||
send_message_to_server(token, message, size);
|
||||
|
||||
if (g.session.kick_host_when_forcing_host && msg[1] == 5)
|
||||
{
|
||||
if (auto player = g_player_service->get_by_host_token(token); player && !player->is_modder)
|
||||
{
|
||||
player_command::get("battleupdate"_J)->call(player, {});
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case REQUEST:
|
||||
|
@ -174,10 +174,6 @@ namespace big
|
||||
|
||||
ImGui::EndDisabled();
|
||||
|
||||
ImGui::Checkbox("Auto Kick Host", &g.session.kick_host_when_forcing_host);
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("Kicks the host every few minutes until you become host to avoid being kicked");
|
||||
|
||||
ImGui::Checkbox("FORCE_SCRIPT_HOST"_T.data(), &g.session.force_script_host);
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("FORCE_SCRIPT_HOST_DESC"_T.data());
|
||||
|
Loading…
x
Reference in New Issue
Block a user