mirror of
https://github.com/swordbluesword/PalWorld-NetCrack.git
synced 2025-04-29 02:47:17 +09:00
added Teleporter,Improved layout.
This commit is contained in:
parent
a113baadda
commit
c0a374c7a8
3
config.h
3
config.h
@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
#include <Windows.h>
|
||||
#include "libs/utils/memory.h"
|
||||
#include "database.h"
|
||||
#include "SDK.hpp"
|
||||
#include "database.h"
|
||||
|
||||
typedef bool(*Tick)(SDK::APalPlayerCharacter* m_this, float DeltaSecond);
|
||||
|
||||
@ -30,6 +30,7 @@ public:
|
||||
bool bisOpenManager = false;
|
||||
bool filterPlayer = false;
|
||||
bool bisRandomName = false;
|
||||
bool bisTeleporter = false;
|
||||
float SpeedModiflers = 1.0f;
|
||||
//def and value
|
||||
float mDebugESPDistance = 5.0f;
|
||||
|
41
database.h
41
database.h
@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include "pch.h"
|
||||
#include <map>
|
||||
|
||||
namespace database
|
||||
{
|
||||
@ -1141,4 +1142,44 @@ namespace database
|
||||
"PalSphere_Robbery",
|
||||
"PalSphere_Debug",
|
||||
};
|
||||
|
||||
static std::map<std::string, std::vector<float>>locationMap = {
|
||||
{"Anubis", { -170269, 94163.7, -1527.83 }},
|
||||
{"Azurobe", { -300596, 136090, -2033.13 }},
|
||||
{"Beakon", { -237981, 2559.41, 8413.65 }},
|
||||
{"BroncherryAqua", { -330059.98, 81386.99, -1929.8 }},
|
||||
{"Broncherry", { -430777.18, 56266.50, -1774.57 }},
|
||||
{"Bushi", { -349079.05, 104564.46, -121.11 }},
|
||||
{"Chillet", { -315195, 236714, 2452.12 }},
|
||||
{"DinossomLux", { 125311, 318722, 266.384 }},
|
||||
{"Elizabee", { -197627, 167101, -1964.75 }},
|
||||
{"Felbat", { -149024, -30562.7, -1291.73 }},
|
||||
{"Fenglope", { -332470, 40256.4, 1333.93 }},
|
||||
{"Frostallion", { 111978, -6394.85, 21940.2 }},
|
||||
{"Grintale", { -234807, 321166, -1826.19 }},
|
||||
{"Gumoss", { -409885.46, 108120.6, -1949.58 }},
|
||||
{"Jetragon", { -270762, -205837, 3834.92 }},
|
||||
{"Jormuntide2", { -163184, 314483, -2100.13 }},
|
||||
{"Jormuntide", { -244207, 74851.5, -1157.08 }},
|
||||
{"Katress", { -276223, 268992, -1209.67 }},
|
||||
{"Kingpaca", { -336105, 181639, 901.022 }},
|
||||
{"Lunaris", { -426589.48, 90677.8, 215.90 }},
|
||||
{"Mammorest", { -341702, 243628, -533.76 }},
|
||||
{"Menasting", { -77943, 393182, 665.51 }},
|
||||
{"MossandaLux", { -208233, 364318, 1167.46 }},
|
||||
{"Nitewing", { -157475, 30628.2, -1894.64 }},
|
||||
{"Paladius", { 187235, 349924, 2563.07 }},
|
||||
{"Penking", { -285343.94, 210129.58, 854.23 }},
|
||||
{"Petallia", { -245440, 149098, 913.216 }},
|
||||
{"Quivern", { -183795, 40661.4, 8547.3 }},
|
||||
{"RelaxasaurusLux", { -282860, 64923.7, 5357.72 }},
|
||||
{"Siblex", { -92023.6, 273762, 18967.3 }},
|
||||
{"Suzaku", { -4320.07, 340927, 205.005 }},
|
||||
{"Univolt", { -372419.57, 102508.29, -392 }},
|
||||
{"Vaelet", { -147042, 217357, 2857.45 }},
|
||||
{"Verdash", { -119349, 288954, 3186.98 }},
|
||||
{"Warsect", { -226359, 231970, -1807.45 }},
|
||||
{"WumpoBotan", { -148826, 364859, -1831.33 }},
|
||||
};
|
||||
|
||||
}
|
111
src/Menu.cpp
111
src/Menu.cpp
@ -242,12 +242,11 @@ namespace DX11_Base {
|
||||
void TABExploit()
|
||||
{
|
||||
//Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->RequestSpawnMonsterForPlayer(name, 5, 1);
|
||||
ImGui::Checkbox("IsQuick", &Config.IsQuick);
|
||||
ImGui::Checkbox("Open Manager", &Config.bisOpenManager);
|
||||
ImGui::Checkbox("SafeTeleport", &Config.IsSafe);
|
||||
ImGui::Checkbox("Show Quick Tab", &Config.IsQuick);
|
||||
ImGui::Checkbox("Open Manager Menu", &Config.bisOpenManager);
|
||||
ImGui::Checkbox("Show Teleporter Tab", &Config.bisTeleporter);
|
||||
//creadit
|
||||
//ImGui::Checkbox("PalIsMonster", &Config.IsMonster);
|
||||
ImGui::InputFloat3("Pos:", Config.Pos);
|
||||
ImGui::InputInt("EXP:", &Config.EXP);
|
||||
ImGui::InputText("Item Name", Config.ItemName,sizeof(Config.ItemName));
|
||||
ImGui::InputInt("Item Num", &Config.Item);
|
||||
@ -290,64 +289,6 @@ namespace DX11_Base {
|
||||
{
|
||||
UnlockAllEffigies();
|
||||
}
|
||||
|
||||
////ImGui::InputText("Pal Name", Config.PalName, sizeof(Config.PalName));
|
||||
// //if (!Config.IsMonster){ImGui::InputInt("Pal Rank", &Config.PalRank);}
|
||||
// //if (Config.IsMonster) { ImGui::InputInt("Pal Count", &Config.PalNum); }
|
||||
// ImGui::InputInt("Pal lvl", &Config.PalLvL);
|
||||
/*if (ImGui::Button("Spawn Pal", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter() != NULL)
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState() != NULL)
|
||||
{
|
||||
if (Config.PalName != NULL)
|
||||
{
|
||||
g_Console->printdbg("\n\n[+] PalName: %s [+]\n\n", g_Console->color.green, Config.ItemName);
|
||||
SpawnPal(Config.PalName,Config.IsMonster,Config.PalRank,Config.PalLvL,Config.PalNum);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
if (ImGui::Button("HomeTP", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||
{
|
||||
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
|
||||
if (p_appc != NULL)
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState() != NULL)
|
||||
{
|
||||
if (Config.IsSafe)
|
||||
{
|
||||
Config.GetPalPlayerCharacter()->GetPalPlayerController()->TeleportToSafePoint_ToServer();
|
||||
}
|
||||
else
|
||||
{
|
||||
Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->RequestRespawn();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* if (ImGui::Button("AnywhereTP", ImVec2(ImGui::GetWindowContentRegionWidth() - 3, 20)))
|
||||
{
|
||||
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("ToggleFly", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||
{
|
||||
Config.IsToggledFly = !Config.IsToggledFly;
|
||||
@ -405,6 +346,7 @@ namespace DX11_Base {
|
||||
}
|
||||
void TABConfig()
|
||||
{
|
||||
|
||||
ImGui::Text("PalWorld Menu");
|
||||
ImGui::Text("VERSION: v1.2.3");
|
||||
|
||||
@ -439,6 +381,46 @@ namespace DX11_Base {
|
||||
}
|
||||
}
|
||||
}
|
||||
void TABTeleporter()
|
||||
{
|
||||
ImGui::Checkbox("SafeTeleport", &Config.IsSafe);
|
||||
if (ImGui::Button("Home", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||
{
|
||||
SDK::APalPlayerCharacter* p_appc = Config.GetPalPlayerCharacter();
|
||||
if (p_appc != NULL)
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController() != NULL)
|
||||
{
|
||||
if (Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState() != NULL)
|
||||
{
|
||||
if (Config.IsSafe)
|
||||
{
|
||||
Config.GetPalPlayerCharacter()->GetPalPlayerController()->TeleportToSafePoint_ToServer();
|
||||
}
|
||||
else
|
||||
{
|
||||
Config.GetPalPlayerCharacter()->GetPalPlayerController()->GetPalPlayerState()->RequestRespawn();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ImGui::InputFloat3("Pos",Config.Pos);
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("TP", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
|
||||
{
|
||||
SDK::FVector vector = { Config.Pos[0],Config.Pos[1],Config.Pos[2] };
|
||||
AnyWhereTP(vector, Config.IsSafe);
|
||||
}
|
||||
for (const auto& pair : database::locationMap) {
|
||||
const std::string& locationName = pair.first;
|
||||
if (ImGui::Button(locationName.c_str())) {
|
||||
SDK::FVector location = SDK::FVector(pair.second[0], pair.second[1], pair.second[2]);
|
||||
AnyWhereTP(location, Config.IsSafe);
|
||||
}
|
||||
}
|
||||
}
|
||||
void TABQuick()//Creadit:asashi
|
||||
{
|
||||
if (ImGui::Button("Basic Items stack", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20))) {
|
||||
@ -644,6 +626,11 @@ namespace DX11_Base {
|
||||
{
|
||||
Tabs::TABQuick();
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
if (Config.bisTeleporter && ImGui::BeginTabItem("Teleporter"))
|
||||
{
|
||||
Tabs::TABTeleporter();
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
ImGui::EndTabBar();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user