C# External SilentAim
My Silent Aim stopped working for some reason after December update
What is outdated in this?
What is outdated in this?
Code:
IntPtr pOldUserCmd = userCMD.m_pCommands + ((iDesiredCmdNumber - 1) % 150) * 0x64;
IntPtr pVerifiedOldUserCmd = userCMD.m_pVerifiedCommands + ((iDesiredCmdNumber - 1) % 150) * 0x68;
[StructLayout(LayoutKind.Explicit)]
public struct Input_t
{
[FieldOffset(0x0)]
public IntPtr BaseAddress;
[FieldOffset(0x06)]
public bool m_bMouseActive;
[FieldOffset(0x9D)]
public bool m_bCameraInThirdPerson;
[FieldOffset(0xEC)]
public IntPtr m_pCommands;
[FieldOffset(0xF0)]
public IntPtr m_pVerifiedCommands;
}
[StructLayout(LayoutKind.Explicit)]
public struct UserCmd_t
{
[FieldOffset(0x0)]
public IntPtr BaseAddress;
[FieldOffset(0x0C)]
public Vector3 m_vecViewAngles; //Trying to write that
[FieldOffset(0x30)]
public int m_iButtons;
}