Thread: Auto Wall

Results 1 to 6 of 6
  1. #1
    IGotBanned.'s Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    imageshack.us/photo/my-images/190/uban.png
    Posts
    1,290
    Reputation
    -49
    Thanks
    122
    My Mood
    Aggressive

    Auto Wall

    I will not tell u how to use this? omg...




    Code:
    /************************************************************************/
    /*                                                                      */
    /************************************************************************/
    
    #ifndef _C_AUTOWALL_H_
    #define _C_AUTOWALL_H_
    
    class CAutoWall
    {
    private:
    
    	void	DisableBulletImpacts( );
    	void	DisableBulletTrails( );
    
    	void	EnableBulletImpacts( );
    	void	EnableBulletTrails( );
    
    	void	SetupBulletTrace( bulletTrace_t* btr, vec3_t start, vec3_t end, int skipNum );
    
    
    public:
     
    	CAutoWall( );
    	~CAutoWall( );
    
    	bool	GetRemainingPower( vec3_t vieworg, centity_t* cent, vec3_t origin, float* remainingPower  );
    };
    
    extern CAutoWall AutoWall;
    
    #endif
    Code:
    CAutoWall::CAutoWall( )
    {
    
    }
    
    // ----------------------------------------------------------------------
    
    CAutoWall::~CAutoWall( )
    {
    
    }
    
    void CAutoWall::SetupBulletTrace( bulletTrace_t* btr, vec3_t start, vec3_t end, int skipNum )
    {
    	btr->worldEntNum = 1022;
    	btr->skipNum = skipNum;
    	btr->power = 1.0f;
    	btr->bulletType = 1;
    	VectorCopy( cg->refdef.Vieworg, btr->vieworg );
    	VectorCopy( start, btr->start );
    	VectorCopy( end, btr->end );
    
    	vec3_t delta;
    	VectorSubtract( end, start, delta );
    
    	vec3_t angles;
    	Math.vectoangles( delta, angles );
    	Math.AngleVectors( angles, btr->viewDirection, NULL, NULL );
    }
    
    void DrawBulletTrajectory( centity_t* cent, int a2, bulletTrace_t* bulletTrace, weapon_t* weapon, vec3_t vieworg, int serverTimeDelta )
    {
    	DWORD dwCallAddr = 0x00455A80;
    	__asm
    	{
    		push	[ serverTimeDelta ];
    		push	[ vieworg ];
    		push	[ weapon ];
    		push	[ bulletTrace ];
    		push	[ a2 ];
    		mov		edi, [ cent ];
    		call	[ dwCallAddr ];
    		add		esp, 0x14;
    	}
    }
    
    void PatchBytes( void * lpAddress, const char * szBytes, int nLen )
    {
    	// Needed by VirtualProtect.
    	DWORD dwBack = 0;
    	VirtualProtect( lpAddress, nLen, PAGE_READWRITE, &dwBack );
    
    	// Write Byte-After-Byte.
    	for( int i = 0; i < nLen; i++ )
    		*( BYTE * )( ( DWORD )lpAddress + i ) = szBytes[ i ];
    
    	// Restore old protection.
    	VirtualProtect( lpAddress, nLen, dwBack, &dwBack );
    }
    
    
    void CAutoWall::DisableBulletImpacts( )
    {
    	PatchBytes( ( void* )0x00455A20, "\xC3", 1 );
    }
    
    // ----------------------------------------------------------------------
    
    void CAutoWall::DisableBulletTrails( )
    {
    	PatchBytes( ( void* )0x00458110, "\xC3", 1 );
    }
    
    // ----------------------------------------------------------------------
    
    void CAutoWall::EnableBulletImpacts( )
    {
    	PatchBytes( ( void* )0x00455A20, "\x8B", 1 );
    }
    
    // ----------------------------------------------------------------------
    
    void CAutoWall::EnableBulletTrails( )
    {
    	PatchBytes( ( void* )0x00458110, "\x83", 1 );
    }
    
    // ----------------------------------------------------------------------
    
    weapon_t**		cg_weapons2			= ( weapon_t** )0x00736DB8;
    
    bool CAutoWall::GetRemainingPower( vec3_t vieworg, centity_t* cent, vec3_t origin, float* remainingPower )
    {
    	bulletTrace_t bulletTrace;
    	SetupBulletTrace( &bulletTrace, vieworg, origin, 0 );
    
    	int serverTimeDelta = cg->nextSnap->serverTime - cg->snap->serverTime;
    
    	if ( serverTimeDelta < 0 )
    		serverTimeDelta = 0;
    
    	DisableBulletImpacts( );
    	DisableBulletTrails( );
    
    	DrawBulletTrajectory( &cg->predictedPlayerEntity, 0, &bulletTrace, cg_weapons2[ cg->predictedPlayerState.weapon ], vieworg, serverTimeDelta );
    
    	EnableBulletImpacts( );
    	EnableBulletTrails( );
    	if ( bulletTrace.skipNum == cent->clientNum )
    	{
    		*remainingPower = bulletTrace.power;
    
    		return true;
    	}
    	else
    	{
    		*remainingPower = 0.0f;
    
    		return false;
    	}
    }

  2. The Following User Says Thank You to IGotBanned. For This Useful Post:

    javabcool (11-03-2012)

  3. #2
    Strekeos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    70
    Reputation
    13
    Thanks
    5
    My Mood
    Cool
    Dude WTF is this?

  4. #3
    IGotBanned.'s Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    imageshack.us/photo/my-images/190/uban.png
    Posts
    1,290
    Reputation
    -49
    Thanks
    122
    My Mood
    Aggressive
    Quote Originally Posted by Strekeos View Post
    Dude WTF is this?
    stfu if u don't know what c++ is

  5. #4
    Artur050's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Inspired
    Quote Originally Posted by IGotBanned. View Post
    stfu if u don't know what c++ is
    Look, it´s the guy who thinks he can get minion by keeping CoD4 topics alive. By posting some useless shit to us. Not everyone has time to learn C++, C#, Basic or java.

    Brah, Go back selling your [ Vip hack ] for 25$ that nobody will buy. It's god damn 50% of modern warfare 3... Don't mention the guy said he doesn´t code...

  6. #5
    jdslashv2's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Bratislava
    Posts
    138
    Reputation
    10
    Thanks
    267
    My Mood
    Yeehaw
    Code:
    float flPower;
    GetRemainingPower(refdef->Vieworg, pEntity, point, &flPower);
    lol wont send anymore just a lil snippet. also @Artur050 its my cheat and its been selling so yeah
    sig?

  7. The Following User Says Thank You to jdslashv2 For This Useful Post:

    IGotBanned. (10-29-2011)

  8. #6
    IGotBanned.'s Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    imageshack.us/photo/my-images/190/uban.png
    Posts
    1,290
    Reputation
    -49
    Thanks
    122
    My Mood
    Aggressive
    Quote Originally Posted by Artur050 View Post
    Look, it´s the guy who thinks he can get minion by keeping CoD4 topics alive. By posting some useless shit to us. Not everyone has time to learn C++, C#, Basic or java.

    Brah, Go back selling your [ Vip hack ] for 25$ that nobody will buy. It's god damn 50% of modern warfare 3... Don't mention the guy said he doesn´t code...
    wtf u talking about fucking whitey?

    Quote Originally Posted by jdslashv2 View Post
    Code:
    float flPower;
    GetRemainingPower(refdef->Vieworg, pEntity, point, &flPower);
    lol wont send anymore just a lil snippet. also @Artur050 its my cheat and its been selling so yeah
    ye all go to Kryp....

Similar Threads

  1. [RELEASE] WArROCK AUTO AIM/WALL WITH HUD HACK
    By ForceUse in forum WarRock - International Hacks
    Replies: 1
    Last Post: 06-07-2010, 09:13 AM
  2. WarRock Auto Vehicle Repair Hack
    By mortis123 in forum WarRock - International Hacks
    Replies: 12
    Last Post: 01-17-2006, 09:40 PM
  3. Auto or aim bot
    By aaronm in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-13-2006, 05:10 PM
  4. Vehicle Stealing and Vehicle auto-destroy in Havana
    By Zededarian in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 01-02-2006, 05:34 PM
  5. WarRock Auto Healer
    By Flawless in forum WarRock - International Hacks
    Replies: 8
    Last Post: 12-31-2005, 04:44 AM