From 4dca333267bb751925b7a35e95498a5bc56bb671 Mon Sep 17 00:00:00 2001 From: kedou Date: Wed, 5 Aug 2026 23:39:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=97=8B=E8=BD=AC=E5=81=8F?= =?UTF-8?q?=E7=A7=BB=E4=B8=BA=200x3AC(Rotation=5F1):=200x3A4=20=E6=98=AF?= =?UTF-8?q?=20MovementDirection=5F1=20=E7=A7=BB=E5=8A=A8=E6=96=B9=E5=90=91?= =?UTF-8?q?,=20=E4=BE=9D=E6=8D=AE=20Mono.Cecil=20=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=A1=A8+=E8=BF=90=E8=A1=8C=E6=97=B6=E4=BF=AF=E4=BB=B0?= =?UTF-8?q?=E6=81=920=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CFramework/Cheat/Menu.cpp | 4 ++-- CFramework/Cheat/SDK/GameSDK/Offset.h | 5 +++-- CFramework/Framework/Config/Config.h | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CFramework/Cheat/Menu.cpp b/CFramework/Cheat/Menu.cpp index cf8fc6a..87e5229 100644 --- a/CFramework/Cheat/Menu.cpp +++ b/CFramework/Cheat/Menu.cpp @@ -235,10 +235,10 @@ void CFramework::RenderMenu() ImGui::InputInt("旋转", &g.g_AimRotOffset, 4, 4, ImGuiInputTextFlags_CharsHexadecimal); // 误改输入框会直接导致 Memory 模式失效, 一键恢复本客户端实测默认值 - if (ImGui::Button("重置偏移 (0x1E0/0x3A4)", ImVec2(ImGui::GetContentRegionAvail().x, 0.f))) + if (ImGui::Button("重置偏移 (0x1E0/0x3AC)", ImVec2(ImGui::GetContentRegionAvail().x, 0.f))) { g.g_AimMcOffset = 0x1E0; - g.g_AimRotOffset = 0x3A4; + g.g_AimRotOffset = 0x3AC; } if (ImGui::Button("扫描旋转偏移(两步)", ImVec2(ImGui::GetContentRegionAvail().x, 0.f))) diff --git a/CFramework/Cheat/SDK/GameSDK/Offset.h b/CFramework/Cheat/SDK/GameSDK/Offset.h index f9087b8..af26291 100644 --- a/CFramework/Cheat/SDK/GameSDK/Offset.h +++ b/CFramework/Cheat/SDK/GameSDK/Offset.h @@ -29,8 +29,9 @@ namespace offset namespace MovementContext { // Vector2 (x = yaw, y = pitch) [rad] - // EXFIL DELTA (Mono 0.16.9) 实测: +0x3A4. IL2CPP 0.15.x 是 0x2C0 - constexpr auto Rotation = 0x3A4; + // EXFIL DELTA (Mono 0.16.9) 实测: +0x3AC = Rotation_1 (视角旋转) + // +0x3A4 = MovementDirection_1 (移动方向, 勿用!) 依据 Mono.Cecil 字段表 + constexpr auto Rotation = 0x3AC; } // EFT.Profile diff --git a/CFramework/Framework/Config/Config.h b/CFramework/Framework/Config/Config.h index 715ad8d..07cb558 100644 --- a/CFramework/Framework/Config/Config.h +++ b/CFramework/Framework/Config/Config.h @@ -55,10 +55,11 @@ struct Globals // Aim Offset (运行时可调, 默认 = 本客户端实测值) // Memory 模式自瞄用: Player + g_AimMcOffset -> + g_AimRotOffset (Vector2 yaw/pitch) - // EXFIL DELTA (Mono 0.16.9) 实测: Player+0x1E0 = MovementContext, +0x3A4 = Rotation - // 内置扫描器 [扫描旋转偏移] 找到后会直接写到这里 + // EXFIL DELTA (Mono 0.16.9) 实测: Player+0x1E0 = MovementContext + // +0x3A4 = MovementDirection(移动方向, 非视角!), +0x3AC = Rotation_1(视角旋转, 正解) + // 依据: Mono.Cecil 字段表 + 运行时验证 (0x3A4 读出的俯仰恒 0) int g_AimMcOffset = 0x1E0; - int g_AimRotOffset = 0x3A4; + int g_AimRotOffset = 0x3AC; // System bool g_StreamProof = false;