Merge pull request '上传文件至「/」' (#2) from adf-patch-1 into main

Reviewed-on: http://156.233.229.178:3000/gcdsfh/pubg/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
2026-05-02 10:03:04 +00:00
+106 -51
View File
@@ -1194,6 +1194,26 @@ void 一键生成动作() {
(); (); (); (); (); (); (); (); (); ();
} }
void () {
AKM_Chicheng(); AKM_Rongyao(); AKM_Wumujinwen(); AKM_Xueshi(); AKM_Kuangnu(); M16A4_Shachi(); M16A4_Qingyao(); M16A4_Wumujinwen(); M16A4_Huangshi(); M16A4_Yezhanyinghao(); M16A4_Kuangnu(); SCARL_Kuangnu(); SCARL_Wumujinwen(); SCARL_Chicheng(); SCARL_Xueshi();
M416_RocketGirl(); M416_Wumujinwen(); M416_Kuishe(); M416_Tuya(); M416_Shamofengbao(); M416_Xueyumicai(); M416_Xueshi(); M416_Chicheng(); M416_Spring(); GROZA_Kuangnu(); AUG_Xueshi(); UZI_Kuangnu(); UMP9_Chicheng(); UMP9_Rongyao(); UMP9_RocketGirl();
UMP9_Spring(); Kar98K_Qingyao(); Kar98K_Wumujinwen(); Kar98K_FireLava(); Kar98K_Xueshi(); Kar98K_Spring(); AWM_Rainbow(); SKS_Chicheng(); S686_Chicheng(); P92_Kuangnu(); P1911_Qingyao(); Crowbar_RedNight(); Pan_DoubleYolk(); Pan_Survivor(); Pan_NoHunt();
Pan_RottenTomato(); Pan_Forward(); Pan_RedNight(); (); (); (); (); (); (); (); (); (); (); (); ();
(); (); (); (); (); (); (); (); (); (); (); (); (); (); ();
(); (); (); (); (); (); (); (); (); (); (); (); (); (); ();
(); (); (); (); (); (); (); (); (); (); Q币(); (); (); (); ();
(); (); (); (); (); (); 西(); (); (); (); (); (); (); (); ();
(); (); (); (); (); (); (); (); (); (); (); (); AKM(); M416(); AWM();
M16A4(); GROZA(); SCARL(); AUG(); QBZ(); M762(); MK47(); G36C(); UZI(); UMP9(); Vector(); Thompson(); PP19(); Kar98K(); M24();
SKS(); VSS(); Mini14(); Mk14(); Win94(); SLR(); QBU(); S686(); S1897(); S12K(); M249(); DP28(); P92(); P1911(); R1895();
P18C(); R45(); SawedOff(); SignalGun(); Scorpion(); ChickenFirework(); LanternFirework(); BeastSignal(); ChristmasSignal(); NewYearFirework(); Crossbow(); RiotShield(); Machete(); Crowbar(); Sickle();
Pan(); Bullet762(); Bullet556(); ShotgunShell(); Bullet45(); Magnum(); SignalFlare(); Arrow(); FireworkShell(); BeastBait(); Choke(); SMGCompensator(); SniperCompensator(); SMGFlashHider(); SniperFlashHider();
SMGSilencer(); SniperSilencer(); PistolSilencer(); RifleCompensator(); RifleFlashHider(); RifleSilencer(); Duckbill(); AngledGrip(); VerticalGrip(); LightGrip(); HalfGrip(); ThumbGrip(); LaserSight(); RedDot(); Holographic();
Scope2x(); Scope4x(); Scope8x(); CantedSight(); PistolExtMag(); PistolQuickMag(); PistolQuickExtMag(); SMGExtMag(); SMGQuickMag(); SMGQuickExtMag(); SniperExtMag(); SniperQuickMag(); SniperQuickExtMag(); ShotgunBulletLoops(); RifleExtMag();
RifleQuickMag(); RifleQuickExtMag(); Kar98kLoops(); UziStock(); TacticalStock(); CheekPad(); Quiver(); (); HelmetLv3(); VestLv3(); BackpackLv3(); HelmetLv1(); VestLv1(); BackpackLv1(); HelmetLv2();
Bullet762(); Bullet556(); ShotgunShell(); Bullet45(); Magnum(); SignalFlare();
Arrow(); FireworkShell(); VestLv2(); BackpackLv2(); ChristmasHelmet(); BeastHelmet();
}
int getItemType(int itemID) { int getItemType(int itemID) {
if (itemID >= 101001 && itemID <= 603001) { if (itemID >= 101001 && itemID <= 603001) {
@@ -1672,7 +1692,7 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
} else { } else {
ImGui::PushStyleColor(ImGuiCol_Text, accentColor); ImGui::PushStyleColor(ImGuiCol_Text, accentColor);
ImGui::Text("永远相信美好的事情即将发生."); ImGui::Text("你看到了我.");
ImGui::PopStyleColor(); ImGui::PopStyleColor();
ImGui::SameLine(ImGui::GetWindowWidth() - 120); ImGui::SameLine(ImGui::GetWindowWidth() - 120);
ImGui::Separator(); ImGui::Separator();
@@ -1915,13 +1935,7 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
RenderVirtualKeyboard(); RenderVirtualKeyboard();
} }
} }
ImGui::PopItemWidth();
ImGui::EndTabItem();
}
if (ImGui::BeginTabItem("开服功能")) { if (ImGui::BeginTabItem("开服功能")) {
ImGui::Spacing(); ImGui::Spacing();
@@ -1949,16 +1963,29 @@ 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);
}
} }
if (ImGui::CollapsingHeader("刷新物资")) { if (ImGui::CollapsingHeader("刷新物资")) {
if (ImGui::Button("刷所有物品", ImVec2(-1, 35))) ();
if (ImGui::Button("刷游戏武器", ImVec2(-1, 35))) SpawnAllGear2(); if (ImGui::Button("刷游戏武器", ImVec2(-1, 35))) SpawnAllGear2();
if (ImGui::Button("刷武器皮肤", ImVec2(-1, 35))) SpawnAllSkinWeapons(); if (ImGui::Button("刷武器皮肤", ImVec2(-1, 35))) SpawnAllSkinWeapons();
if (ImGui::Button("刷游戏装备", ImVec2(-1, 35))) SpawnAllGear(); if (ImGui::Button("刷游戏装备", ImVec2(-1, 35))) SpawnAllGear();
@@ -1990,7 +2017,7 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
} }
} }
if (ImGui::CollapsingHeader("防崩方案")) { if (ImGui::CollapsingHeader("防崩技术")) {
if (ImGui::Button("心跳防崩", ImVec2(-1, 35))){ if (ImGui::Button("心跳防崩", ImVec2(-1, 35))){
SDK::UGameBackendHUD* hud = UGameBackendHUD::GetInstance(); SDK::UGameBackendHUD* hud = UGameBackendHUD::GetInstance();
SDK::UGameFrontendHUD* hd = hud->GetFirstGameFrontendHUD(); SDK::UGameFrontendHUD* hd = hud->GetFirstGameFrontendHUD();
@@ -2181,22 +2208,48 @@ 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)) if (isObjectInvalid(Object)) continue;
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.PUBGDeviceFPSMid = 240;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 240;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHDR = 240;
}
}
}
if (ImGui::Button("开启120帧", 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 = 120; SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSLow = 120;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSMid = 120; SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSMid = 120;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 120; SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 120;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHDR = 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())) {
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();
@@ -2216,37 +2269,37 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
} }
} }
if (ImGui::Button("枪械一套", ImVec2(-1, 35))) { if (ImGui::Button("枪械一套", ImVec2(-1,35))){
auto WeaponManagerComponent = g_LocalPlayer->WeaponManagerComponent; auto WeaponManagerComponent = g_LocalPlayer->WeaponManagerComponent;
if (WeaponManagerComponent) { if (WeaponManagerComponent) {
auto Slot = WeaponManagerComponent->GetCurrentUsingPropSlot(); auto Slot = WeaponManagerComponent->GetCurrentUsingPropSlot();
if ((int)Slot.GetValue() >= 1 && (int)Slot.GetValue() <= 3) { if ((int) Slot.GetValue() >= 1 && (int) Slot.GetValue() <= 3) {
auto CurrentWeaponReplicated = (ASTExtraShootWeapon*)WeaponManagerComponent->CurrentWeaponReplicated; auto CurrentWeaponReplicated = (ASTExtraShootWeapon *) WeaponManagerComponent->CurrentWeaponReplicated;
if (CurrentWeaponReplicated) { if (CurrentWeaponReplicated) {
auto ShootWeaponEntityComp = CurrentWeaponReplicated->ShootWeaponEntityComp; auto ShootWeaponEntityComp = CurrentWeaponReplicated->ShootWeaponEntityComp;
auto ShootWeaponEffectComp = CurrentWeaponReplicated->ShootWeaponEffectComp; auto ShootWeaponEffectComp = CurrentWeaponReplicated->ShootWeaponEffectComp;
if (ShootWeaponEntityComp && ShootWeaponEffectComp) { if (ShootWeaponEntityComp && ShootWeaponEffectComp) {
memset(&ShootWeaponEntityComp->RecoilInfo, 0, sizeof(FSRecoilInfo)); memset(&ShootWeaponEntityComp->RecoilInfo, 0, sizeof(FSRecoilInfo));
ShootWeaponEntityComp->AccessoriesVRecoilFactor = 0.0f; ShootWeaponEntityComp->AccessoriesVRecoilFactor = 0.0f;
ShootWeaponEntityComp->AccessoriesHRecoilFactor = 0.0f; ShootWeaponEntityComp->AccessoriesHRecoilFactor = 0.0f;
ShootWeaponEntityComp->AccessoriesRecoveryFactor = 0.0f; ShootWeaponEntityComp->AccessoriesRecoveryFactor = 0.0f;
memset(&ShootWeaponEntityComp->DeviationInfo, 0, sizeof(FSDeviation)); memset(&ShootWeaponEntityComp->DeviationInfo, 0, sizeof(FSDeviation));
ShootWeaponEntityComp->ShotGunVerticalSpread = 0.0f; ShootWeaponEntityComp->ShotGunVerticalSpread = 0.0f;
ShootWeaponEntityComp->ShotGunHorizontalSpread = 0.0f; ShootWeaponEntityComp->ShotGunHorizontalSpread = 0.0f;
ShootWeaponEntityComp->GameDeviationFactor = 0.0f; ShootWeaponEntityComp->GameDeviationFactor = 0.0f;
ShootWeaponEntityComp->GameDeviationAccuracy = 0.0f; ShootWeaponEntityComp->GameDeviationAccuracy = 0.0f;
ShootWeaponEntityComp->CrossHairInitialSize = 0.0f; ShootWeaponEntityComp->CrossHairInitialSize = 0.0f;
ShootWeaponEntityComp->CrossHairBurstSpeed = 0.0f; ShootWeaponEntityComp->CrossHairBurstSpeed = 0.0f;
ShootWeaponEntityComp->CrossHairBurstIncreaseSpeed = 0.0f; ShootWeaponEntityComp->CrossHairBurstIncreaseSpeed = 0.0f;
ShootWeaponEntityComp->RecoilKickADS = 0.0f; ShootWeaponEntityComp->RecoilKickADS = 0.0f;
memset(&ShootWeaponEntityComp->DeviationInfo, 0, sizeof(FSDeviation)); memset(&ShootWeaponEntityComp->DeviationInfo, 0, sizeof(FSDeviation));
ShootWeaponEntityComp->ShotGunVerticalSpread = 0.0f; ShootWeaponEntityComp->ShotGunVerticalSpread = 0.0f;
ShootWeaponEntityComp->ShotGunHorizontalSpread = 0.0f; ShootWeaponEntityComp->ShotGunHorizontalSpread = 0.0f;
ShootWeaponEntityComp->GameDeviationFactor = 0.0f; ShootWeaponEntityComp->GameDeviationFactor = 0.0f;
@@ -2254,7 +2307,7 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
ShootWeaponEntityComp->CrossHairInitialSize = 0.0f; ShootWeaponEntityComp->CrossHairInitialSize = 0.0f;
ShootWeaponEntityComp->CrossHairBurstSpeed = 0.0f; ShootWeaponEntityComp->CrossHairBurstSpeed = 0.0f;
ShootWeaponEntityComp->CrossHairBurstIncreaseSpeed = 0.0f; ShootWeaponEntityComp->CrossHairBurstIncreaseSpeed = 0.0f;
ShootWeaponEffectComp->CameraShakeInnerRadius = 0.0f; ShootWeaponEffectComp->CameraShakeInnerRadius = 0.0f;
ShootWeaponEffectComp->CameraShakeOuterRadius = 0.0f; ShootWeaponEffectComp->CameraShakeOuterRadius = 0.0f;
ShootWeaponEffectComp->CameraShakFalloff = 0.0f; ShootWeaponEffectComp->CameraShakFalloff = 0.0f;
@@ -2273,7 +2326,7 @@ 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;
} }
} }
} }
@@ -2314,20 +2367,6 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
} }
} }
if (ImGui::Button("开启120帧", 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 = 120;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSMid = 120;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 120;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHDR = 120;
}
}
}
if (ImGui::Button("开启240帧", 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++) {
@@ -2342,6 +2381,20 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
} }
} }
} }
if (ImGui::Button("开启120帧", 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 = 120;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSMid = 120;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHigh = 120;
SDK_USTExtraGameInstance->UserDetailSetting.PUBGDeviceFPSHDR = 120;
}
}
}
if (ImGui::Button("开启60帧", ImVec2(-1, 35))) { if (ImGui::Button("开启60帧", 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++) {
@@ -2363,12 +2416,12 @@ ImGui::SetNextWindowSize(ImVec2(495.5f, 520.0f), ImGuiCond_FirstUseEver);
auto Object = objs.GetByIndex(i); auto Object = objs.GetByIndex(i);
if (isObjectInvalid(Object)) continue; if (isObjectInvalid(Object)) continue;
if (Object->IsA(UShootWeaponEntity::StaticClass())) { if (Object->IsA(UShootWeaponEntity::StaticClass())) {
auto playerChar = (UShootWeaponEntity*)Object; auto playerChar = (UShootWeaponEntity *) Object;
playerChar->bHasInfiniteClips = true; playerChar->bHasInfiniteClips = true;
playerChar->bClipHasInfiniteBullets = true; playerChar->bClipHasInfiniteBullets = true;
} }
if (Object->IsA(ASTExtraShootWeapon::StaticClass())) { if (Object->IsA(ASTExtraShootWeapon::StaticClass())) {
auto playerChar = (ASTExtraShootWeapon*)Object; auto playerChar = (ASTExtraShootWeapon *) Object;
playerChar->CurMaxBulletNumInOneClip = 105; playerChar->CurMaxBulletNumInOneClip = 105;
} }
} }
@@ -2490,6 +2543,8 @@ if (ImGui::CollapsingHeader("流式关卡管理")) {
ImGui::EndTabBar(); ImGui::EndTabBar();
} }
} }
} // end else (isLogin)
} // end if (!isLogin) / else
ImGui::End(); ImGui::End();