修正旋转偏移为 0x3AC(Rotation_1): 0x3A4 是 MovementDirection_1 移动方向, 依据 Mono.Cecil 字段表+运行时俯仰恒0验证
This commit is contained in:
parent
64fbfabc3a
commit
4dca333267
|
|
@ -235,10 +235,10 @@ void CFramework::RenderMenu()
|
||||||
ImGui::InputInt("旋转", &g.g_AimRotOffset, 4, 4, ImGuiInputTextFlags_CharsHexadecimal);
|
ImGui::InputInt("旋转", &g.g_AimRotOffset, 4, 4, ImGuiInputTextFlags_CharsHexadecimal);
|
||||||
|
|
||||||
// 误改输入框会直接导致 Memory 模式失效, 一键恢复本客户端实测默认值
|
// 误改输入框会直接导致 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_AimMcOffset = 0x1E0;
|
||||||
g.g_AimRotOffset = 0x3A4;
|
g.g_AimRotOffset = 0x3AC;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImGui::Button("扫描旋转偏移(两步)", ImVec2(ImGui::GetContentRegionAvail().x, 0.f)))
|
if (ImGui::Button("扫描旋转偏移(两步)", ImVec2(ImGui::GetContentRegionAvail().x, 0.f)))
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,9 @@ namespace offset
|
||||||
namespace MovementContext
|
namespace MovementContext
|
||||||
{
|
{
|
||||||
// Vector2 (x = yaw, y = pitch) [rad]
|
// Vector2 (x = yaw, y = pitch) [rad]
|
||||||
// EXFIL DELTA (Mono 0.16.9) 实测: +0x3A4. IL2CPP 0.15.x 是 0x2C0
|
// EXFIL DELTA (Mono 0.16.9) 实测: +0x3AC = Rotation_1 (视角旋转)
|
||||||
constexpr auto Rotation = 0x3A4;
|
// +0x3A4 = MovementDirection_1 (移动方向, 勿用!) 依据 Mono.Cecil 字段表
|
||||||
|
constexpr auto Rotation = 0x3AC;
|
||||||
}
|
}
|
||||||
|
|
||||||
// EFT.Profile
|
// EFT.Profile
|
||||||
|
|
|
||||||
|
|
@ -55,10 +55,11 @@ struct Globals
|
||||||
|
|
||||||
// Aim Offset (运行时可调, 默认 = 本客户端实测值)
|
// Aim Offset (运行时可调, 默认 = 本客户端实测值)
|
||||||
// Memory 模式自瞄用: Player + g_AimMcOffset -> + g_AimRotOffset (Vector2 yaw/pitch)
|
// 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_AimMcOffset = 0x1E0;
|
||||||
int g_AimRotOffset = 0x3A4;
|
int g_AimRotOffset = 0x3AC;
|
||||||
|
|
||||||
// System
|
// System
|
||||||
bool g_StreamProof = false;
|
bool g_StreamProof = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue