More fixes for 1.66 (#944)

* fix(Menu): more update fixes
* fix(Spoofing): remove spoofing
* fix(Globals): update globals
* fix(Classes): upstream classes
* fix(Misc): remove debug code
* fix(Merge)
This commit is contained in:
maybegreat48
2023-02-04 16:35:18 +00:00
committed by GitHub
parent 5c01d393b9
commit 7f37def248
27 changed files with 139 additions and 251 deletions

View File

@ -123,11 +123,6 @@ namespace big
}
}
components::button("KICK"_T, []
{
session::kick_by_rockstar_id(current_player.rockstar_id);
});
components::button("JOIN_SESSION"_T, []
{
session::join_by_rockstar_id(current_player.rockstar_id);

View File

@ -24,11 +24,6 @@ namespace big
{
session::join_by_rockstar_id(rid);
});
ImGui::SameLine();
components::button("KICK_BY_RID"_T, []
{
session::kick_by_rockstar_id(rid);
});
static char username[20];
components::input_text("INPUT_USERNAME"_T, username, sizeof(username));
@ -36,11 +31,6 @@ namespace big
{
session::join_by_username(username);
};
ImGui::SameLine();
if (components::button("KICK_BY_USERNAME"_T))
{
session::kick_by_username(username);
};
static char base64[500]{};
components::input_text("SESSION_INFO"_T, base64, sizeof(base64));
@ -53,8 +43,8 @@ namespace big
ImGui::SameLine();
components::button("COPY_SESSION_INFO"_T, []
{
char buf[0x100];
g_pointers->m_encode_session_info(&gta_util::get_network()->m_game_session.m_rline_session.m_session_info, buf, 0x7D, nullptr);
char buf[0x100]{};
g_pointers->m_encode_session_info(&gta_util::get_network()->m_game_session.m_rline_session.m_session_info, buf, 0xA9, nullptr);
ImGui::SetClipboardText(buf);
});

View File

@ -11,7 +11,9 @@ namespace big
{
components::small_text("SPOOFING_DESCRIPTION"_T);
ImGui::Text("!!!!! Spoofing options like name and RID have become impossible to spoof with update 1.66 !!!!!");
components::sub_title("SPOOFING_HIDE_FEATURES"_T);
ImGui::Checkbox("SPOOFING_HIDE_GOD_MODE"_T.data(), &g.spoofing.spoof_hide_god);
ImGui::Checkbox("SPOOFING_HIDE_SPECTATE"_T.data(), &g.spoofing.spoof_hide_spectate);
components::sub_title("CREW"_T);
@ -31,14 +33,6 @@ namespace big
ImGui::Checkbox("SPOOFING_CREW_SQUARE_TAG"_T.data(), &g.spoofing.square_crew_tag);
components::sub_title("SPOOFING_EXTRA"_T);
ImGui::Checkbox("SPOOFING_IS_CHEATER"_T.data(), &g.spoofing.spoof_cheater);
// Can't spoof RID anymore
//ImGui::Checkbox("SPOOFING_IS_DEV"_T.data(), &g.spoofing.spoof_rockstar_dev);
//ImGui::Checkbox("SPOOFING_IS_QA"_T.data(), &g.spoofing.spoof_rockstar_qa);
components::sub_title("SPOOFING_SESSION_ATTRIBUTES"_T);
components::small_text("SPOOFING_ONLY_WORKS_AS_HOST"_T);