Jump to content

Unity Game Hacking: FPS Edition [ Aimbot ] Part 1


98 posts in this topic

Recommended Posts

Posted
5 minutes ago, batchh said:

Most of the time is a field

@batchhi see a field but its in other class called OtherPlayerController:
private Quaternion m_TargetRotation; // 0x39C

Posted

@batchh is like this correct:

 

void (*setRotation)(void *player, Quaternion rotation) = (void (*)(void *, Quaternion))getRealOffset(0x101158C);

    // Calculate the rotation needed to aim at the closest enemy
    Quaternion rotation = Quaternion::LookRotation(closestEnemyPosition - Vector3(0, 0.5f, 0) - myPosition);


    if (CheatState::Aimbot) {
        setRotation(myplayer, rotation);
    } 

 

Posted

@batchh will this method rotate from transform class from unityEngine work ?

 

		public Quaternion localRotation
		{
			[Token(Token = "0x6000A5E")]
			[Address(RVA = "0x26B3A2C", Offset = "0x26B3A2C", VA = "0x26B3A2C")]
			get
			{
				return default(Quaternion);
			}
			[Token(Token = "0x6000A5F")]
			[Address(RVA = "0x26B3AC4", Offset = "0x26B3AC4", VA = "0x26B3AC4")]
			set
			{
			}
		}


or it need to be in class player class ?

Posted
2 minutes ago, aQReh said:

@batchh will this method rotate from transform class from unityEngine work ?

 

		public Quaternion localRotation
		{
			[Token(Token = "0x6000A5E")]
			[Address(RVA = "0x26B3A2C", Offset = "0x26B3A2C", VA = "0x26B3A2C")]
			get
			{
				return default(Quaternion);
			}
			[Token(Token = "0x6000A5F")]
			[Address(RVA = "0x26B3AC4", Offset = "0x26B3AC4", VA = "0x26B3AC4")]
			set
			{
			}
		}


or it need to be in class player class ?

Just test them and see which one works best

Posted

If youy dont mind can you help me if i provide you with my source and dump. i have limited knowledge. I still dont understand much. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines