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
05-27-2014, 11:03 PM #2
Originally posted by Sticky View Post
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


i had the right setclientviewangle address the entire time... but wrong entity.... fml
05-27-2014, 11:16 PM #3
Azus
Little One
Originally posted by Sticky View Post
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



Sex, now I make unfair with player_die LOLOLOL jokes

The following user thanked Azus for this useful post:

05-28-2014, 03:57 AM #4
Shark
Retired.
Originally posted by milky4444 View Post
i had the right setclientviewangle address the entire time... but wrong entity.... fml


blame mango_newb

The following 2 users say thank you to Shark for this useful post:

JLM, SC58
05-28-2014, 07:55 PM #5
VezahMoDz
Do a barrel roll!
Originally posted by milky4444 View Post
i had the right setclientviewangle address the entire time... but wrong entity.... fml


I posted the offset for Setclientviewangles in the HFH chat 2 days b4 stare
05-28-2014, 08:48 PM #6
Originally posted by VezahMoDz View Post
I posted the offset for Setclientviewangles in the HFH chat 2 days b4 stare

nah sc58 helped me find it like 3 months ago
06-01-2014, 03:06 PM #7
Mango_Knife
In my man cave
Originally posted by Sticky View Post
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


Very nice!
Very very nice...
06-02-2014, 08:32 AM #8
vezzdu11
Save Point
i have a probleme with your RPC look You must login or register to view this content. just 1 problem please help me
06-02-2014, 09:33 AM #9
seb5594
Proud Former Admin
Originally posted by vezzdu11 View Post
i have a probleme with your RPC look You must login or register to view this content. just 1 problem please help me


You don't have the 'Lib' class..
06-02-2014, 11:39 AM #10
vezzdu11
Save Point
ok i create a lib classe and after ? I put anything in this class?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo