Results 1 to 4 of 4
  1. #1

    How Do I Make An Aimbot?

    I'm sorry if this question is posted in the wrong section, but I would like to make a simple aimbot for a fps game,
    and I was wondering if someone could tell me the steps of how to do it. It would be helpful if you mentioned programs
    that could help me create the aimbot too ( T-search, c++ compiler ).

  2. #2
    Member
    Join Date
    Jul 2011
    Location
    Australia
    Posts
    41

    Re: How Do I Make An Aimbot?

    I don't believe you are in the right forum.. ( I think it should be in the Coding section )

    But to make a hack requires the knowledge and understanding of C language programming.. Don't expect to learn it in 1 night... Maybe after a few months. It's complicated stuff but you have to be devoted and willing to spare the time to read a couple hours a day.

    Best place to start?

    Kenneth & Richie's "The C Programming Language". Book

    Become one with the book

    http://www.w3schools.com <<<< Free tutorials!


    Rigged to die!



  3. #3
    Senior Member uNhoL's Avatar
    Join Date
    Dec 2007
    Posts
    393

    Re: How Do I Make An Aimbot?

    As mentioned above, it's going to take long before you're able to make one if you don't have C or C++ knowledge. To make one, you need to learn C(++), reverse engineering, detouring and math. It's all very logical and easy once you learn it, but the learning part is going to be long and frustrating but there are lots of people willing to help you.

    Pm me if you want my msn

    Programs:
    Visual C++ 2010 Express | Microsoft Visual Studio C++ compiler
    OllyDbg v1.10 Disassembler & Debugger


    MOOOOM MY INTERNET IS TOO SLOW

  4. #4
    Coders
    Join Date
    Nov 2009
    Location
    Belgium
    Posts
    990

    Re: How Do I Make An Aimbot?

    Find a way to iterate through players (array, mapped, vector, ...), IDA, OllyDbg or CheatEngine could help you out here. Reverse the structure as far as possible, as you might find some validity checks. From that point, all you need to find are your own view angles. What to do with them, points the obvious.
    Just to help you out, I wrote this up fastly. Addresses could be wrong (but I doubt it :P), I used CoD2 but I barely looked at that game in the past. In the end, you get the idea.

    Code:
    float diff[3]; // Difference from our own viewpoint and the target.float dx, dy; // Enemy vector to x and y angle.
    
    
    // Pointer to our viewangles.
    float* viewangles = ( float* ) 0x0098FDEC;
    
    
    // Pointer to the original EndScene function.
    void (*pEndscene)(unsigned long refdef);
    
    
    // Endpoint for our hook.
    void hEndscene(unsigned long refdef) {
    
    
    	pEndscene( refdef );
    
    
    	float* target = NULL;
    
    
    	if ( *( int* ) ( refdef + 36 ) ) {
    
    
    		// There is a maximum amount of 64 players, let's iterate through them.
    		for ( int i = 0; i < 64; i++ ) {
    
    
    			// Small bit of logical sense to locate the current centity pointer (in our loop).
    			// Centity struct located at 0x015E2A80, with a size step (devided by 1024, which are the
    			// max gentities / session. Resulted in 548. The rest of the code points itself.
    			DWORD cent = ( ( DWORD ) 0x015E2A80 + ( i * 548 ) );
    
    
    			// A 'vector' (float[3]) with the position is located at current centity + 492.
    			float* pos = *( float** ) ( cent + 492 );
    
    
    			// centity.currentValid is located at 480.
    			int valid = *( int* ) ( cent + 480 );
    
    
    			// If our player is valid, set it as our target.
    			if ( valid ) {
    				target = pos;
    				break;
    			}
    		}
    
    
    		if ( target != NULL ) {
    
    
    			VectorSubtract( target, vieworg, diff );
        			vectoangles( diff, dx, dy );
    
    
    			viewangles[0] += dy;
    			viewangles[1] += dx;
    		}
    	}
    }
    Could as well just reverse the centity structure instead.

    Regards.

Similar Threads

  1. Can Anyone Make And Aimbot For Uberstriken :( ?
    By NCRox99 in forum Browser Games
    Replies: 1
    Last Post: October 27th, 2011, 23:12
  2. How to make a aimbot.
    By Darksz in forum Windows
    Replies: 1
    Last Post: October 12th, 2011, 16:57
  3. so how does on go and make an aimbot?
    By johnmen in forum BattleField 2 Cheats
    Replies: 0
    Last Post: July 23rd, 2010, 21:48
  4. How To Make CoD2 1.3 Aimbot?
    By Beeck in forum Call of Duty 2 Cheats
    Replies: 6
    Last Post: November 8th, 2009, 15:05
  5. How To Make A Color Aimbot
    By bobob in forum Visual Basic
    Replies: 1
    Last Post: November 15th, 2008, 05:16

Bookmarks

Posting Permissions

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