Page 1 of 3 123 LastLast
Results 1 to 15 of 44
  1. #1
    Augs's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    2

    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]
    Last edited by Zoom; 06-05-2010 at 09:31 PM.

  2. The Following 2 Users Say Thank You to Augs For This Useful Post:

    crazygamer53 (06-05-2010),michael_87 (06-24-2010)

  3. #2
    rocker340's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    in my house
    Posts
    304
    Reputation
    12
    Thanks
    76
    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

  4. #3
    _whit's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    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..

  5. #4
    rocker340's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    in my house
    Posts
    304
    Reputation
    12
    Thanks
    76
    well its better than nothing and u dont know this could be just what someone was lookin for to finish there aimbot

  6. #5
    _whit's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    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..

  7. #6
    rocker340's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    in my house
    Posts
    304
    Reputation
    12
    Thanks
    76
    ohhhh my bad i dont know to much about aimbots
    just how to pwn wit them
    srry man

  8. #7
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    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

  9. #8
    crazygamer53's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Massachusetts
    Posts
    210
    Reputation
    10
    Thanks
    23
    My Mood
    Psychedelic
    I don't know how to code much, but this is great. I'm saving the link, could come in handy some day
    Quote Originally Posted by liquidforce View Post

    chuck norris is not affraid of death, death is afraid of chuck norris

    Don't be afraid to click thanks if I helped.

    P.S. I only bite on Wednesdays

    Goals = complete = not yet
    Get banned once
    Get banned three times
    Get banned 10 times
    Get a legit ultrakill
    Get a legit Fantastic
    Get a legit Unbelievable
    Own A vip hacker
    Get VIP
    Make my own mod
    Make my own hack

  10. #9
    AVGN's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Kekistan
    Posts
    15,566
    Reputation
    1817
    Thanks
    6,678
    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..




  11. #10
    Taylor Swift's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Spangdahlem, Germany
    Posts
    6,438
    Reputation
    357
    Thanks
    651
    My Mood
    Yeehaw
    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

  12. #11
    Drake's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Belgium,Oost-Vlaanderen
    Posts
    12,680
    Reputation
    1801
    Thanks
    4,929
    Quote Originally Posted by iopop9 View Post
    Hmm it misses the structs and this has been posted 1,000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000.....
    Times b4
    ohhh u spammer .

  13. #12
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    554
    Reputation
    10
    Thanks
    362
    My Mood
    Angelic
    lol... this is leeched from a another forum (of 2009) -.-...

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


  14. #13
    archie123's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    v
    Posts
    24
    Reputation
    10
    Thanks
    1
    what exactly is the point of spam

  15. #14
    crazygamer53's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Massachusetts
    Posts
    210
    Reputation
    10
    Thanks
    23
    My Mood
    Psychedelic
    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
    Last edited by crazygamer53; 06-05-2010 at 12:30 PM. Reason: Question
    Quote Originally Posted by liquidforce View Post

    chuck norris is not affraid of death, death is afraid of chuck norris

    Don't be afraid to click thanks if I helped.

    P.S. I only bite on Wednesdays

    Goals = complete = not yet
    Get banned once
    Get banned three times
    Get banned 10 times
    Get a legit ultrakill
    Get a legit Fantastic
    Get a legit Unbelievable
    Own A vip hacker
    Get VIP
    Make my own mod
    Make my own hack

  16. #15
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    554
    Reputation
    10
    Thanks
    362
    My Mood
    Angelic
    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

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


Page 1 of 3 123 LastLast

Similar Threads

  1. [Source Code] Cross Fire Aimbot Source Code
    By lol~lol in forum CrossFire Hacks & Cheats
    Replies: 30
    Last Post: 02-20-2010, 12:38 PM
  2. [Source Code] Aimbot source code with video
    By maxius12 in forum CrossFire Hacks & Cheats
    Replies: 37
    Last Post: 02-18-2010, 06:07 PM
  3. [Source Code] Aimbot source code with video
    By maxius12 in forum CrossFire Hacks & Cheats
    Replies: 5
    Last Post: 02-18-2010, 04:47 PM
  4. Visual Basic Aimbot Source Code
    By whitten in forum Visual Basic Programming
    Replies: 19
    Last Post: 08-05-2009, 10:39 AM
  5. My Aimbot source code!
    By wertoskiller in forum Combat Arms Hacks & Cheats
    Replies: 8
    Last Post: 07-27-2009, 04:46 PM