Hi finally made my second hack
its just a plain aimbot no additional ..
but here is my request any one here play BF3 ?? want to play with me on an Unranked server ( PunkBuster off server )
to test this baby out ??
just my simple code
Code:
#include "allHeaders.h"
#define PI 3.141592653589793f
double findAngleLimited(float dx, float dy)
{
return atan2(dy, dx);
}
double findAngleFull(float Dx, float Dy)
{
double notReal = atan(Dy/Dx);//Range of [-pi/2, pi/2]
//First Quadrant
if(Dx > 0 && Dy > 0) return notReal;
//Second Quadrant
if(Dx < 0 && Dy > 0) return PI + notReal;
//Third Quadrant
if(Dx < 0 && Dy < 0) return PI + notReal;
//Fourth Quadrant
if(Dx > 0 && Dy < 0) return 2 * PI + notReal;
//Dx = 0
if(Dx == 0 && Dy!=0) return PI/2;
//Dy = 0
if(Dy == 0 && Dx!=0) return 0;
//Dx = 0 and Dy = 0
if(Dy == 0 && Dx == 0) return 0;
return 0;
}
// somewhere else
m_fDist[0] = Player[0]->UpperNeckBone[10] - Local->x;
m_fDist[1] = Player[0]->UpperNeckBone[11] - Local->y;
m_fDist[2] = Player[0]->UpperNeckBone[12] - Local->z;
float Dist1 = (float)GetDistance2D(m_fDist[0], m_fDist[1]);
float Dist2 = (float)GetDistance3D(m_fDist[0], m_fDist[1], m_fDist[2]);
m_fRot[0] = (float)findAngleFull(m_fDist[0], m_fDist[1]);
m_fRot[1] = (float)findAngleLimited(Dist1, m_fDist[2]);
if (m_fRot[0] != -1 && m_fRot[1] != -1)
{
*(float*)HORI_OFFSET = m_fRot[0]; // write x rotation
*(float*)VERT_OFFSET = m_fRot[1]; // write y rotationasdasdas
}
thats my aimbot code .. if any one wants to create an aimbot for BF3 thats the code any way .. PM me if you want to test this
baby out for a ride