Aimbot Source Code

Posts 115 of 44 · Page 1 of 3
Aimbot Source Code
[php]void SetCrosshairOnEnemy(BYTE PlayerNumber)
{
PLAYER_DATA oP = GetPlayerData(PlayerNumber);
PLAYER_DATA cP = GetMyPlayerData();

double EWdif;
double NSdif;
double UDdif;

double angleA;
double angleP;
double angleB;
double angleBP;

double newValue;
DWORD newValue2;

double newValueb;
DWORD newValueb2;

double halfCircle = 0xFFFFFFFF/2;

/*Sec 1*/
if(oP.coordEW > cP.coordEW && oP.coordNS <= cP.coordNS)
{
EWdif = oP.coordEW - cP.coordEW;
NSdif = cP.coordNS - oP.coordNS;
angleA = atan(NSdif/EWdif) * 57.29578;
angleP = (angleA/360);
newValue = 0xFFFFFFFF - (0xFFFFFFFF*angleP);
newValue2 = newValue;
Poke((void*)cP.lookXa, &newValue2,4);
}

/*Sec 2*/
if(oP.coordEW <= cP.coordEW && oP.coordNS < cP.coordNS)
{
EWdif = cP.coordEW - oP.coordEW;
NSdif = cP.coordNS - oP.coordNS;
angleA = atan(NSdif/EWdif) * 57.29578;
angleP = (angleA/360);
newValue = halfCircle + (0xFFFFFFFF*angleP);
newValue2 = newValue;
Poke((void*)cP.lookXa, &newValue2,4);
}

/*Sec 3*/
if(oP.coordEW < cP.coordEW && oP.coordNS >= cP.coordNS)
{
EWdif = cP.coordEW - oP.coordEW;
NSdif = oP.coordNS - cP.coordNS;
angleA = atan(NSdif/EWdif) * 57.29578;
angleP = (angleA/360);
newValue = halfCircle - (0xFFFFFFFF*angleP);
newValue2 = newValue;
Poke((void*)cP.lookXa, &newValue2,4);
}

/*Sec 4*/
if(oP.coordEW >= cP.coordEW && oP.coordNS > cP.coordNS)
{
EWdif = oP.coordEW - cP.coordEW;
NSdif = oP.coordNS - cP.coordNS;
angleA = atan(NSdif/EWdif) * 57.29578;
angleP = (angleA/360);
newValue = 0 + (0xFFFFFFFF*angleP);
newValue2 = newValue;
Poke((void*)cP.lookXa, &newValue2,4);
}

// Done the X-look, now this is for the Y-look

double flatDist = sqrt((EWdif*EWdif)+(NSdif*NSdif)); // Get the level distance between us and the enemy, using pythagoras

if(oP.coordUD == cP.coordUD)
{
BYTE zero4[4] = {0x00,0x00,0x00,0x00};
Poke((void*)cP.lookYa,zero4, 4); // If we are equal height, set our Y-look to 0 (level)

} else if(oP.coordUD > cP.coordUD)
{
UDdif = oP.coordUD - cP.coordUD; // Work out our UDdif
angleB = atan(UDdif/flatDist) * 57.29578; // Same old stuff as before
angleBP = (angleB/360);
newValueb = 0 + (0xFFFFFFFF*angleBP);
newValueb2 = newValueb;
Poke((void*)cP.lookYa, &newValueb2,4);

} else if (oP.coordUD < cP.coordUD)
{
UDdif = cP.coordUD - oP.coordUD;
angleB = atan(UDdif/flatDist) * 57.29578;
angleBP = (angleB/360);
newValueb = 0xFFFFFFFF - (0xFFFFFFFF*angleBP);
newValueb2 = newValueb;
Poke((void*)cP.lookYa, &newValueb2,4);
}
}[/php]
I dont want to flame or anything but this looks leached if so u should give proper credit.
but otherwise nice release. maybe a public aimbot can be released soon
Quote Originally Posted by rocker340 View Post
I dont want to flame or anything but this looks leached if so u should give proper credit.
but otherwise nice release. maybe a public aimbot can be released soon
doubt that even know you got the source in front of you it still hard to make..
Quote Originally Posted by rocker340 View Post
I dont want to flame or anything but this looks leached if so u should give proper credit.
but otherwise nice release. maybe a public aimbot can be released soon

Holy shit, Don't say that
well its better than nothing and u dont know this could be just what someone was lookin for to finish there aimbot
Quote Originally Posted by rocker340 View Post
well its better than nothing and u dont know this could be just what someone was lookin for to finish there aimbot
rofl this is a full aimbot source...you have to have the address to finish it..
ohhhh my bad i dont know to much about aimbots
just how to pwn wit them
srry man
Quote Originally Posted by rocker340 View Post
ohhhh my bad i dont know to much about aimbots
just how to pwn wit them
srry man
no problem
I don't know how to code much, but this is great. I'm saving the link, could come in handy some day
looks real... but then again i dunno shit..

but i know aimbots have a lot to do with coordinates and angles and what not.

the code looks kind of short to me tho..
Quote Originally Posted by Mr.Magicman View Post
Hmm it misses the structs and this has been posted 1,000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000.....
Times b4
ohhh u spammer .
lol... this is leeched from a another forum (of 2009) -.-...
what exactly is the point of spam
Quote Originally Posted by archie123 View Post
what exactly is the point of spam
If that's a serious question it's making a useless post to increase your post count, or a useless post in general which isn't on topic.

Quick question- God, u sure this is leeched from way back then? It would've been hard to find
Code:
Quick question- God, u sure this is leeched from way back then? It would've been hard to find
Yes because i already got that base last year -.-... and that one is missing some lines to make it work
Posts 115 of 44 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?