forked from gcdsfh/PMDT
Merge pull request 'dkcp upadte' (#1) from adf/PMDT:adf-patch-1 into main
Reviewed-on: gcdsfh/PMDT#1
This commit is contained in:
@@ -136,9 +136,6 @@ ProcessPlayers();
|
|||||||
坐标调试=false;
|
坐标调试=false;
|
||||||
物资调试=true;
|
物资调试=true;
|
||||||
}
|
}
|
||||||
if (ImGui::Button(T("隐藏水印", "Hide Watermark"), ImVec2(145, 65))) {
|
|
||||||
水印=false;
|
|
||||||
}
|
|
||||||
|
|
||||||
ImGui::Text("%.2fFPS", 1000.0f / ImGui::GetIO().Framerate);
|
ImGui::Text("%.2fFPS", 1000.0f / ImGui::GetIO().Framerate);
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
@@ -831,9 +828,18 @@ if(物资功能){
|
|||||||
if (ImGui::Button(T("网络优化", "network optimization"), ImVec2(-1,40))){
|
if (ImGui::Button(T("网络优化", "network optimization"), ImVec2(-1,40))){
|
||||||
ApplyStableConfigToWorld(GetWorld());
|
ApplyStableConfigToWorld(GetWorld());
|
||||||
}}
|
}}
|
||||||
if(ImGui::Button(T("刷人机", "Spawn AI"),ImVec2(-1,40))){
|
if(ImGui::Button(T("刷人机10个", "Spawn AI x10"),ImVec2(-1,40))){
|
||||||
g_LocalPlayer->STPlayerController->SpawnAI(30);
|
g_LocalPlayer->STPlayerController->SpawnAI(10);
|
||||||
}
|
}
|
||||||
|
if (ImGui::Button(T("刷人机100个", "Spawn AI x100"), ImVec2(-1, 40))) {
|
||||||
|
g_LocalPlayer->STPlayerController->SpawnAI(100);
|
||||||
|
}
|
||||||
|
if (ImGui::Button(T("刷人机1000个", "Spawn AI x1000"), ImVec2(-1, 40))) {
|
||||||
|
g_LocalPlayer->STPlayerController->SpawnAI(1000);
|
||||||
|
}
|
||||||
|
if (ImGui::Button(T("刷人机10000个", "Spawn AI x10000"), ImVec2(-1, 40))) {
|
||||||
|
g_LocalPlayer->STPlayerController->SpawnAI(10000);
|
||||||
|
}
|
||||||
if (ImGui::Button(T("刷人机队友", "Spawn AI Teammate"), ImVec2(-1,40))){
|
if (ImGui::Button(T("刷人机队友", "Spawn AI Teammate"), ImVec2(-1,40))){
|
||||||
g_LocalPlayer->STPlayerController->SpawnAITeammate(1);
|
g_LocalPlayer->STPlayerController->SpawnAITeammate(1);
|
||||||
}
|
}
|
||||||
@@ -893,6 +899,27 @@ if (ImGui::Button(T("在当前位置-发动空袭","Call for air strikes"),ImVec
|
|||||||
ImGui::Text(T("玩家或控制器无效!", "Player or controller invalid!"));
|
ImGui::Text(T("玩家或控制器无效!", "Player or controller invalid!"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ImGui::Button(T("发动超级空袭", "Call for super strikes"), ImVec2(-1, 40))) {
|
||||||
|
if (g_LocalPlayer && g_LocalPlayer->STPlayerController) {
|
||||||
|
SDK::APawn* playerPawn = g_LocalPlayer->STPlayerController->Pawn;
|
||||||
|
|
||||||
|
if (playerPawn && playerPawn->RootComponent) {
|
||||||
|
SDK::FVector playerPosition = playerPawn->RootComponent->K2_GetComponentLocation();
|
||||||
|
float x = playerPosition.X;
|
||||||
|
float y = playerPosition.Y;
|
||||||
|
|
||||||
|
g_LocalPlayer->STPlayerController->StartAirAttackSpecified(x, y, 10000000000.00);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ImGui::Text(T("无法获取玩家Pawn或RootComponent!", "Unable to get player Pawn or RootComponent!"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ImGui::Text(T("玩家或控制器无效!", "Player or controller invalid!"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (ImGui::Button(T("无敌","invincible"),ImVec2(-1,40))) {
|
if (ImGui::Button(T("无敌","invincible"),ImVec2(-1,40))) {
|
||||||
auto objs = UObject::GetGlobalObjects();
|
auto objs = UObject::GetGlobalObjects();
|
||||||
for (int i = 0; i < objs.Num(); i++) {
|
for (int i = 0; i < objs.Num(); i++) {
|
||||||
@@ -1637,7 +1664,7 @@ if (ImGui::Button("传送(L城)", ImVec2(-1, 60))) {
|
|||||||
writefloat(zAxis, 82.663803f);
|
writefloat(zAxis, 82.663803f);
|
||||||
}
|
}
|
||||||
// 核电站的大鸡巴上
|
// 核电站的大鸡巴上
|
||||||
if (ImGui::Button("传送(核电站的大鸡巴上)", ImVec2(-1, 60))) {
|
if (ImGui::Button("传送(核电站上)", ImVec2(-1, 60))) {
|
||||||
long xAxis = getPointer(getPointer(getPointer(getPointer(UE4 + 0x4634ef0) + 0x20) + 0x139c) + 0x130) + 0x150;
|
long xAxis = getPointer(getPointer(getPointer(getPointer(UE4 + 0x4634ef0) + 0x20) + 0x139c) + 0x130) + 0x150;
|
||||||
long yAxis = getPointer(getPointer(getPointer(getPointer(UE4 + 0x4634ef0) + 0x20) + 0x139c) + 0x130) + 0x154;
|
long yAxis = getPointer(getPointer(getPointer(getPointer(UE4 + 0x4634ef0) + 0x20) + 0x139c) + 0x130) + 0x154;
|
||||||
long zAxis = getPointer(getPointer(getPointer(getPointer(UE4 + 0x4634ef0) + 0x20) + 0x139c) + 0x130) + 0x158;
|
long zAxis = getPointer(getPointer(getPointer(getPointer(UE4 + 0x4634ef0) + 0x20) + 0x139c) + 0x130) + 0x158;
|
||||||
@@ -3007,9 +3034,9 @@ if (ImGui::Button(T("肾上腺素", "Adrenaline"), ImVec2(-1,40))) { 肾上腺
|
|||||||
|
|
||||||
if(更多功能){
|
if(更多功能){
|
||||||
ImGui::SetNextWindowSize(ImVec2(390, 320), ImGuiCond_Once);
|
ImGui::SetNextWindowSize(ImVec2(390, 320), ImGuiCond_Once);
|
||||||
if (ImGui::Begin(T(混淆("娱乐功能-by山田"), 混淆("Entertainment Functionsi"))), 0,ImGuiWindowFlags_NoSavedSettings) {
|
if (ImGui::Begin(T(混淆("娱乐功能"), 混淆("Entertainment Functionsi"))), 0,ImGuiWindowFlags_NoSavedSettings) {
|
||||||
|
|
||||||
ImGui::SliderFloat(T("高度", "Height"), &高度, 1.0f, 9600.0f, "%.1f");
|
ImGui::SliderFloat(T("高度", "Height"), &高度, 1.0f, 999.0f, "%.1f");
|
||||||
if(ImGui::Button(T("高跳", "High Jump"),ImVec2(-1,40))){
|
if(ImGui::Button(T("高跳", "High Jump"),ImVec2(-1,40))){
|
||||||
|
|
||||||
高跳=true;
|
高跳=true;
|
||||||
@@ -3110,10 +3137,24 @@ auto objs = UObject::GetGlobalObjects();
|
|||||||
continue;
|
continue;
|
||||||
if (Object->IsA(ASTExtraBaseCharacter::StaticClass())) {
|
if (Object->IsA(ASTExtraBaseCharacter::StaticClass())) {
|
||||||
auto playerChar = (ASTExtraBaseCharacter *) Object;
|
auto playerChar = (ASTExtraBaseCharacter *) Object;
|
||||||
playerChar->SpeedScale = 19999;
|
playerChar->SpeedScale = 999999;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
if (ImGui::Button(T("趴下加速(开)速度99999999", "Prone Speed Boost (On)"), ImVec2(-1, 40))) {
|
||||||
|
|
||||||
|
auto objs = UObject::GetGlobalObjects();
|
||||||
|
for (int i = 0; i < objs.Num(); i++) {
|
||||||
|
auto Object = objs.GetByIndex(i);
|
||||||
|
if (isObjectInvalid(Object))
|
||||||
|
continue;
|
||||||
|
if (Object->IsA(ASTExtraBaseCharacter::StaticClass())) {
|
||||||
|
auto playerChar = (ASTExtraBaseCharacter*)Object;
|
||||||
|
playerChar->SpeedScale = 99999999999;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (ImGui::Button(T("趴下加速(关)", "Prone Speed Boost (Off)"), ImVec2(-1,40))){
|
if (ImGui::Button(T("趴下加速(关)", "Prone Speed Boost (Off)"), ImVec2(-1,40))){
|
||||||
|
|
||||||
auto objs = UObject::GetGlobalObjects();
|
auto objs = UObject::GetGlobalObjects();
|
||||||
@@ -3135,7 +3176,7 @@ auto objs = UObject::GetGlobalObjects();
|
|||||||
continue;
|
continue;
|
||||||
if (Object->IsA(UShootWeaponEntity::StaticClass())) {
|
if (Object->IsA(UShootWeaponEntity::StaticClass())) {
|
||||||
auto JLSDK = (UShootWeaponEntity *) Object;
|
auto JLSDK = (UShootWeaponEntity *) Object;
|
||||||
JLSDK->AnimationKick = 16.f;
|
JLSDK->AnimationKick = 26.f;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|
||||||
@@ -3152,7 +3193,7 @@ auto objs = UObject::GetGlobalObjects();
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|
||||||
if (ImGui::Button(T("120fps", "120 FPS"), ImVec2(-1,40))){
|
if (ImGui::Button(T("240fps", "240 FPS"), ImVec2(-1,40))){
|
||||||
auto objs = UObject::GetGlobalObjects();
|
auto objs = UObject::GetGlobalObjects();
|
||||||
for (int i = 0; i < objs.Num(); i++) {
|
for (int i = 0; i < objs.Num(); i++) {
|
||||||
auto Object = objs.GetByIndex(i);
|
auto Object = objs.GetByIndex(i);
|
||||||
@@ -3161,13 +3202,49 @@ if (ImGui::Button(T("120fps", "120 FPS"), ImVec2(-1,40))){
|
|||||||
|
|
||||||
if (Object->IsA(USTExtraGameInstance::StaticClass())) {
|
if (Object->IsA(USTExtraGameInstance::StaticClass())) {
|
||||||
auto SDK_USTExtraGameInstance = (USTExtraGameInstance *) Object;
|
auto SDK_USTExtraGameInstance = (USTExtraGameInstance *) Object;
|
||||||
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSLow = 120;
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSLow = 240;
|
||||||
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSMid = 120;
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSMid = 240;
|
||||||
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 120;
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 240;
|
||||||
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHDR = 120;
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHDR = 240;
|
||||||
|
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
|
if (ImGui::Button(T("120fps", "120 FPS"), ImVec2(-1, 40))) {
|
||||||
|
auto objs = UObject::GetGlobalObjects();
|
||||||
|
for (int i = 0; i < objs.Num(); i++) {
|
||||||
|
auto Object = objs.GetByIndex(i);
|
||||||
|
if (isObjectInvalid(Object))
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if (Object->IsA(USTExtraGameInstance::StaticClass())) {
|
||||||
|
auto SDK_USTExtraGameInstance = (USTExtraGameInstance*)Object;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSLow = 120;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSMid = 120;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 120;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHDR = 120;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ImGui::Button(T("6fps", "60 FPS"), ImVec2(-1, 40))) {
|
||||||
|
auto objs = UObject::GetGlobalObjects();
|
||||||
|
for (int i = 0; i < objs.Num(); i++) {
|
||||||
|
auto Object = objs.GetByIndex(i);
|
||||||
|
if (isObjectInvalid(Object))
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if (Object->IsA(USTExtraGameInstance::StaticClass())) {
|
||||||
|
auto SDK_USTExtraGameInstance = (USTExtraGameInstance*)Object;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSLow = 60;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSMid = 60;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 60;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHDR = 60;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (ImGui::Button(T("爬墙", "Wall Climb"), ImVec2(-1,40))){
|
if (ImGui::Button(T("爬墙", "Wall Climb"), ImVec2(-1,40))){
|
||||||
auto objs = UObject::GetGlobalObjects();
|
auto objs = UObject::GetGlobalObjects();
|
||||||
for (int i = 0; i < objs.Num(); i++) {
|
for (int i = 0; i < objs.Num(); i++) {
|
||||||
@@ -3183,15 +3260,15 @@ if (ImGui::Button(T("爬墙", "Wall Climb"), ImVec2(-1,40))){
|
|||||||
}
|
}
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
ImGui::SliderFloat(T("人物大小", "Character Size"), &巨人, 1.0f, 10.0f, "%.1f", 1);
|
ImGui::SliderFloat(T("人物大小", "Character Size"), &巨人, 1.0f, 100.0f, "%.1f", 1);
|
||||||
if (ImGui::Button(T("美国人", "American"), ImVec2(-1,40))){
|
if (ImGui::Button(T("美国人", "American"), ImVec2(-1,40))){
|
||||||
人物变大=true;
|
人物变大=true;
|
||||||
}
|
}
|
||||||
ImGui::SliderFloat(T("枪械大小", "Weapon Size"), &Gun_Size, 1.0f, 10.0f, "%.1f", 1);
|
ImGui::SliderFloat(T("枪械大小", "Weapon Size"), &Gun_Size, 1.0f, 1000.0f, "%.1f", 1);
|
||||||
if (ImGui::Button(T("美国枪", "American Gun"), ImVec2(-1,40))){
|
if (ImGui::Button(T("美国枪", "American Gun"), ImVec2(-1,40))){
|
||||||
枪械变大=true;
|
枪械变大=true;
|
||||||
}
|
}
|
||||||
ImGui::SliderFloat(T("速度", "Speed"), &XXXC, 1.0f, 50.0f, "%.1f", 1);
|
ImGui::SliderFloat(T("速度", "Speed"), &XXXC, 1.0f, 1000.0f, "%.1f", 1);
|
||||||
if (ImGui::Button(T("加速", "Speed Boost"), ImVec2(-1,40))){
|
if (ImGui::Button(T("加速", "Speed Boost"), ImVec2(-1,40))){
|
||||||
|
|
||||||
auto objs = UObject::GetGlobalObjects();
|
auto objs = UObject::GetGlobalObjects();
|
||||||
@@ -3219,7 +3296,7 @@ ImGui::End();
|
|||||||
}
|
}
|
||||||
if(开发者菜单){
|
if(开发者菜单){
|
||||||
ImGui::SetNextWindowSize(ImVec2(420, 320), ImGuiCond_Once);
|
ImGui::SetNextWindowSize(ImVec2(420, 320), ImGuiCond_Once);
|
||||||
if (ImGui::Begin(T(混淆("绘制功能-by山田"), 混淆("ESP Functions"))), 0,ImGuiWindowFlags_NoSavedSettings) {
|
if (ImGui::Begin(T(混淆("绘制功能"), 混淆("ESP Functions"))), 0,ImGuiWindowFlags_NoSavedSettings) {
|
||||||
{
|
{
|
||||||
ImGui::Columns(2);
|
ImGui::Columns(2);
|
||||||
ImGui::SetColumnOffset(1, 133);
|
ImGui::SetColumnOffset(1, 133);
|
||||||
|
|||||||
Reference in New Issue
Block a user