mirror of
https://github.com/swordbluesword/PalWorld-NetCrack.git
synced 2025-04-29 10:57:16 +09:00
fixed some question
This commit is contained in:
parent
c4a771f665
commit
b537c60d68
@ -25,6 +25,14 @@ void config::Update(const char* filterText)
|
|||||||
std::sort(Config.db_filteredItems.begin(), Config.db_filteredItems.end());
|
std::sort(Config.db_filteredItems.begin(), Config.db_filteredItems.end());
|
||||||
}
|
}
|
||||||
const std::vector<std::string>& config::GetFilteredItems() { return Config.db_filteredItems; }
|
const std::vector<std::string>& config::GetFilteredItems() { return Config.db_filteredItems; }
|
||||||
|
void DetourSendDamage(SDK::APalPlayerState* d_this, SDK::APalCharacter* Target, SDK::FPalDamageInfo* info)
|
||||||
|
{
|
||||||
|
/*info->bAttackableToFriend = true;
|
||||||
|
info->IgnoreShield = true;
|
||||||
|
info->NativeDamageValue = 9999999;
|
||||||
|
info->bApplyNativeDamageValue = true;*/
|
||||||
|
return OldSendDamageFunc(d_this, Target, info);
|
||||||
|
}
|
||||||
|
|
||||||
bool DetourTick(SDK::APalPlayerCharacter* m_this, float DeltaSecond)
|
bool DetourTick(SDK::APalPlayerCharacter* m_this, float DeltaSecond)
|
||||||
{
|
{
|
||||||
|
54
src/Menu.cpp
54
src/Menu.cpp
@ -164,6 +164,31 @@ namespace DX11_Base
|
|||||||
Config.IsToggledFly = !Config.IsToggledFly;
|
Config.IsToggledFly = !Config.IsToggledFly;
|
||||||
ExploitFly(Config.IsToggledFly);
|
ExploitFly(Config.IsToggledFly);
|
||||||
}
|
}
|
||||||
|
/*if (ImGui::Button("DeleteSelf", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
||||||
|
{
|
||||||
|
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
|
||||||
|
if (p_appc != NULL)
|
||||||
|
{
|
||||||
|
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
|
||||||
|
{
|
||||||
|
if (Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState() != NULL)
|
||||||
|
{
|
||||||
|
Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->Debug_RequestDeletePlayerSelf_ToServer();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
|
||||||
|
if (ImGui::Button("GodHealth", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||||
|
ReviveLocalPlayer();
|
||||||
|
|
||||||
|
//Creadit WoodgamerHD
|
||||||
|
if (ImGui::Button("Give exp", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||||
|
GiveExperiencePoints(Config.EXP);
|
||||||
|
}
|
||||||
|
void TABThroll()
|
||||||
|
{
|
||||||
|
|
||||||
if (ImGui::Button("KillAura", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
if (ImGui::Button("KillAura", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||||
{
|
{
|
||||||
if (Config.GetPalPlayerCharacter() != NULL)
|
if (Config.GetPalPlayerCharacter() != NULL)
|
||||||
@ -201,7 +226,7 @@ namespace DX11_Base
|
|||||||
{
|
{
|
||||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
|
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
|
||||||
{
|
{
|
||||||
Config.GetPalPlayerCharacter()->GetPalPlayerController()->RequestLiftupThrow_ToServer(NULL);
|
Config.GetPalPlayerCharacter()->GetPalPlayerController()->RequestLiftup_ToServer(NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -243,28 +268,6 @@ namespace DX11_Base
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*if (ImGui::Button("DeleteSelf", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
|
||||||
{
|
|
||||||
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
|
|
||||||
if (p_appc != NULL)
|
|
||||||
{
|
|
||||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
|
|
||||||
{
|
|
||||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState() != NULL)
|
|
||||||
{
|
|
||||||
Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->Debug_RequestDeletePlayerSelf_ToServer();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
if (ImGui::Button("GodHealth", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
|
||||||
ReviveLocalPlayer();
|
|
||||||
|
|
||||||
//Creadit WoodgamerHD
|
|
||||||
if (ImGui::Button("Give exp", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
|
||||||
GiveExperiencePoints(Config.EXP);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TABConfig()
|
void TABConfig()
|
||||||
@ -682,6 +685,11 @@ namespace DX11_Base
|
|||||||
Tabs::TABExploit();
|
Tabs::TABExploit();
|
||||||
ImGui::EndTabItem();
|
ImGui::EndTabItem();
|
||||||
}
|
}
|
||||||
|
if (ImGui::BeginTabItem("Thrall"))
|
||||||
|
{
|
||||||
|
Tabs::TABThroll();
|
||||||
|
ImGui::EndTabItem();
|
||||||
|
}
|
||||||
if (ImGui::BeginTabItem("Database"))
|
if (ImGui::BeginTabItem("Database"))
|
||||||
{
|
{
|
||||||
Tabs::TABDatabase();
|
Tabs::TABDatabase();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user