Merge pull request 'dckp update' (#4) from adf-patch-1 into main
Reviewed-on: http://156.233.229.178:3000/gcdsfh/pubg/pulls/4
This commit was merged in pull request #4.
This commit is contained in:
@@ -1949,10 +1949,25 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
|
|||||||
WriteInt(UE4+0x10ba09c,-516948194);
|
WriteInt(UE4+0x10ba09c,-516948194);
|
||||||
WriteInt(UE4+0x1040090,1);
|
WriteInt(UE4+0x1040090,1);
|
||||||
}
|
}
|
||||||
|
if (ImGui::CollapsingHeader("刷新人机")) {
|
||||||
if (ImGui::Button("刷30个人机", ImVec2(-1, 35))) {
|
if (ImGui::Button("刷30个人机", ImVec2(-1, 35))) {
|
||||||
USkillUtils::GetPlayerController(UGameplayStatics::GetPlayerController(GetWorld(), 0)->Pawn)->SpawnAI(30);
|
USkillUtils::GetPlayerController(UGameplayStatics::GetPlayerController(GetWorld(), 0)->Pawn)->SpawnAI(30);
|
||||||
}
|
}
|
||||||
|
if (ImGui::Button("刷50个人机", ImVec2(-1, 35))) {
|
||||||
|
USkillUtils::GetPlayerController(UGameplayStatics::GetPlayerController(GetWorld(), 0)->Pawn)->SpawnAI(50);
|
||||||
|
}
|
||||||
|
if (ImGui::Button("刷100个人机", ImVec2(-1, 35))) {
|
||||||
|
USkillUtils::GetPlayerController(UGameplayStatics::GetPlayerController(GetWorld(), 0)->Pawn)->SpawnAI(100);
|
||||||
|
}
|
||||||
|
if (ImGui::Button("刷1000个人机", ImVec2(-1, 35))) {
|
||||||
|
USkillUtils::GetPlayerController(UGameplayStatics::GetPlayerController(GetWorld(), 0)->Pawn)->SpawnAI(1000);
|
||||||
|
}
|
||||||
|
if (ImGui::Button("刷10000个人机", ImVec2(-1, 35))) {
|
||||||
|
USkillUtils::GetPlayerController(UGameplayStatics::GetPlayerController(GetWorld(), 0)->Pawn)->SpawnAI(10000);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -2181,6 +2196,22 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ImGui::Button("240帧", ImVec2(-1,35))){
|
||||||
|
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 = 240;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSMid = 240;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 240;
|
||||||
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHDR = 240;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
if (ImGui::Button("120帧", ImVec2(-1, 35))) {
|
if (ImGui::Button("120帧", ImVec2(-1, 35))) {
|
||||||
auto objs = UObject::GetGlobalObjects();
|
auto objs = UObject::GetGlobalObjects();
|
||||||
for (int i = 0; i < objs.Num(); i++) {
|
for (int i = 0; i < objs.Num(); i++) {
|
||||||
@@ -2197,6 +2228,22 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (ImGui::Button("60帧", ImVec2(-1, 35))) {
|
||||||
|
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("除雾", ImVec2(-1,35))){
|
if (ImGui::Button("除雾", ImVec2(-1,35))){
|
||||||
auto objs = UObject::GetGlobalObjects();
|
auto objs = UObject::GetGlobalObjects();
|
||||||
@@ -2273,10 +2320,33 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
|
|||||||
if (isObjectInvalid(Object)) continue;
|
if (isObjectInvalid(Object)) continue;
|
||||||
if (Object->IsA(ASTExtraBaseCharacter::StaticClass())) {
|
if (Object->IsA(ASTExtraBaseCharacter::StaticClass())) {
|
||||||
auto playerChar = (ASTExtraBaseCharacter *) Object;
|
auto playerChar = (ASTExtraBaseCharacter *) Object;
|
||||||
playerChar->SpeedScale = 99999;
|
playerChar->SpeedScale = 999999;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (ImGui::CollapsingHeader("特殊功能")) {
|
||||||
|
if (ImGui::Button("传送(高空)", ImVec2(-1, 60))) {
|
||||||
|
long z = getPointer(getPointer(getPointer(getPointer(UE4 + 0x4634ef0) + 0x20) + 0x139c) + 0x130) + 0x158;
|
||||||
|
writefloat(z, 7726.837036);
|
||||||
|
}
|
||||||
|
if (ImGui::Button("自由落体", ImVec2(-1, 60))) {
|
||||||
|
auto pc = UGameplayStatics::GetPlayerController(GetWorld(), 0);
|
||||||
|
auto STExtraPlayerCharacter = (ASTExtraPlayerCharacter*)(pc->Pawn);
|
||||||
|
STExtraPlayerCharacter->SetParachuteState(EParachuteState::PS_FreeFall);
|
||||||
|
}
|
||||||
|
if (ImGui::Button("开伞", ImVec2(-1, 60)))
|
||||||
|
{
|
||||||
|
auto pc = UGameplayStatics::GetPlayerController(GetWorld(), 0);
|
||||||
|
auto STExtraPlayerCharacter = (ASTExtraPlayerCharacter*)(pc->Pawn);
|
||||||
|
STExtraPlayerCharacter->SetParachuteState(EParachuteState::PS_Opening);
|
||||||
|
}
|
||||||
|
if (ImGui::Button("收伞", ImVec2(-1, 60)))
|
||||||
|
{
|
||||||
|
auto pc = UGameplayStatics::GetPlayerController(GetWorld(), 0);
|
||||||
|
auto STExtraPlayerCharacter = (ASTExtraPlayerCharacter*)(pc->Pawn);
|
||||||
|
STExtraPlayerCharacter->SetParachuteState(EParachuteState::PS_None);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (ImGui::Button("趴下加速[关]", ImVec2(-1, 35))) {
|
if (ImGui::Button("趴下加速[关]", ImVec2(-1, 35))) {
|
||||||
auto objs = UObject::GetGlobalObjects();
|
auto objs = UObject::GetGlobalObjects();
|
||||||
@@ -2314,25 +2384,13 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImGui::Button("开启120帧", ImVec2(-1, 35))) {
|
if (ImGui::Button("240帧", ImVec2(-1, 35))) {
|
||||||
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);
|
||||||
if (isObjectInvalid(Object)) continue;
|
if (isObjectInvalid(Object))
|
||||||
if (Object->IsA(USTExtraGameInstance::StaticClass())) {
|
continue;
|
||||||
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("开启240帧", ImVec2(-1, 35))) {
|
|
||||||
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())) {
|
if (Object->IsA(USTExtraGameInstance::StaticClass())) {
|
||||||
auto SDK_USTExtraGameInstance = (USTExtraGameInstance*)Object;
|
auto SDK_USTExtraGameInstance = (USTExtraGameInstance*)Object;
|
||||||
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSLow = 240;
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSLow = 240;
|
||||||
@@ -2342,11 +2400,29 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ImGui::Button("开启60帧", ImVec2(-1, 35))) {
|
if (ImGui::Button("120帧", ImVec2(-1, 35))) {
|
||||||
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);
|
||||||
if (isObjectInvalid(Object)) continue;
|
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("60帧", ImVec2(-1, 35))) {
|
||||||
|
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())) {
|
if (Object->IsA(USTExtraGameInstance::StaticClass())) {
|
||||||
auto SDK_USTExtraGameInstance = (USTExtraGameInstance*)Object;
|
auto SDK_USTExtraGameInstance = (USTExtraGameInstance*)Object;
|
||||||
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSLow = 60;
|
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSLow = 60;
|
||||||
@@ -2357,6 +2433,25 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ImGui::Button("除雾", ImVec2(-1, 35))) {
|
||||||
|
auto objs = UObject::GetGlobalObjects();
|
||||||
|
for (int i = 0; i < objs.Num(); i++) {
|
||||||
|
auto Object = objs.GetByIndex(i);
|
||||||
|
if (isObjectInvalid(Object))
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if (Object->IsA(UExponentialHeightFogComponent::StaticClass())) {
|
||||||
|
auto playerChar = (UExponentialHeightFogComponent*)Object;
|
||||||
|
playerChar->SetFogMaxOpacity(0.0f);
|
||||||
|
playerChar->SetFogDensity(0.0f);
|
||||||
|
playerChar->SetFogHeightFalloff(0.0f);
|
||||||
|
playerChar->SetFogCutoffDistance(0.0f);
|
||||||
|
playerChar->SetStartDistance(0.0f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (ImGui::Button("无限子弹", ImVec2(-1, 35))) {
|
if (ImGui::Button("无限子弹", ImVec2(-1, 35))) {
|
||||||
auto objs = UObject::GetGlobalObjects();
|
auto objs = UObject::GetGlobalObjects();
|
||||||
for (int i = 0; i < objs.Num(); i++) {
|
for (int i = 0; i < objs.Num(); i++) {
|
||||||
@@ -2489,7 +2584,6 @@ if (ImGui::CollapsingHeader("流式关卡管理")) {
|
|||||||
|
|
||||||
ImGui::EndTabBar();
|
ImGui::EndTabBar();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user