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.Save();
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 AnimeSoftware.Injections;
using AnimeSoftware.Objects;
using AnimeSoftware.Utils;
namespace AnimeSoftware.Hacks
{
@ -33,9 +34,10 @@ namespace AnimeSoftware.Hacks
if (target.Index == -1)
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)

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

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

@ -379,6 +379,8 @@ namespace AnimeSoftware
}
}
}
[StructLayout(LayoutKind.Sequential)]
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
small code refactoring
aimbot fix

Loading…
Cancel
Save