Offset [1.20] Adresses/Offsets/Structures/Enums/Divers

D

deleted287255

Salut
Voici ce qui est dans mon tool ;)
Code:
private static byte[] PPC_NOP = new byte[] { 0x60, 0x00, 0x00, 0x00 };
        private void button3_Click(object sender, EventArgs e)
        {
            if (ps3API_0.AttachProcess())
            {

                byte[] buffer = new byte[] { 0x38, 0x60, 0x00, 0x00 };
                ps3API_0.SetMemory(0x5AB1BC, buffer);
                byte[] buffer1 = new byte[] { 0x4E, 0x80, 0x00, 0x20 };
                ps3API_0.SetMemory(0x5AD714, buffer1);
                byte[] buffer2 = new byte[] { 0x60, 0x00, 0x00, 0x00 };
                ps3API_0.SetMemory(0x5AB70C, buffer2);
                byte[] buffer3 = new byte[] { PPC_NOP[0], PPC_NOP[1], PPC_NOP[2], PPC_NOP[3], 0x3B, 0xE0 };
                ps3API_0.SetMemory(0x657834, buffer3);
                byte[] buffer4 = new byte[] { 0x60, 0x00, 0x00, 0x00 };
                ps3API_0.SetMemory(0x688E24, buffer4);
                byte[] buffer5 = new byte[] { 0x00 };
                ps3API_0.SetMemory(0x7DA974, buffer5);
                byte[] buffer6 = new byte[] { 0x3B, 0xC0, 0x00, 0x00 };
                ps3API_0.SetMemory(0x3C752C, buffer6);
                byte[] buffer7 = new byte[] { 0x60, 0x00, 0x00, 0x00 };
                ps3API_0.SetMemory(0x5AB674, buffer7);
                ps3API_0.CCAPI.Notify(CCAPI.NotifyIcon.TROPHY4, "Anti-Ban AW 1.18 By Marentdu93");
                MessageBox.Show("Anti-Ban ON", "Activée", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else
            {
                MessageBox.Show("Anti-Ban OFF", "Desactivée", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                MessageBox.Show("Vous n'avez pas cliquer sur Attach !", "Non-Attacher", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
         

        }

Description:
Code:
Test Antiban Tool By Marentdu93
1.0x05AB1BC EXE_COD_ONLINE_PERM_BAN_PLAYER R3 0x38 0x60 0x00 0x00
2.0x05AD714 EXE_COD_ONLINE_PERM_BAN_CONSOLE BLR 0x4E 0x80 0x00 0x20
3.0x05AB70C BanCheck NOP 0x60 0x00 0x00 0x00
4.0x0657834 AntiCheat NOP/R31 0x60 0x00 0x00 0x00 0x3B 0xE0
5.0x0688E24 CondolID NOP 0x60 0x00 0x00 0x00
6.0x07DA974 String AntiCheat 0x00
7.0x03C752C All Task Final Li R30 0x3B 0xC0 0x00 0x00
8.0x05AB674 Liveanticheatunknowndvar NOP 0x60 0x00 0x00 0x00

Bon codage pour ceux qui peuvent l'ameliorer ;)
 

iMoDz-Retour

Premium
Inscription
13 Mars 2015
Messages
1 663
Réactions
622
Points
6 176
Salut
Voici ce qui est dans mon tool ;)
Code:
private static byte[] PPC_NOP = new byte[] { 0x60, 0x00, 0x00, 0x00 };
        private void button3_Click(object sender, EventArgs e)
        {
            if (ps3API_0.AttachProcess())
            {

                byte[] buffer = new byte[] { 0x38, 0x60, 0x00, 0x00 };
                ps3API_0.SetMemory(0x5AB1BC, buffer);
                byte[] buffer1 = new byte[] { 0x4E, 0x80, 0x00, 0x20 };
                ps3API_0.SetMemory(0x5AD714, buffer1);
                byte[] buffer2 = new byte[] { 0x60, 0x00, 0x00, 0x00 };
                ps3API_0.SetMemory(0x5AB70C, buffer2);
                byte[] buffer3 = new byte[] { PPC_NOP[0], PPC_NOP[1], PPC_NOP[2], PPC_NOP[3], 0x3B, 0xE0 };
                ps3API_0.SetMemory(0x657834, buffer3);
                byte[] buffer4 = new byte[] { 0x60, 0x00, 0x00, 0x00 };
                ps3API_0.SetMemory(0x688E24, buffer4);
                byte[] buffer5 = new byte[] { 0x00 };
                ps3API_0.SetMemory(0x7DA974, buffer5);
                byte[] buffer6 = new byte[] { 0x3B, 0xC0, 0x00, 0x00 };
                ps3API_0.SetMemory(0x3C752C, buffer6);
                byte[] buffer7 = new byte[] { 0x60, 0x00, 0x00, 0x00 };
                ps3API_0.SetMemory(0x5AB674, buffer7);
                ps3API_0.CCAPI.Notify(CCAPI.NotifyIcon.TROPHY4, "Anti-Ban AW 1.18 By Marentdu93");
                MessageBox.Show("Anti-Ban ON", "Activée", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else
            {
                MessageBox.Show("Anti-Ban OFF", "Desactivée", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                MessageBox.Show("Vous n'avez pas cliquer sur Attach !", "Non-Attacher", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        

        }

Description:
Code:
Test Antiban Tool By Marentdu93
1.0x05AB1BC EXE_COD_ONLINE_PERM_BAN_PLAYER R3 0x38 0x60 0x00 0x00
2.0x05AD714 EXE_COD_ONLINE_PERM_BAN_CONSOLE BLR 0x4E 0x80 0x00 0x20
3.0x05AB70C BanCheck NOP 0x60 0x00 0x00 0x00
4.0x0657834 AntiCheat NOP/R31 0x60 0x00 0x00 0x00 0x3B 0xE0
5.0x0688E24 CondolID NOP 0x60 0x00 0x00 0x00
6.0x07DA974 String AntiCheat 0x00
7.0x03C752C All Task Final Li R30 0x3B 0xC0 0x00 0x00
8.0x05AB674 Liveanticheatunknowndvar NOP 0x60 0x00 0x00 0x00

Bon codage pour ceux qui peuvent l'ameliorer ;)
C'est ceux de ton eboot ? :trollface:
 

LeNooByDu95

スーパーマリオ
Premium
Inscription
28 Octobre 2014
Messages
2 224
Réactions
669
Points
8 748
Y a les même sur NGU depuis la 1.13 c'est ce Que j utilise dans mon EBOOT anti-ban
 

L乃ズ

Membre
Inscription
17 Janvier 2014
Messages
479
Réactions
381
Points
5 456
Salut
Voici ce qui est dans mon tool ;)
Code:
private static byte[] PPC_NOP = new byte[] { 0x60, 0x00, 0x00, 0x00 };
        private void button3_Click(object sender, EventArgs e)
        {
            if (ps3API_0.AttachProcess())
            {

                byte[] buffer = new byte[] { 0x38, 0x60, 0x00, 0x00 };
                ps3API_0.SetMemory(0x5AB1BC, buffer);
                byte[] buffer1 = new byte[] { 0x4E, 0x80, 0x00, 0x20 };
                ps3API_0.SetMemory(0x5AD714, buffer1);
                byte[] buffer2 = new byte[] { 0x60, 0x00, 0x00, 0x00 };
                ps3API_0.SetMemory(0x5AB70C, buffer2);
                byte[] buffer3 = new byte[] { PPC_NOP[0], PPC_NOP[1], PPC_NOP[2], PPC_NOP[3], 0x3B, 0xE0 };
                ps3API_0.SetMemory(0x657834, buffer3);
                byte[] buffer4 = new byte[] { 0x60, 0x00, 0x00, 0x00 };
                ps3API_0.SetMemory(0x688E24, buffer4);
                byte[] buffer5 = new byte[] { 0x00 };
                ps3API_0.SetMemory(0x7DA974, buffer5);
                byte[] buffer6 = new byte[] { 0x3B, 0xC0, 0x00, 0x00 };
                ps3API_0.SetMemory(0x3C752C, buffer6);
                byte[] buffer7 = new byte[] { 0x60, 0x00, 0x00, 0x00 };
                ps3API_0.SetMemory(0x5AB674, buffer7);
                ps3API_0.CCAPI.Notify(CCAPI.NotifyIcon.TROPHY4, "Anti-Ban AW 1.18 By Marentdu93");
                MessageBox.Show("Anti-Ban ON", "Activée", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else
            {
                MessageBox.Show("Anti-Ban OFF", "Desactivée", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                MessageBox.Show("Vous n'avez pas cliquer sur Attach !", "Non-Attacher", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
       

        }

Description:
Code:
Test Antiban Tool By Marentdu93
1.0x05AB1BC EXE_COD_ONLINE_PERM_BAN_PLAYER R3 0x38 0x60 0x00 0x00
2.0x05AD714 EXE_COD_ONLINE_PERM_BAN_CONSOLE BLR 0x4E 0x80 0x00 0x20
3.0x05AB70C BanCheck NOP 0x60 0x00 0x00 0x00
4.0x0657834 AntiCheat NOP/R31 0x60 0x00 0x00 0x00 0x3B 0xE0
5.0x0688E24 CondolID NOP 0x60 0x00 0x00 0x00
6.0x07DA974 String AntiCheat 0x00
7.0x03C752C All Task Final Li R30 0x3B 0xC0 0x00 0x00
8.0x05AB674 Liveanticheatunknowndvar NOP 0x60 0x00 0x00 0x00

Bon codage pour ceux qui peuvent l'ameliorer ;)
On dirait du décompiler ton codage :d: :trollface: , simpas la release ^^
Bien aimer ton message sur Bratune ^^
 

L乃ズ

Membre
Inscription
17 Janvier 2014
Messages
479
Réactions
381
Points
5 456
vous pouvez expliquer bien sur Skype?
Code:
public static uint G_Client = Adresses.G_Client;
public static uint Client_Stance = G_Client + 0x5B;
public static uint Client_Alive = G_Client + 0x33A; //0x08 = dead 0x00 = alive
public static uint Client_Team = G_Client + 0x5B;
public static uint Client_SetClientViewAngles = Adresses.SetClientViewAngles;
public static uint Client_IsInGame = G_Client + 0x00;
public static uint Client_Angles = G_Client + 0x1b4;
public static uint Client_Origin = G_Client + 0x78;
public static uint ClientInterval = 0x3980;

public static float[] getPlayerPosition(int clientIndex)
{
return ReadSingle(Client_Origin + (0x3980 * (uint)clientIndex));
}

public static bool ClientIsSameTeam(int clientIndex, int otherPlayer)
{
return (PS3.Extension.ReadInt32(Client_Team + ((uint)clientIndex * 0x3980)) == PS3.Extension.ReadInt32(Client_Team + ((uint)otherPlayer * 0x3980)));
}

public static bool ClientIsInGame(int clientIndex)
{
return (PS3.Extension.ReadInt32(Client_IsInGame + ((uint)clientIndex * 0x3980)) != 0);
}

public static bool ClientIsAlive(int clientIndex)
{
return (PS3.Extension.ReadInt32(Client_Alive + ((uint)clientIndex * 0x3980)) == 0);
}

public static float[] vectoangles(float[] Angles)
{
float forward;
float yaw, pitch;
float[] angles = new float[3];
if (Angles[1] == 0 && Angles[0] == 0)
{
yaw = 0;
if (Angles[2] > 0) pitch = 90f;
else pitch = 270f;
}
else
{
if (Angles[0] != -1) yaw = (float)(Math.Atan2((double)Angles[1], (double)Angles[0]) * 180f / Math.PI);
else if (Angles[1] > 0) yaw = 90f;
else yaw = 270;
if (yaw < 0) yaw += 360f;

forward = (float)Math.Sqrt((double)(Angles[0] * Angles[0] + Angles[1] * Angles[1]));
pitch = (float)(Math.Atan2((double)Angles[2], (double)forward) * 180f / Math.PI);
if (pitch < 0) pitch += 360f;
}
angles[0] = -pitch;
angles[1] = yaw;
angles[2] = 0;

return angles;
}

public static float[] getVector(float[] point1, float[] point2)
{
return new float[] { (point2[0] - point1[0]), (point2[1] - point1[1]), (point2[2] - point1[2]) };
}

public static float Distance3D(float[] point1, float[] point2)
{
float deltax = point2[0] - point1[0];
float deltay = point2[1] - point1[1];
float deltaz = point2[2] - point1[2];
return Convert.ToSingle(Math.Sqrt((deltax * deltax) + (deltay * deltay) + (deltaz * deltaz)));
}

public static int GetNearestPlayer(Int32 clientIndex, Boolean EnemyOnly = false)
{
int nearestClient = 0;
float nearestDistance = 99999999;
for (int i = 0; i < 12; i++)
{
if (i != clientIndex)
{
if ((ClientIsInGame(i)) && ClientIsAlive(i))
{
if (PS3.Extension.ReadInt32(Client_Team + ((uint)clientIndex * 0x3980)) != 0 && EnemyOnly)
{
if (!ClientIsSameTeam(clientIndex, i))
{
float Distance = Distance3D(getPlayerPosition(clientIndex), getPlayerPosition(i));
if (Distance < nearestDistance)
{
nearestDistance = Distance;
nearestClient = i;
}
}
}
else
{
float Distance = Distance3D(getPlayerPosition(clientIndex), getPlayerPosition(i));
if (Distance < nearestDistance)
{
nearestDistance = Distance;
nearestClient = i;
}
}
}
}
}
return nearestClient;
}

public static bool[] AimbotStatus = new bool[12];
public static Thread[] AimbotThread = new Thread[12];

private static float CheckStance(int clientIndex)
{
Int32 CurrentStance = PS3.Extension.ReadByte(Client_Stance + ((uint)clientIndex * 0x3980));
if (CurrentStance == 0x08 || CurrentStance == 0x0A || CurrentStance == 0x48 || CurrentStance == 0x4A)
{ return 44f; }
if (CurrentStance == 0x04 || CurrentStance == 0x06 || CurrentStance == 0x44 || CurrentStance == 0x46)
{ return 14f; }
return 0f;
}
private static float CheckStanceAttacker(int clientIndex)
{
Int32 CurrentStance = PS3.Extension.ReadByte(Client_Stance + ((uint)clientIndex * 0x3980));
if (CurrentStance == 0x08 || CurrentStance == 0x0A || CurrentStance == 0x48 || CurrentStance == 0x4A)
{ return 46f; }
if (CurrentStance == 0x04 || CurrentStance == 0x06 || CurrentStance == 0x44 || CurrentStance == 0x46)
{ return 18f; }
return 0f;
}

public static void InitializeAimbot(int clientIndex)
{
PS3.ConnectTarget();
while (AimbotStatus[clientIndex])
{
int nearestPlayer = GetNearestPlayer(clientIndex);
if (nearestPlayer != clientIndex)
{
SetClientViewAngles(clientIndex, nearestPlayer);
}
}
}

public static float[] PlayerAnglesToForward(int clientIndex, float Distance = 200f)
{
float[] Angles = ReadSingle(Client_Angles + ((uint)clientIndex + 0x3980));
float[] Position = ReadSingle(Client_Origin + ((uint)clientIndex * 0x3980));
float angle, sr, sp, sy, cr, cp, cy, PiDiv;
PiDiv = ((float)Math.PI / 180f);
angle = Angles[1] * PiDiv;
sy = (float)Math.Sin(angle);
cy = (float)Math.Cos(angle);
angle = Angles[0] * PiDiv;
sp = (float)Math.Sin(angle);
cp = (float)Math.Cos(angle);
angle = Angles[2] * PiDiv;
sr = (float)Math.Sin(angle);
cr = (float)Math.Cos(angle);
float[] Forward = new float[] { (cp * cy * Distance) + Position[0], (cp * sy * Distance) + Position[1], (-sp * Distance) + Position[2] };
return Forward;
}

public static float[] AnglesToForward(float[] Angles, float Distance = 200f)
{
float angle, sr, sp, sy, cr, cp, cy, PiDiv;
PiDiv = ((float)Math.PI / 180f);
angle = Angles[1] * PiDiv;
sy = (float)Math.Sin(angle);
cy = (float)Math.Cos(angle);
angle = Angles[0] * PiDiv;
sp = (float)Math.Sin(angle);
cp = (float)Math.Cos(angle);
angle = Angles[2] * PiDiv;
sr = (float)Math.Sin(angle);
cr = (float)Math.Cos(angle);
float[] Forward = new float[] { (cp * cy * Distance), (cp * sy * Distance), (-sp * Distance) };
return Forward;
}

public static void SetClientViewAngles(int clientIndex, int Victim)
{
float[] Vec = getVector(getPlayerPosition(clientIndex), getPlayerPosition(Victim));
Vec[2] -= CheckStance(Victim);
Vec[2] += CheckStanceAttacker(clientIndex);
float[] Angles = vectoangles(Vec);
setViewAngles((UInt32)clientIndex, Angles);
}

public static uint G_Entity(int Client, uint Mod = 0)
{
return (Adresses.G_Entity + (0x280 * (uint)Client) + (uint)Mod);
}

public static void setViewAngles(UInt32 clientIndex, float[] Angles)
{
WriteSingle(0x10040000, Angles);
RPC.Call(Client_SetClientViewAngles, new object[] { G_Entity((int)clientIndex, 0), 0x10040000 });
}

public static float[] getViewAngles(int clientIndex)
{
return ReadSingle(Client_Angles + ((uint)clientIndex + 0x3980));
}

public static float[] ReadSingle(uint Address)
{
float[] FloatArr = new float[3];
FloatArr[0] = PS3.Extension.ReadFloat(Address);
FloatArr[1] = PS3.Extension.ReadFloat(Address + 0x04);
FloatArr[2] = PS3.Extension.ReadFloat(Address + 0x08);
return FloatArr;
}

public static void WriteSingle(uint Address, float[] FloatArr)
{
PS3.Extension.WriteFloat(Address, FloatArr[0]);
PS3.Extension.WriteFloat(Address + 0x04, FloatArr[1]);
PS3.Extension.WriteFloat(Address + 0x08, FloatArr[2]);
}

Tu doit update les adresse celon ton Jeu , ceci est un Aimbot Fair et HOST , Pour un Unfaire pour autre que AW , utilise Le Player_Die comme adresse
Pour un no-Host utilise des autre adresse comme Centiy_t Clien_S et Cl_ViewAngle etc
 
Inscription
2 Avril 2015
Messages
1 540
Réactions
732
Points
4 731
Code:
public static uint G_Client = Adresses.G_Client;
public static uint Client_Stance = G_Client + 0x5B;
public static uint Client_Alive = G_Client + 0x33A; //0x08 = dead 0x00 = alive
public static uint Client_Team = G_Client + 0x5B;
public static uint Client_SetClientViewAngles = Adresses.SetClientViewAngles;
public static uint Client_IsInGame = G_Client + 0x00;
public static uint Client_Angles = G_Client + 0x1b4;
public static uint Client_Origin = G_Client + 0x78;
public static uint ClientInterval = 0x3980;

public static float[] getPlayerPosition(int clientIndex)
{
return ReadSingle(Client_Origin + (0x3980 * (uint)clientIndex));
}

public static bool ClientIsSameTeam(int clientIndex, int otherPlayer)
{
return (PS3.Extension.ReadInt32(Client_Team + ((uint)clientIndex * 0x3980)) == PS3.Extension.ReadInt32(Client_Team + ((uint)otherPlayer * 0x3980)));
}

public static bool ClientIsInGame(int clientIndex)
{
return (PS3.Extension.ReadInt32(Client_IsInGame + ((uint)clientIndex * 0x3980)) != 0);
}

public static bool ClientIsAlive(int clientIndex)
{
return (PS3.Extension.ReadInt32(Client_Alive + ((uint)clientIndex * 0x3980)) == 0);
}

public static float[] vectoangles(float[] Angles)
{
float forward;
float yaw, pitch;
float[] angles = new float[3];
if (Angles[1] == 0 && Angles[0] == 0)
{
yaw = 0;
if (Angles[2] > 0) pitch = 90f;
else pitch = 270f;
}
else
{
if (Angles[0] != -1) yaw = (float)(Math.Atan2((double)Angles[1], (double)Angles[0]) * 180f / Math.PI);
else if (Angles[1] > 0) yaw = 90f;
else yaw = 270;
if (yaw < 0) yaw += 360f;

forward = (float)Math.Sqrt((double)(Angles[0] * Angles[0] + Angles[1] * Angles[1]));
pitch = (float)(Math.Atan2((double)Angles[2], (double)forward) * 180f / Math.PI);
if (pitch < 0) pitch += 360f;
}
angles[0] = -pitch;
angles[1] = yaw;
angles[2] = 0;

return angles;
}

public static float[] getVector(float[] point1, float[] point2)
{
return new float[] { (point2[0] - point1[0]), (point2[1] - point1[1]), (point2[2] - point1[2]) };
}

public static float Distance3D(float[] point1, float[] point2)
{
float deltax = point2[0] - point1[0];
float deltay = point2[1] - point1[1];
float deltaz = point2[2] - point1[2];
return Convert.ToSingle(Math.Sqrt((deltax * deltax) + (deltay * deltay) + (deltaz * deltaz)));
}

public static int GetNearestPlayer(Int32 clientIndex, Boolean EnemyOnly = false)
{
int nearestClient = 0;
float nearestDistance = 99999999;
for (int i = 0; i < 12; i++)
{
if (i != clientIndex)
{
if ((ClientIsInGame(i)) && ClientIsAlive(i))
{
if (PS3.Extension.ReadInt32(Client_Team + ((uint)clientIndex * 0x3980)) != 0 && EnemyOnly)
{
if (!ClientIsSameTeam(clientIndex, i))
{
float Distance = Distance3D(getPlayerPosition(clientIndex), getPlayerPosition(i));
if (Distance < nearestDistance)
{
nearestDistance = Distance;
nearestClient = i;
}
}
}
else
{
float Distance = Distance3D(getPlayerPosition(clientIndex), getPlayerPosition(i));
if (Distance < nearestDistance)
{
nearestDistance = Distance;
nearestClient = i;
}
}
}
}
}
return nearestClient;
}

public static bool[] AimbotStatus = new bool[12];
public static Thread[] AimbotThread = new Thread[12];

private static float CheckStance(int clientIndex)
{
Int32 CurrentStance = PS3.Extension.ReadByte(Client_Stance + ((uint)clientIndex * 0x3980));
if (CurrentStance == 0x08 || CurrentStance == 0x0A || CurrentStance == 0x48 || CurrentStance == 0x4A)
{ return 44f; }
if (CurrentStance == 0x04 || CurrentStance == 0x06 || CurrentStance == 0x44 || CurrentStance == 0x46)
{ return 14f; }
return 0f;
}
private static float CheckStanceAttacker(int clientIndex)
{
Int32 CurrentStance = PS3.Extension.ReadByte(Client_Stance + ((uint)clientIndex * 0x3980));
if (CurrentStance == 0x08 || CurrentStance == 0x0A || CurrentStance == 0x48 || CurrentStance == 0x4A)
{ return 46f; }
if (CurrentStance == 0x04 || CurrentStance == 0x06 || CurrentStance == 0x44 || CurrentStance == 0x46)
{ return 18f; }
return 0f;
}

public static void InitializeAimbot(int clientIndex)
{
PS3.ConnectTarget();
while (AimbotStatus[clientIndex])
{
int nearestPlayer = GetNearestPlayer(clientIndex);
if (nearestPlayer != clientIndex)
{
SetClientViewAngles(clientIndex, nearestPlayer);
}
}
}

public static float[] PlayerAnglesToForward(int clientIndex, float Distance = 200f)
{
float[] Angles = ReadSingle(Client_Angles + ((uint)clientIndex + 0x3980));
float[] Position = ReadSingle(Client_Origin + ((uint)clientIndex * 0x3980));
float angle, sr, sp, sy, cr, cp, cy, PiDiv;
PiDiv = ((float)Math.PI / 180f);
angle = Angles[1] * PiDiv;
sy = (float)Math.Sin(angle);
cy = (float)Math.Cos(angle);
angle = Angles[0] * PiDiv;
sp = (float)Math.Sin(angle);
cp = (float)Math.Cos(angle);
angle = Angles[2] * PiDiv;
sr = (float)Math.Sin(angle);
cr = (float)Math.Cos(angle);
float[] Forward = new float[] { (cp * cy * Distance) + Position[0], (cp * sy * Distance) + Position[1], (-sp * Distance) + Position[2] };
return Forward;
}

public static float[] AnglesToForward(float[] Angles, float Distance = 200f)
{
float angle, sr, sp, sy, cr, cp, cy, PiDiv;
PiDiv = ((float)Math.PI / 180f);
angle = Angles[1] * PiDiv;
sy = (float)Math.Sin(angle);
cy = (float)Math.Cos(angle);
angle = Angles[0] * PiDiv;
sp = (float)Math.Sin(angle);
cp = (float)Math.Cos(angle);
angle = Angles[2] * PiDiv;
sr = (float)Math.Sin(angle);
cr = (float)Math.Cos(angle);
float[] Forward = new float[] { (cp * cy * Distance), (cp * sy * Distance), (-sp * Distance) };
return Forward;
}

public static void SetClientViewAngles(int clientIndex, int Victim)
{
float[] Vec = getVector(getPlayerPosition(clientIndex), getPlayerPosition(Victim));
Vec[2] -= CheckStance(Victim);
Vec[2] += CheckStanceAttacker(clientIndex);
float[] Angles = vectoangles(Vec);
setViewAngles((UInt32)clientIndex, Angles);
}

public static uint G_Entity(int Client, uint Mod = 0)
{
return (Adresses.G_Entity + (0x280 * (uint)Client) + (uint)Mod);
}

public static void setViewAngles(UInt32 clientIndex, float[] Angles)
{
WriteSingle(0x10040000, Angles);
RPC.Call(Client_SetClientViewAngles, new object[] { G_Entity((int)clientIndex, 0), 0x10040000 });
}

public static float[] getViewAngles(int clientIndex)
{
return ReadSingle(Client_Angles + ((uint)clientIndex + 0x3980));
}

public static float[] ReadSingle(uint Address)
{
float[] FloatArr = new float[3];
FloatArr[0] = PS3.Extension.ReadFloat(Address);
FloatArr[1] = PS3.Extension.ReadFloat(Address + 0x04);
FloatArr[2] = PS3.Extension.ReadFloat(Address + 0x08);
return FloatArr;
}

public static void WriteSingle(uint Address, float[] FloatArr)
{
PS3.Extension.WriteFloat(Address, FloatArr[0]);
PS3.Extension.WriteFloat(Address + 0x04, FloatArr[1]);
PS3.Extension.WriteFloat(Address + 0x08, FloatArr[2]);
}

Tu doit update les adresse celon ton Jeu , ceci est un Aimbot Fair et HOST , Pour un Unfaire pour autre que AW , utilise Le Player_Die comme adresse
Pour un no-Host utilise des autre adresse comme Centiy_t Clien_S et Cl_ViewAngle etc
Merci a toi :) Super
 
Haut