Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Masterycon's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    0
    Reputation
    10
    Thanks
    3
    My Mood
    Asleep

    Smile Vehicle Aimbot (Jet,Heli)Source Code

    Code:
    //add this to your vec3 class. or to your physiycs class if you have one. or rewrite it and just add it to your hack
    //you will need a dotproduct function
    float Vec3::AimFloat(Vec3 &delta, const float &FOV) const
    {
    	return asinf(this->dot(delta)) / FOV;
    }
    
    Code:
    //some pointers
    Vec3 Origin	= GameRenderer->Singleton()->m_viewParams.firstPersonTransform.trans;
    Vec3 Left	= GameRenderer->Singleton()->m_viewParams.firstPersonTransform.left;
    Vec3 Up		= GameRenderer->Singleton()->m_viewParams.firstPersonTransform.up;
    
    
    Code:
    //the function itself
    BOOL Rotation() // Fragger aka dudeinberlin
    {
    	float flYaw	,flPitch,flRoll;
    	//TargetArray is the final target vector, this will differ for your hack. i store my targetvecs in an array, hence i can call this rotation function without any params.
    	Vec3 dt = TargetArray() - Origin;
    	//don't forget to norm the delta for the coming calculations
    	dt.normalize();
    	
    	if(MyPlayer->isInVehicle())
    	{
    		flYaw   = Left.AimFloat(dt,GameRenderer->Singleton()->m_viewParams.view.m_fovX / 2.0f);
    		flPitch = Up.AimFloat(dt,GameRenderer->Singleton()->m_viewParams.view.m_fovX / 2.0f);	
    		flRoll  = flYaw;
    		//ya ya, how to now if your a jet or heli? search the ucforum
    		//flVehicleSens is dynamic in my hack. best Results with a very low sens of 8.0 or lower
    		if(bImaJet||bImAHeli)
    			flInputAction[ConceptPitch] = -flPitch * flVehicleSens;
    		else
    			flInputAction[ConceptPitch] = flPitch * flVehicleSens;
    		flInputAction[ConceptYaw]	= flYaw	* flVehicleSens;	
    		flInputAction[ConceptRoll]  = flRoll* flVehicleSens;
    		
    		if(bFire)
    			AutoFireLogic();
    		return TRUE;
    	}
    	else
    	{
    		//tada you should know this.
    	}
    	return FALSE;
    }
    Last edited by Mayion; 10-26-2013 at 04:38 PM. Reason: Adding Code Tags

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

    mrpijus123 (10-31-2014)

  3. #2
    zarix's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Estonia
    Posts
    96
    Reputation
    10
    Thanks
    8
    My Mood
    Devilish
    Put the code in
    Code:
     here so it's perfect
    Use [C o d e] ..... [/c od e] (Remove spaces) but thats for the source code

  4. #3
    BilakosBF3's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Location
    Where Am I?! O.o
    Posts
    117
    Reputation
    108
    Thanks
    1,101
    My Mood
    Relaxed
    Will this works if i just open a new empty file,copy - paste the code and save it as a dll?

  5. #4
    Lulzzor's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    0
    My Mood
    Confused
    Quote Originally Posted by BilakosBF3 View Post
    Will this works if i just open a new empty file,copy - paste the code and save it as a dll?
    Hahahahahahahahaha..........no

  6. #5
    Brian Moser's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Tel-Aviv
    Posts
    632
    Reputation
    74
    Thanks
    607
    Pretty old ,but thanks for share.

  7. #6
    heller786786's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    India
    Posts
    10
    Reputation
    10
    Thanks
    0
    My Mood
    Angry
    what do u mean i dint understand whats is this code all about plz tell me how to make it work.

  8. #7
    mcdeliver's Avatar
    Join Date
    Sep 2013
    Gender
    female
    Posts
    139
    Reputation
    43
    Thanks
    608
    learn c++

  9. #8
    Mayion's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Bed
    Posts
    12,601
    Reputation
    2890
    Thanks
    7,489
    My Mood
    Twisted
    Quote Originally Posted by heller786786 View Post
    what do u mean i dint understand whats is this code all about plz tell me how to make it work.
    This is how Dll files are created.

    You need to learn C++ First and understand how to code, then you will know how to use that source code

    cplusplus.com - The C++ Resources Network << This site will help you to get started at C++.
    Also you could check programming section of MPGH there you will find many tutorials will help you as well..
    C++/C Programming - MPGH - MultiPlayer Game Hacking & Cheats - Hacks, Cheats, Downloads, Trainers, Games

  10. #9
    680sli's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    3
    My Mood
    Relaxed
    Quote Originally Posted by heller786786 View Post
    what do u mean i dint understand whats is this code all about plz tell me how to make it work.
    HAHAHA you will learn c++ in some minutes? lol

    go to school

  11. #10
    fapdarklord's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    'Straya
    Posts
    464
    Reputation
    59
    Thanks
    2,096
    My Mood
    Fine
    Quote Originally Posted by 680sli View Post
    HAHAHA you will learn c++ in some minutes? lol

    go to school
    School didn't teach me shit about coding.

  12. #11
    hidudeshi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    1,102
    Reputation
    114
    Thanks
    118
    My Mood
    Relaxed
    Code:
    float Vec3::AimFloat(Vec3 &delta, const float &FOV) const
    {
    return asinf(this->dot(delta)) / FOV;
    }
    
    Code:
    //some pointers
    Vec3 Origin	= GameRenderer->Singleton()->m_viewParams.firstPersonTransform.trans;
    Vec3 Left	= GameRenderer->Singleton()->m_viewParams.firstPersonTransform.left;
    Vec3 Up	 = GameRenderer->Singleton()->m_viewParams.firstPersonTransform.up;
    
    
    Code:
    //the function itself
    BOOL Rotation() // Fragger aka dudeinberlin
    {
    float flYaw	,flPitch,flRoll;
    //TargetArray is the final target vector, this will differ for your hack. i store my targetvecs in an array, hence i can call this rotation function without any params.
    Vec3 dt = TargetArray() - Origin;
    //don't forget to norm the delta for the coming calculations
    dt.normalize();
    
    if(MyPlayer->isInVehicle())
    {
    flYaw = Left.AimFloat(dt,GameRenderer->Singleton()->m_viewParams.view.m_fovX / 2.0f);
    flPitch = Up.AimFloat(dt,GameRenderer->Singleton()->m_viewParams.view.m_fovX / 2.0f);	
    flRoll = flYaw;
    //ya ya, how to now if your a jet or heli? search the ucforum
    //flVehicleSens is dynamic in my hack. best Results with a very low sens of 8.0 or lower
    if(bImaJet||bImAHeli)
    flInputAction[ConceptPitch] = -flPitch * flVehicleSens;
    else
    flInputAction[ConceptPitch] = flPitch * flVehicleSens;
    flInputAction[ConceptYaw]	= flYaw	* flVehicleSens;	
    flInputAction[ConceptRoll] = flRoll* flVehicleSens;
    
    if(bFire)
    AutoFireLogic();
    return TRUE;
    }
    else
    {
    //tada you should know this.
    }
    return FALSE;
    }

  13. #12
    fapdarklord's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    'Straya
    Posts
    464
    Reputation
    59
    Thanks
    2,096
    My Mood
    Fine
    Quote Originally Posted by liloswaggins View Post
    *********
    Not sure how it's an lmao, just saying how shit teachers are at teaching :L
    Last edited by Bs; 10-23-2013 at 12:57 PM.

  14. #13
    BilakosBF3's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Location
    Where Am I?! O.o
    Posts
    117
    Reputation
    108
    Thanks
    1,101
    My Mood
    Relaxed
    you forgot to mention that this is dudeinberlin's code

  15. #14
    {CnD} Ninja's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    0
    Can I get banned fo dis?

  16. #15
    Brian Moser's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Tel-Aviv
    Posts
    632
    Reputation
    74
    Thanks
    607
    Quote Originally Posted by {CnD} Ninja View Post
    Can I get banned fo dis?
    If you know what you are doing,there will still be a chance.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Outdated] C++ ESP AIMBOT MULTI HACK SOURCE CODE
    By HOOSIER in forum Alliance of Valiant Arms (AVA) Coding / Source Code
    Replies: 51
    Last Post: 01-06-2013, 03:14 PM
  2. Visual Basic Aimbot Source Code
    By whitten in forum Visual Basic Programming
    Replies: 19
    Last Post: 08-05-2009, 11:39 AM
  3. My Aimbot source code!
    By wertoskiller in forum Combat Arms Hacks & Cheats
    Replies: 8
    Last Post: 07-27-2009, 05:46 PM
  4. vb AImbot! No tut only source code!
    By reversflux in forum Visual Basic Programming
    Replies: 6
    Last Post: 07-20-2009, 11:07 AM
  5. Exteel Aimbot Script Source Code
    By Trip-FX in forum General Game Hacking
    Replies: 15
    Last Post: 05-21-2009, 02:09 PM