master
sagirilover 5 years ago
parent e92a9357b7
commit 541181c0ee
  1. 3
      AnimeSoftware/AnimeForm.cs
  2. 6
      AnimeSoftware/Hacks/Aimbot.cs
  3. 7
      AnimeSoftware/Objects/Entity.cs
  4. 8
      AnimeSoftware/Objects/LocalPlayer.cs
  5. 2
      AnimeSoftware/Objects/Structs.cs
  6. 2
      AnimeSoftware/Utils/Checks.cs
  7. 3
      version

@ -53,7 +53,8 @@ namespace AnimeSoftware
Properties.Settings.Default.namestealer = false; Properties.Settings.Default.namestealer = false;
Properties.Settings.Default.Save(); Properties.Settings.Default.Save();
Start(); Start();
Log.Debug((IntPtr)(Offsets.netvars.m_Local + Offsets.netvars.m_aimPunchAngle));
//Log.Debug((IntPtr)Offsets.signatures.dwClientState_ViewAngles);
} }

@ -7,6 +7,7 @@ using System.Drawing;
using System.Threading; using System.Threading;
using AnimeSoftware.Injections; using AnimeSoftware.Injections;
using AnimeSoftware.Objects; using AnimeSoftware.Objects;
using AnimeSoftware.Utils;
namespace AnimeSoftware.Hacks namespace AnimeSoftware.Hacks
{ {
@ -33,9 +34,10 @@ namespace AnimeSoftware.Hacks
if (target.Index == -1) if (target.Index == -1)
continue; continue;
LocalPlayer.ViewAngle = NormalizedAngle(Smooth(LocalPlayer.ViewAngle,RSC(CalcAngle(LocalPlayer.ViewPosition, target.BonePosition(Properties.Settings.Default.boneid))))); var va = NormalizedAngle(Smooth(LocalPlayer.ViewAngle,RSC(CalcAngle(LocalPlayer.ViewPosition, target.BonePosition(Properties.Settings.Default.boneid)))));
va.Normalize();
LocalPlayer.ViewAngle = va;
} }
} }
public static Vector CalcAngle(Vector src, Vector dst) public static Vector CalcAngle(Vector src, Vector dst)

@ -8,8 +8,13 @@ using AnimeSoftware.Offsets;
namespace AnimeSoftware.Objects namespace AnimeSoftware.Objects
{ {
class Entity class Entity : IDisposable
{ {
public void Dispose()
{
}
public int Index; public int Index;
public int Ptr public int Ptr
{ {

@ -9,8 +9,12 @@ using AnimeSoftware.Offsets;
namespace AnimeSoftware.Objects namespace AnimeSoftware.Objects
{ {
class LocalPlayer class LocalPlayer : IDisposable
{ {
public void Dispose()
{
}
public static int Ptr public static int Ptr
{ {
get get
@ -270,7 +274,7 @@ namespace AnimeSoftware.Objects
{ {
get get
{ {
return Memory.Read<Vector>(Ptr + netvars.m_aimPunchAngle); return Memory.Read<Vector>(Ptr + netvars.m_Local + netvars.m_aimPunchAngle);
} }
} }
public static Vector LocalViewAngle public static Vector LocalViewAngle

@ -379,6 +379,8 @@ namespace AnimeSoftware
} }
} }
} }
[StructLayout(LayoutKind.Sequential)]
public struct Vector public struct Vector
{ {

@ -58,7 +58,7 @@ namespace AnimeSoftware
} }
} }
public static string version = "v4.00"; public static string version = "v4.10";
} }
} }

@ -1,4 +1,5 @@
v4.00 v4.10
offset autoupdate offset autoupdate
small code refactoring small code refactoring
aimbot fix

Loading…
Cancel
Save