Thread: Any use?

Results 1 to 8 of 8
  1. #1
    randomnamekabe's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    In The Thread
    Posts
    3,682
    Reputation
    25
    Thanks
    624

    Any use?

    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);

  2. #2
    ronnie12345's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    1
    uhm its an aimbot i think looks like its is

  3. #3
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Yep im pretty sure its aimbot.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  4. #4
    randomnamekabe's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    In The Thread
    Posts
    3,682
    Reputation
    25
    Thanks
    624
    It is part of the source of an aimbot.
    Can anyone use it?

  5. #5
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Yea they could but its been posted alot lately

  6. #6
    randomnamekabe's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    In The Thread
    Posts
    3,682
    Reputation
    25
    Thanks
    624
    I apologize for repost.
    I didn't check too thoroughly.

  7. #7
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Nah you good
    i dont really care if people repost..dont bother me none

  8. #8
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Posted many times.

    Leeched is leeched.
    /Closed
    -Rest in peace leechers-

    Your PM box is 100% full.

Similar Threads

  1. ANY USE OF DUMPING ENGINE???
    By technine in forum Combat Arms Coding Help & Discussion
    Replies: 5
    Last Post: 07-22-2011, 04:02 PM
  2. Any useful hacks???
    By Syync in forum Combat Arms Europe Hacks
    Replies: 1
    Last Post: 03-14-2009, 03:31 AM
  3. why can't i use any RaR files?
    By patsfan39 in forum General Hacking
    Replies: 2
    Last Post: 01-07-2009, 07:53 PM
  4. Replies: 13
    Last Post: 12-30-2007, 10:48 PM
  5. any way to use wpe for damage editing?
    By zelda803 in forum WarRock - International Hacks
    Replies: 10
    Last Post: 02-09-2006, 02:33 AM