update Dup Item Creadit Kaotic13

This commit is contained in:
2200151533 2024-01-24 14:16:16 +08:00
parent 1ab35febd7
commit cbf8da8219
4 changed files with 87 additions and 25 deletions

View File

@ -12,7 +12,7 @@ public:
DWORD64 ClientBase = 0; DWORD64 ClientBase = 0;
DWORD64 offset_Tick = 0x2AB44D0; DWORD64 offset_Tick = 0x2AB44D0;
//<2F>˵<EFBFBD><CBB5>ж<EFBFBD> //<2F>˵<EFBFBD><CBB5>ж<EFBFBD>
bool IsESP = false; bool IsESP = true;
bool IsAimbot = false; bool IsAimbot = false;
bool IsSpeedHack = false; bool IsSpeedHack = false;
bool IsAttackModiler = false; bool IsAttackModiler = false;
@ -20,12 +20,15 @@ public:
bool IsInfStamina = false; bool IsInfStamina = false;
bool IsSafe = true; bool IsSafe = true;
bool IsInfinAmmo = false; bool IsInfinAmmo = false;
bool IsToggledFly = false;
bool IsMuteki = false; bool IsMuteki = false;
//<2F><><EFBFBD><EFBFBD> //<2F><><EFBFBD><EFBFBD>
float SpeedModiflers = 1.0f; float SpeedModiflers = 1.0f;
int DamageUp = 0; int DamageUp = 0;
int DefuseUp = 0; int DefuseUp = 0;
int EXP = 0;
int Item = 0;
float Pos[3] = {0,0,0};
SDK::APalPlayerCharacter* localPlayer = NULL; SDK::APalPlayerCharacter* localPlayer = NULL;
//<2F><><EFBFBD><EFBFBD> //<2F><><EFBFBD><EFBFBD>

View File

@ -3,6 +3,7 @@
void ESP() void ESP()
{ {
/**
if (Config.GetPalPlayerCharacter() != NULL) if (Config.GetPalPlayerCharacter() != NULL)
{ {
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL) if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
@ -11,6 +12,7 @@ void ESP()
DrawUActorComponent(Config.GetPalPlayerCharacter()->BlueprintCreatedComponents, ImColor(128, 0, 0)); DrawUActorComponent(Config.GetPalPlayerCharacter()->BlueprintCreatedComponents, ImColor(128, 0, 0));
} }
} }
**/
} }
void DrawUActorComponent(SDK::TArray<SDK::UActorComponent*> Comps,ImColor color) void DrawUActorComponent(SDK::TArray<SDK::UActorComponent*> Comps,ImColor color)
{ {
@ -28,4 +30,4 @@ void DrawUActorComponent(SDK::TArray<SDK::UActorComponent*> Comps,ImColor color)
} }
} }
} }

View File

@ -7,3 +7,5 @@ void ESP();
void DrawUActorComponent(SDK::TArray<SDK::UActorComponent*> Comps,ImColor color); void DrawUActorComponent(SDK::TArray<SDK::UActorComponent*> Comps,ImColor color);
void DrawPosition();

View File

