Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Black Ops Triggerbot
#1
PHP Code:
void (*CG_Trace)(TraceTracevec3_t Startvec3_t Endint skipNumberint maskint a6int 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 angleend;
 
    
VectorCopycg->refdef.Locationangle);
    
VectorMAangle131072cg->refdef.ViewAxis[0], end );
     
    
CG_Trace( &crosshair_traceangleend00x280B0010);  

    if(
crosshair_trace.entityNum 32 )
    {
        return 
crosshair_trace.entityNum;
    }
    return -
1;
}

bool CAimbot::TrigerBot( )
{
    
int CrosshairClient ScanCrosshairEntity( );
    
    static 
int lastShotTime 0;  
    
    
int GetTick GetTickCount( );
    
    if(
ClientInfo[CrosshairClient].Team != ClientInfoPlayerSnap->clientNum ].Team || ClientInfo[CrosshairClient].Team == TEAM_FREE)  
    {
        if ( !
lastShotTime && CrosshairClient >=)
        {
            
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:
King-Orgy - source
Tamimego/idtech3 sdk
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Black Ops 2 Custom background? jotape99 10 12,437 10-29-2013, 07:22
Last Post: xInfinity.
  Black ops Help Bluexephos 4 5,298 10-06-2013, 16:24
Last Post: Nekochan
  [Release] Black Ops 1 "External" Console barata 16 19,111 07-19-2013, 21:15
Last Post: Jakeyellis
  [Release] Black Ops FF Explorer master131 37 41,335 07-11-2013, 04:07
Last Post: Jake625
  A question about the Call of Duty Black Ops king_dom 1 3,703 07-08-2013, 05:26
Last Post: DidUknowiPwn
  Black Ops 1 External Console meowgasm 8 9,610 07-04-2013, 00:57
Last Post: Nekochan
  [Release] Black Ops Single Player/Zombie Trainer V3.6 Craig87 52 88,474 07-01-2013, 15:12
Last Post: explosivebanana55
Wink Preview Black ops 2 - CFG file dump SLiiTH3R 11 19,747 06-09-2013, 16:01
Last Post: dylankrajewski
Sad Help Minecraft-Mojang Loading Screen, Than Black Screen mans123 6 6,804 06-01-2013, 19:40
Last Post: Shreddie
  [Release] Black Ops 2 Camos in MW2 V3.0 -(Cyborg, Dragon, Comic, Paladin, and Ghosts)- DidUknowiPwn 10 13,103 05-25-2013, 07:00
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.