Results 1 to 11 of 11
  1. #1
    King-Orgy's Avatar
    Join Date
    Dec 2010
    Gender
    female
    Posts
    119
    Reputation
    15
    Thanks
    622
    My Mood
    Angelic

    Perfect Triggerbot

    Since we know after cod4 the crosshairclientnum from cg don't counts on higher distance we need to use something more tricky.

    Code:
    void (*CG_Trace)(Trace* Trace, vec3_t Start, vec3_t End, int skipNumber, int mask, int a6, int a7) = (void (__cdecl *)(Trace* , vec3_t , vec3_t , int , int , int , int ))0x00438A60;
    
    struct Trace
    {
         char              z_crap[16];
        float              fraction;
        char              z_crap2[8];
        WORD              solid;
        WORD                 allsolid;
        int               entityNum;
        int               unknow;
        char              z_crap3[68];
    };
    
    int  (__cdecl *k_AttackOn)() = (int (__cdecl *)())0x7FCF60;
    int  (__cdecl *k_AttackOff)() = (int (__cdecl *)())0x7FD030;
    
    Trace        crosshair_trace;
    
    int CAimbot::ScanCrosshairEntity( )
    {
        vec3_t angle, end;
     
        VectorCopy( cg->refdef.Location, angle);
        VectorMA( angle, 131072, cg->refdef.ViewAxis[0], end );
        
        CG_Trace( &crosshair_trace, angle, end, 0, 0x280B001, 0, 0 );  
    
        if(crosshair_trace.entityNum < 32 )
        {
            return crosshair_trace.entityNum;
        }
        return -1;
    }
    
    bool CAimbot::TriggerBot( )
    {
        int CrosshairClient = ScanCrosshairEntity( );
        
        static int lastShotTime = 0;  
        
        int GetTick = GetTickCount( );
        
        if(ClientInfo[CrosshairClient].Team != ClientInfo[ PlayerSnap->clientNum ].Team || ClientInfo[CrosshairClient].Team == TEAM_FREE)  
        {
            if ( !lastShotTime && CrosshairClient >=0 )
            {
                lastShotTime = GetTick;
                
                k_AttackOn( );
                
                return true;
            }
            else if(GetTick - lastShotTime > 100   )
            {
                lastShotTime = 0;
                
                k_AttackOff( );
                
                return false;
            }    
            else  if (lastShotTime != 0)
            {
                return true;
            }
        }
        return false;
    }
    credits goes to Tamimego and the quake sdk like always.

  2. The Following 5 Users Say Thank You to King-Orgy For This Useful Post:

    intervention61 (10-16-2011),monz (06-30-2011),PornFlakesreg (02-18-2011),Skyline. (01-25-2011),^...,^ (01-08-2011)

  3. #2
    ^...,^'s Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    New Zealand,Auckland
    Posts
    699
    Reputation
    4
    Thanks
    89
    My Mood
    Lonely
    ummm i love how ur a newb here (the tag) and in uc ur a god
    lolz nice post thanks just waht i was looking for +plus a good name

  4. #3
    JuGGeR-NaUgHt's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    3
    My Mood
    Relaxed
    Where am I meant to put this?

  5. #4
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,314
    My Mood
    Breezy
    Why bother asking if you don't know reverse engineering and C++?
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  6. #5
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Quote Originally Posted by ^...,^ View Post
    ummm i love how ur a newb here (the tag) and in uc ur a god
    lolz nice post thanks just waht i was looking for +plus a good name
    Because he doesn't spam like us duh

  7. #6
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    403
    Thanks
    1,613
    thanks for the info sir


  8. #7
    killstreak's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Brazil :D
    Posts
    419
    Reputation
    12
    Thanks
    402
    My Mood
    Fine
    Quote Originally Posted by JuGGeR-NaUgHt View Post
    Where am I meant to put this?
    in a txt file , than just load black ops and u have an undetectable trigger bot

  9. #8
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    403
    Thanks
    1,613
    Quote Originally Posted by killstreak View Post
    in a txt file , than just load black ops and u have an undetectable trigger bot
    you joking or serious?..


  10. The Following User Says Thank You to Skyline. For This Useful Post:

    [MPGH]master131 (01-25-2011)

  11. #9
    JamesA1994's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    The dark side
    Posts
    1,703
    Reputation
    271
    Thanks
    529
    My Mood
    Psychedelic
    Quote Originally Posted by toobanooba View Post
    you joking or serious?..
    Do you really have to ask?
    CoD Minion: Jan 13th 2011 to April 11 2011
    MMORPG Minion Since: March 28th 2011 to April 11 2011

    Don't be afraid to rep, you aren't loosing anything!
    Don't forget your P&Q's. Press the thanks button if someone has helped.
    jamesa1994@hotmail.com

  12. #10
    fireup27's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    1
    My Mood
    Cheerful
    ok ive stablished that its suposed 2 be in a txt file (DUH) but where do i put the text file ?
    soz 4 being a noob
    Last edited by fireup27; 02-16-2011 at 01:44 AM.

  13. #11
    Stroop2000's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    445
    Reputation
    24
    Thanks
    2,144
    My Mood
    Psychedelic
    Nice bump lolz