@ -2,6 +2,31 @@
#include "../include/Menu.hpp" #include "../include/Menu.hpp"
#include "SDK.hpp" #include "SDK.hpp"
#include "config.h" #include "config.h"
//Talk: Teleport or Shop anywhere Config.GetPalPlayerCharacter()->GetPalPlayerController()->Transmitter->Character->NotifyTalkStart_ToServer()
void AnyWhereTP(SDK::FVector& vector,bool IsSafe)
{
if (!IsSafe)
{
if (Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState() != NULL)
{
SDK::FGuid guid = Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPlayerUId();
vector = { vector.X,vector.Y + 100,vector.Z };
Config.GetPalPlayerCharacter()->GetPalPlayerController()->Transmitter->Player->RegisterRespawnLocation_ToServer(guid, vector);
Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->RequestRespawn();
}
}
else
{
if (Config.GetPalPlayerCharacter()->GetPalPlayerController())
{
vector = { vector.X,vector.Y + 100,vector.Z };
Config.GetPalPlayerCharacter()->GetPalPlayerController()->Debug_Teleport2D(vector);
}
}
return;
}
void ExploitFly(bool IsFly) void ExploitFly(bool IsFly)
{ {
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter(); SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
@ -23,6 +48,7 @@ void ExploitFly(bool IsFly)
} }
} }
return;
} }
namespace DX11_Base { namespace DX11_Base {
@ -82,13 +108,11 @@ 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::SliderFloat("SpeedModifilers", &Config.SpeedModiflers, 1, 10);
ImGui::SliderInt("AttackModifilers", &Config.DamageUp, 0, 200000); ImGui::SliderInt("AttackModifilers", &Config.DamageUp, 0, 200000);
ImGui::SliderInt("defenseModifilers", &Config.DefuseUp, 0, 200000); ImGui::SliderInt("defenseModifilers", &Config.DefuseUp, 0, 200000);
//<2F><>ť<EFBFBD><C5A5><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>
if (ImGui::Button("PrintPlayerAddr", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) if (ImGui::Button("PrintPlayerAddr", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
{ {
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter(); SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
@ -100,10 +124,12 @@ namespace DX11_Base {
} }
void TABExploit() void TABExploit()
{ {
//<2F><><EFBFBD><EFBFBD><EFBFBD>õİ<C3B5>
//Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->RequestSpawnMonsterForPlayer(name, 5, 1); //Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->RequestSpawnMonsterForPlayer(name, 5, 1);
ImGui::Checkbox("SafeTeleport", &Config.IsSafe); ImGui::Checkbox("SafeTeleport", &Config.IsSafe);
if (ImGui::Button("ExploitTP", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) ImGui::InputFloat3("Pos:", Config.Pos);
ImGui::InputInt("EXP:", &Config.EXP);
ImGui::InputInt("ItemNum:", &Config.Item);
if (ImGui::Button("HomeTP", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
{ {
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter(); SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
if (p_appc != NULL) if (p_appc != NULL)
@ -124,15 +150,25 @@ namespace DX11_Base {
} }
} }
} }
} }
if (ImGui::Button("ExploitFly", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) if (ImGui::Button("AnywhereTP", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
{ {
ExploitFly(true); if (Config.GetPalPlayerCharacter()!= NULL)
{
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
{
if (Config.Pos != NULL)
{
SDK::FVector vector = { Config.Pos[0],Config.Pos[1],Config.Pos[2] };
AnyWhereTP(vector,Config.IsSafe);
}
}
}
} }
if (ImGui::Button("DisableFly", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) if (ImGui::Button("ToggleFly", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
{ {
ExploitFly(false); Config.IsToggledFly = !Config.IsToggledFly;
ExploitFly(Config.IsToggledFly);
} }
if (ImGui::Button("DeleteSelf", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) if (ImGui::Button("DeleteSelf", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
{ {
@ -166,7 +202,7 @@ namespace DX11_Base {
} }
} }
//Creadit WoodgamerHD //Creadit WoodgamerHD
if (ImGui::Button("MAX Level<50>", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) if (ImGui::Button("Give EXP<Num>", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
{ {
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter(); SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
if (p_appc != NULL) if (p_appc != NULL)
@ -175,28 +211,47 @@ namespace DX11_Base {
{ {
if (Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState() != NULL) if (Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState() != NULL)
{ {
Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->GrantExpForParty(99999999); if (Config.EXP >= 0)
{
Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->GrantExpForParty(Config.EXP);
}
} }
} }
} }
} }
/** Useful //Creadit Kaotic13
if (ImGui::Button("testTP", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20))) if (ImGui::Button("Give<Num>first item", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
{ {
if (Config.GetPalPlayerCharacter() != NULL) SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
if (p_appc != NULL)
{ {
if (Config.GetPalPlayerCharacter()->GetPalPlayerController()) if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
{ {
if (Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState() != NULL)
{
SDK::UPalPlayerInventoryData* InventoryData = Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->GetInventoryData();
if (InventoryData != NULL) {
SDK::UPalItemContainerMultiHelper* InventoryMultiHelper = InventoryData->InventoryMultiHelper;
if (InventoryMultiHelper != NULL) {
SDK::TArray<class SDK::UPalItemContainer*> Containers = InventoryMultiHelper->Containers;
if (Containers.Num() == 0) {
return;
}
SDK::FGuid guid = Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPlayerUId(); SDK::UPalItemSlot* FirstSlot = Containers[0]->Get(0);
SDK::FVector vector = Config.GetPalPlayerCharacter()->GetTransform().Translation;
SDK::FVector ca_vector = { vector.X + 3000,vector.Y + 100,vector.Z + 3000 }; if (FirstSlot != NULL)
Config.GetPalPlayerCharacter()->GetPalPlayerController()->Transmitter->Player->RegisterRespawnLocation_ToServer(guid, ca_vector); {
Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->RequestRespawn(); SDK::FPalItemId FirstItemId = FirstSlot->GetItemId();
int32 StackCount = FirstSlot->GetStackCount();
InventoryData->RequestAddItem(FirstItemId.StaticId, StackCount * Config.Item, true);
}
}
}
}
} }
} }
} }
**/
} }
void TABConfig() void TABConfig()
{ {