Post: [Release/C#/1.14] Fair Aimbot Script
05-27-2014, 10:56 PM #1
Sticky
Mary J Wannnnna
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NextGenUpdate members!

I saw seb5594 bringing some light back to this game so I decided I would too!

Things you will need:
Sharks RPC: You must login or register to view this content.
iMCSx's PS3Lib: You must login or register to view this content.

    
class Aimbot
{
public static PS3API PS3 = new PS3API();
public class Offsets
{
public static uint
VectoAngles = 0x2590A8,
SetClientViewAngles = 0x16CBE0,
G_Client = 0x14E2200,
G_ClientSize = 0x3700,
G_Entity = 0x1319800,
G_EntitySize = 0x280;
}

public class Buttons
{
public static string
DpadUp = "+actionslot 1",
DpadDown = "+actionslot 2",
DpadRight = "+actionslot 4",
DpadLeft = "+actionslot 3",
Cross = "+gostand",
Circle = "+stance",
Triangle = "weapnext",
Square = "+usereload",
R3 = "+melee",
R2 = "+frag",
R1 = "+attack",
L3 = "+breath_sprint",
L2 = "+smoke",
L1 = "+speed_throw",
Select = "togglescores",
Start = "togglemenu";
}
public static bool ButtonPressed(int client, string Button)
{
if (PS3.Extension.ReadString(0x34750E9F + ((uint)client * 0x97F80)) == Button)
return true;
else return false;
}

public static uint G_Client(int Client, uint Mod = 0x0)
{
return Offsets.G_Client + (Offsets.G_ClientSize * (uint)Client) + Mod;
}

public static uint G_Entity(int Client, uint Mod = 0x0)
{
return Offsets.G_Entity + (Offsets.G_EntitySize * (uint)Client) + Mod;
}

public static bool ReturnPlayerActivity(int Client)
{
return PS3.Extension.ReadString(G_Client(Client, 0x3290)) != "";
}

public static bool ReturnPlayerLifeStatus(int Client)
{
return PS3.Extension.ReadByte(G_Client(Client, 0x345C)) != 0x01;
}

public static float[] ReturnOrigin(int Client)
{
float[] Origin = new float[3];
Origin[0] = PS3.Extension.ReadFloat(G_Client(Client, 0x1C));
Origin[1] = PS3.Extension.ReadFloat(G_Client(Client, 0x20));
Origin[2] = PS3.Extension.ReadFloat(G_Client(Client, 0x24));

return Origin;
}

public static int ReturnNearestPlayer(int Client)
{
int NearestPlayer = -1;
float Closest = 0xFFFFFFFF;
float[] Distance3D = new float[3];
float Difference = new float();
for (int i = 0; i < 18; i++)
{
Distance3D[0] = ReturnOrigin(i)[0] - ReturnOrigin(Client)[0];
Distance3D[1] = ReturnOrigin(i)[1] - ReturnOrigin(Client)[1];
Distance3D[2] = ReturnOrigin(i)[2] - ReturnOrigin(Client)[2];

Difference = (float)(Math.Sqrt((Distance3D[0] * Distance3D[0]) + (Distance3D[1] * Distance3D[1]) + (Distance3D[2] * Distance3D[2])));

if ((i != Client))
{
if (ReturnPlayerActivity(i) && ReturnPlayerLifeStatus(i))
{
if (Difference < Closest)
{
NearestPlayer = i;
Closest = Difference;
}
}
}
}
return NearestPlayer;
}

public static void SetClientViewAngles(int Client, float[] Angles)
{
PS3.Extension.WriteFloat(0x10004000, Angles[0]);
PS3.Extension.WriteFloat(0x10004004, Angles[1]);
PS3.Extension.WriteFloat(0x10004008, Angles[2]);
RPC.Call(Offsets.VectoAngles, 0x10004000, 0x1000400C);
RPC.Call(Offsets.SetClientViewAngles, G_Entity(Client), 0x1000400C);
}

public static void DoAimbot(int Client)
{
if (ButtonPressed(Client, Buttons.L1) || ButtonPressed(Client, Buttons.L1 + Buttons.R1))
{
SetClientViewAngles(Client, ReturnOrigin(ReturnNearestPlayer(Client)));
}
}
}


Credits:
Sticky
seb5594
Shark
Corey
iMCSx

The following 16 users say thank you to Sticky for this useful post:

-Numb, AlecKeaneDUB, Azus, iNDMx, milky4444, MrKiller261, Mx444, PSNModz, SyTry, VezahMoDz, ViolentFelon, Fatality, xkoeckiiej, zRayz-, zZHackzZ
04-02-2015, 11:40 AM #20
Jkroni
Banned
25 hear at last ---------------------------> ye HAAAAAAAAAAAA
05-11-2015, 10:02 PM #21
Falcon1234
Do a barrel roll!
Does this work ? And would this be the same for a non host aimbot
06-27-2015, 09:19 AM #22
sleekshow
I defeated!
Hi im a bit confused does this work or not
08-12-2015, 04:36 AM #23
wickeds123
Save Point
could anyone convert this to a rtm tool code for me? im not to good with c++ yet
08-12-2015, 06:41 PM #24
mrtn
Little One
Originally posted by wickeds123 View Post
could anyone convert this to a rtm tool code for me? im not to good with c++ yet


This isn't C++, it's C# which is what most rtm tools are made in
11-15-2017, 01:50 PM #25
Apex_Modz-
Do a barrel roll!
how do i activate the aimbot i have it in my tool just dont know how to call it
11-15-2017, 01:58 PM #26
S63
Space Ninja
Originally posted by Apex
how do i activate the aimbot i have it in my tool just dont know how to call it


DoAimbot(client number);

make sure you run it thru a timer/thread..

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo