Results 1 to 5 of 5

Thread: Killing your team with rocked/nades ( glitch? )

  1. #1
    Join Date
    Jun 2000
    Posts
    603

    Default Killing your team with rocked/nades ( glitch? )

    a glitch i found a while ago
    lets hope activision fix it in cod8

    Code:
    bool oneTimeAxis = false;
    bool oneTimeAlies = false;
    
    int 		**ServerID	= (int **)			0xC84FE4;
    
    void RPG_ForceKillTeam( )
    {
    	for(int i=0; i<2024; i++)
    	{
    		if( ( cg_entities[i].currentValid == 1 ) && (cg_entities[i].aetype == ET_MISSILE ) )
    		{
    			Weapon_t * pWeapon = bot_misc.GetWeaponByIndex( cg_entities[i].weapon % 128 );
    
    			float Distance = bot_aimbot.Distance( cg->Refdef.Vieworg, cg_entities[i].lerpOrigin ) / 36.f;
    			
    			if( strstr(pWeapon->Name, "RPG" ) || strstr(pWeapon->Name, "Raketenwerfer" )  ) 
    			{
    				if ( Distance <= 1.0f ) 
    				{
    					if(clientInfo[cg->clientNum].Team == 1 )
    					{
    						if(oneTimeAxis)
    						{
    							char DoCmd[512];
    							sprintf(DoCmd, "mr %i 8 allies\n", ServerID[0] );
    							CG_trap_SendConsoleCommand(1, 1, DoCmd);
    							oneTimeAxis = false;
    						}
    					}
    					if(clientInfo[cg->clientNum].Team == 2 )
    					{
    						if(oneTimeAlies)
    						{
    							char DoCmd[512];
    							sprintf(DoCmd, "mr %i 8 axis\n", ServerID[0] );
    							CG_trap_SendConsoleCommand(1, 1, DoCmd);
    							oneTimeAlies = false;
    						}
    					}
    				}
    			}
    		}
    	}
    	oneTimeAxis = true;
    	oneTimeAlies = true;
    }
    if you want to kill your team with nades


    Code:
    		if( strstr(pWeapon->Name, "M2" )  ) 
    			{
    				if ( GrenadeDistance <= 5.8f ) 
    				{
    lets go kill the campers!

    psith a little modification on the server time that will work with bullets as well
    Attached Images Attached Images

  2. #2

    Default

    How to use it? PLEASE tell me

  3. #3
    Join Date
    Jan 2010
    Location
    America
    Posts
    244

    Default

    @glitcher, you must compile it with you're own hook base. remember hes releasing helpful info not a full hack lol
    [SIGPIC][/SIGPIC]

  4. #4
    Join Date
    May 2009
    Posts
    3,079

    Default

    This is obviously posted in the "Coding Section".
    A bit of comon sense please ...
    ~ ~

  5. #5
    Join Date
    May 2003
    Location
    fdisk
    Age
    37
    Posts
    4,294,966,934

    Default

    Quote Originally Posted by Glitcher View Post
    How to use it? PLEASE tell me
    c&p it to a notepad. On the top line of the notepad before this code type format c:/autotest Save it as Idontusemybrain.bat and double click the file







    Honestly dont do this it is just a joke

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •