Release Black Ops Triggerbot
#1
PHP 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::TrigerBot( ) { 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:
King-Orgy - source
Tamimego/idtech3 sdk
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Black Ops 2 Custom background? jotape99 10 18,212 10-29-2013, 07:22
Last Post: xInfinity.
  Black ops Help Bluexephos 4 7,131 10-06-2013, 16:24
Last Post: Nekochan
  [Release] Black Ops 1 "External" Console barata 16 26,334 07-19-2013, 21:15
Last Post: Jakeyellis
  [Release] Black Ops FF Explorer master131 37 54,961 07-11-2013, 04:07
Last Post: Jake625
  A question about the Call of Duty Black Ops king_dom 1 6,372 07-08-2013, 05:26
Last Post: DidUknowiPwn
  Black Ops 1 External Console meowgasm 8 13,458 07-04-2013, 00:57
Last Post: Nekochan
  [Release] Black Ops Single Player/Zombie Trainer V3.6 Craig87 52 101,660 07-01-2013, 15:12
Last Post: explosivebanana55
Wink Preview Black ops 2 - CFG file dump SLiiTH3R 11 25,959 06-09-2013, 16:01
Last Post: dylankrajewski
Sad Help Minecraft-Mojang Loading Screen, Than Black Screen mans123 6 8,671 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 16,997 05-25-2013, 07:00
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:
1 Guest(s)

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