mirror of
https://github.com/swordbluesword/PalWorld-NetCrack.git
synced 2025-04-29 02:47:17 +09:00
Update MaxLevel Creadit:WoodgamerHD
This commit is contained in:
parent
b4150339bb
commit
4bbebe5d84
@ -14,6 +14,7 @@ bool DetourTick(SDK::APalPlayerCharacter* m_this,float DeltaSecond)
|
||||
if (m_this->GetPalPlayerController()->IsLocalPlayerController())
|
||||
{
|
||||
Config.localPlayer = m_this;
|
||||
|
||||
}
|
||||
}
|
||||
return OldTickFunc(m_this, DeltaSecond);
|
||||
|
1
config.h
1
config.h
@ -20,6 +20,7 @@ public:
|
||||
bool IsInfStamina = false;
|
||||
bool IsSafe = true;
|
||||
bool IsInfinAmmo = false;
|
||||
bool IsMuteki = false;
|
||||
|
||||
//<2F><><EFBFBD><EFBFBD>
|
||||
float SpeedModiflers = 1.0f;
|
||||
|
25
feature.cpp
25
feature.cpp
@ -3,26 +3,27 @@
|
||||
|
||||
void ESP()
|
||||
{
|
||||
if (Config.IsESP)
|
||||
if (Config.GetPalPlayerCharacter() != NULL)
|
||||
{
|
||||
DrawPlayerList(ImColor(128,0,0));
|
||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
|
||||
{
|
||||
|
||||
DrawUActorComponent(Config.GetPalPlayerCharacter()->BlueprintCreatedComponents, ImColor(128, 0, 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void DrawPlayerList(ImColor color)
|
||||
void DrawUActorComponent(SDK::TArray<SDK::UActorComponent*> Comps,ImColor color)
|
||||
{
|
||||
ImGui::GetBackgroundDrawList()->AddText(nullptr, 16, ImVec2(ImGui::GetIO().DisplaySize.x / 2, ImGui::GetIO().DisplaySize.y / 2), color, "Drawing...");
|
||||
|
||||
|
||||
SDK::TArray<SDK::AActor*> actors = *(SDK::TArray<SDK::AActor*>*)(*((uint64_t*)(*(uint64_t*)(Config.GetUWorld()->PersistentLevel))+0x098));
|
||||
|
||||
if (actors.IsValid())
|
||||
if (Comps.IsValid())
|
||||
{
|
||||
for (int i = 0; i < actors.Num(); i++)
|
||||
for (int i = 0; i < Comps.Num(); i++)
|
||||
{
|
||||
if (actors[i] != NULL)
|
||||
|
||||
if (Comps[i] != NULL)
|
||||
{
|
||||
ImGui::GetBackgroundDrawList()->AddText(nullptr, 16, ImVec2(10, 10 + (i * 30)), color, actors[i]->GetFullName().c_str());
|
||||
|
||||
ImGui::GetBackgroundDrawList()->AddText(nullptr, 16, ImVec2(10, 10 + (i * 30)), color, Comps[i]->GetFullName().c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,5 +5,5 @@
|
||||
|
||||
void ESP();
|
||||
|
||||
void DrawPlayerList(ImColor color);
|
||||
void DrawUActorComponent(SDK::TArray<SDK::UActorComponent*> Comps,ImColor color);
|
||||
|
||||
|
@ -249,8 +249,6 @@ namespace DX11_Base {
|
||||
|
||||
// Render Menu Loop
|
||||
g_Menu->Draw();
|
||||
//<><CDB8>
|
||||
ESP();
|
||||
ImGui::EndFrame();
|
||||
ImGui::Render();
|
||||
m_DeviceContext->OMSetRenderTargets(1, &m_RenderTargetView, NULL);
|
||||
|
51
src/Menu.cpp
51
src/Menu.cpp
@ -69,6 +69,9 @@ namespace DX11_Base {
|
||||
|
||||
ImGui::Checkbox("InfStamina", &Config.IsInfStamina);
|
||||
|
||||
//Creadit Mokobake
|
||||
//ImGui::Checkbox("MuteKiGodmode", &Config.IsMuteki);
|
||||
|
||||
if (ImGui::Button("ToggleInfAmmo",ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->ShooterComponent != NULL && Config.GetPalPlayerCharacter()->ShooterComponent->CanShoot())
|
||||
@ -79,6 +82,7 @@ namespace DX11_Base {
|
||||
}
|
||||
}
|
||||
}
|
||||
//Talk: Teleport or Shop anywhere Config.GetPalPlayerCharacter()->GetPalPlayerController()->Transmitter->Character->NotifyTalkStart_ToServer()
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>
|
||||
ImGui::SliderFloat("SpeedModifilers", &Config.SpeedModiflers, 1, 10);
|
||||
ImGui::SliderInt("AttackModifilers", &Config.DamageUp, 0, 200000);
|
||||
@ -156,11 +160,43 @@ namespace DX11_Base {
|
||||
SDK::FFixedPoint fixpoint = SDK::FFixedPoint();
|
||||
fixpoint.Value = 99999999;
|
||||
Config.GetPalPlayerCharacter()->ReviveCharacter_ToServer(fixpoint);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Creadit WoodgamerHD
|
||||
if (ImGui::Button("MAX Level<50>", 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()->GrantExpForParty(99999999);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Useful
|
||||
if (ImGui::Button("testTP", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter() != NULL)
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController())
|
||||
{
|
||||
|
||||
SDK::FGuid guid = Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPlayerUId();
|
||||
SDK::FVector vector = Config.GetPalPlayerCharacter()->GetTransform().Translation;
|
||||
SDK::FVector ca_vector = { vector.X + 3000,vector.Y + 100,vector.Z + 3000 };
|
||||
Config.GetPalPlayerCharacter()->GetPalPlayerController()->Transmitter->Player->RegisterRespawnLocation_ToServer(guid, ca_vector);
|
||||
Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->RequestRespawn();
|
||||
}
|
||||
}
|
||||
}
|
||||
**/
|
||||
}
|
||||
void TABConfig()
|
||||
{
|
||||
@ -182,6 +218,10 @@ namespace DX11_Base {
|
||||
|
||||
void Menu::Draw()
|
||||
{
|
||||
if (Config.IsESP)
|
||||
{
|
||||
ESP();
|
||||
}
|
||||
if (g_GameVariables->m_ShowMenu)
|
||||
MainMenu();
|
||||
|
||||
@ -309,6 +349,15 @@ namespace DX11_Base {
|
||||
}
|
||||
}
|
||||
}
|
||||
//Creadit Mokobake
|
||||
/**
|
||||
if (Config.GetPalPlayerCharacter() != NULL)
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->CharacterParameterComponent != NULL)
|
||||
{
|
||||
Config.GetPalPlayerCharacter()->CharacterParameterComponent->bIsEnableMuteki = Config.IsMuteki;
|
||||
}
|
||||
}**/
|
||||
if (Config.IsDefuseModiler)
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter() != NULL && Config.GetPalPlayerCharacter()->CharacterParameterComponent->DefenseUp != Config.DefuseUp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user