C++ AimBot External

Posts 1–14 of 14 · Page 1 of 1
C++ AimBot External
Hey, basically I want to learn how to make a c++ Aimbot.
I looked at Fleeps code but I was confused.
I don't even need full c+p source(that would be nice doe)
I literally just want an explanation or something.
I'll probably get alot of hate or obvious but rude remarks.
I will eventually learn how by myself but this would speed that learning up!

Thanks!
Fleeps tutorial, he explains it pretty good, he even gives you a full solution at the end of his tutorial, look at that, its really simple..
just check the aimbot by merccy and write something like that it's pretty easy, i made one!
Quote Originally Posted by MiraJ View Post
just check the aimbot by merccy and write something like that it's pretty easy, i made one!
Thanks man!
copy pasta eryday

Code:
int GetBestID() {
    int _ID = -1
    float lastDist = 9999

    for (size_t i = 0; i < 64; i++) {
          CBaseEntity e
          e.ReadData(i)

          if (!e.isValidPlayer())
               continue;

          float dist = Get3DDistanceFromCH(&e)
          if (dist < lastDist) {
              _ID = i
              lastDist = dist
          }

   }

   return _ID;
}



bool pr0Aimbotz() {

    int ID = GetBestID()
    
    if (ID != -1) {
     CBaseEntity e;
     e.ReadData(ID)
     Vector3 Angle = Math::Clamp(Math::CalculateAngle(gLocal, e)

     gLocal->SetViewAngles(Angle);
    }
}

I can comment it if you want, but that should be enough to give you an idea how to sort the entitys, and its sort of half-pseudo as I dont have any actual aimbot code atm ^_^
Quote Originally Posted by Yemiez View Post
copy pasta eryday

Code:
int GetBestID() {
    int _ID = -1
    float lastDist = 9999

    for (size_t i = 0; i < 64; i++) {
          CBaseEntity e
          e.ReadData(i)

          if (!e.isValidPlayer())
               continue;

          float dist = Get3DDistanceFromCH(&e)
          if (dist < lastDist) {
              _ID = i
              lastDist = dist
          }

   }

   return _ID;
}



bool pr0Aimbotz() {

    int ID = GetBestID()
    
    if (ID != -1) {
     CBaseEntity e;
     e.ReadData(ID)
     Vector3 Angle = Math::Clamp(Math::CalculateAngle(gLocal, e)

     gLocal->SetViewAngles(Angle);
    }
}

I can comment it if you want, but that should be enough to give you an idea how to sort the entitys, and its sort of half-pseudo as I dont have any actual aimbot code atm ^_^
your code is really helpfull, you calculate the distance from the CH to the enemy. How do you do that? WTS maybe?
Quote Originally Posted by Yemiez View Post
copy pasta eryday

Code:
int GetBestID() {
    int _ID = -1
    float lastDist = 9999

    for (size_t i = 0; i < 64; i++) {
          CBaseEntity e
          e.ReadData(i)

          if (!e.isValidPlayer())
               continue;

          float dist = Get3DDistanceFromCH(&e)
          if (dist < lastDist) {
              _ID = i
              lastDist = dist
          }

   }

   return _ID;
}



bool pr0Aimbotz() {

    int ID = GetBestID()
    
    if (ID != -1) {
     CBaseEntity e;
     e.ReadData(ID)
     Vector3 Angle = Math::Clamp(Math::CalculateAngle(gLocal, e)

     gLocal->SetViewAngles(Angle);
    }
}

I can comment it if you want, but that should be enough to give you an idea how to sort the entitys, and its sort of half-pseudo as I dont have any actual aimbot code atm ^_^
Thanks so much, this helped so much along with Merccy's source. Also do you know if writing incorrect angles can get you vac'd? Because two accounts have been Vac'd from my cheat and they were within a week of eachother, even after changing the code.
Why do you guys still bother making externals? there is literally no advantage...
Quote Originally Posted by asuchan View Post
Why do you guys still bother making externals? there is literally no advantage...
Maybe one does not care about advantages?
I make external cheats because I have to make everything myself, I thoroughly enjoy making managers, classes and in the end seeing a fully structured engine/base that you can add a cheat to in 5 minutes..
Quote Originally Posted by Yemiez View Post
Maybe one does not care about advantages?
I make external cheats because I have to make everything myself, I thoroughly enjoy making managers, classes and in the end seeing a fully structured engine/base that you can add a cheat to in 5 minutes..
Unless you use dude's sdk or some other sdk you do have to make your own classes and such internal

In the end:
Internal is harder
Internal gives you more freedom
Internal is generally faster
Internal will get you banned if you paste

Personally i preffer internal but hey, it all comes down to prefference in the end right?
Quote Originally Posted by asuchan View Post
Unless you use dude's sdk or some other sdk you do have to make your own classes and such internal

In the end:
Internal is harder
Internal gives you more freedom
Internal is generally faster
Internal will get you banned if you paste

Personally i preffer internal but hey, it all comes down to prefference in the end right?
We elitist C+P'ers prefer our external cheats! Just kidding, but I prefer external solely because of gui making hueheuheu.
Quote Originally Posted by Skips View Post
Thanks so much, this helped so much along with Merccy's source. Also do you know if righting incorrect angles can get you vac'd? Because two accounts have been Vac'd from my cheat and they were within a week of eachother, even after changing the code.
Yes you can deffo get VAC'd for writing invalid angles (well insecure).

Use a clamp angle method and always set Angle.z to 0, otherwise your screen will roll (e.g go upsidedown) which is instantban.
Quote Originally Posted by Yemiez View Post
Yes you can deffo get VAC'd for writing invalid angles (well insecure).

Use a clamp angle method and always set Angle.z to 0, otherwise your screen will roll (e.g go upsidedown) which is instantban.
RIP my 2 accounts, rip.

- - - Updated - - -

Code:
 	if (Swag.x < -89.0f) {
				Swag.x += 360.0f;
			}

			if (Swag.x > 89.0f) {
				Swag.x -= 360.0f;
			}

			if (Swag.y < -180.0f) {
				Swag.y += 360.0f;
			}

			if (Swag.y > 180.0f) {
				Swag.y -= 360.0f;
			}
Is this a good enough check?
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us