Solved Aimbot help

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Averta

Newbie
May 21, 2015
2
62
0
C++:
for (INT i = 0; i <= gInts.EntList->GetHighestEntityIndex(); i++)
		{

			CBaseEntity* pEntity = gInts.EntList->GetClientEntity(i);

			if (pEntity == NULL)
				continue;

			if (pEntity->IsDormant())
				continue;

			if (!IsAlive2(pEntity))
				continue;



			if (pEntity->GetIndex() == pBaseEntity->GetIndex())
				continue;

			if (pEntity == pBaseEntity)
				continue;

			if (pBaseEntity == NULL) //Always check for null pointers.
				continue;

			Vector vTarget = pEntity->GetOrigin();
			Vector vMe = pBaseEntity->GetOrigin();
			
			Vector aimangle;
			int x = vTarget.x - vMe.x;
			int y = vTarget.y - vMe.y;
			int z = vTarget.y - vMe.z;
			int magnitude = sqrt(x ^ 2 + y ^ 2 + z ^ 2);

			
			aimangle[0] = (float)(atan(z / magnitude) * M_RADPI);
			aimangle[1] = (float)(atan(y / x) * M_RADPI);
			aimangle[2] = 0.0f;
			XASSERT(aimangle[0]);
			XASSERT(aimangle[1]);
			XASSERT(aimangle[2]);
			
			pCommand->viewangles = aimangle;
			pCommand->buttons |= IN_ATTACK;
			break;
		}
This is the code that i'm using for my aimbot. Its not really working i'm unable to shoot and I'm stuck in the air. Thanks for the help anyone responding.

EDIT:

Sorry this for loop doesn't cause me to freeze in the air. That would be Fleep's calcangle void which i prefer not to use for a variety of reasons.
This version just causes my game to crash as soon as i join a server
 
Last edited:

Liduen

Hacker
Dank Tier VIP
May 19, 2013
702
8,478
33
C++:
for (INT i = 0; i <= gInts.EntList->GetHighestEntityIndex(); i++)
		{

			CBaseEntity* pEntity = gInts.EntList->GetClientEntity(i);

			if (pEntity == NULL)
				continue;

			if (pEntity->IsDormant())
				continue;

			if (!IsAlive2(pEntity))
				continue;



			if (pEntity->GetIndex() == pBaseEntity->GetIndex())
				continue;

			if (pEntity == pBaseEntity)
				continue;

			if (pBaseEntity == NULL) //Always check for null pointers.
				continue;

			Vector vTarget = pEntity->GetOrigin();
			Vector vMe = pBaseEntity->GetOrigin();
			
			Vector aimangle;
			int x = vTarget.x - vMe.x;
			int y = vTarget.y - vMe.y;
			int z = vTarget.y - vMe.z;
			int magnitude = sqrt(x ^ 2 + y ^ 2 + z ^ 2);

			
			aimangle[0] = (float)(atan(z / magnitude) * M_RADPI);
			aimangle[1] = (float)(atan(y / x) * M_RADPI);
			aimangle[2] = 0.0f;
			XASSERT(aimangle[0]);
			XASSERT(aimangle[1]);
			XASSERT(aimangle[2]);
			
			pCommand->viewangles = aimangle;
			pCommand->buttons |= IN_ATTACK;
			break;
		}
This is the code that i'm using for my aimbot. Its not really working i'm unable to shoot and I'm stuck in the air. Thanks for the help anyone responding.
Not able to shoot or to move?
That sounds to me like you're writing completely wrong memory adresses.

Also check out this link before replying to this thread: https://guidedhacking.com/showthread.php?6659-Help-Checklist
 

Averta

Newbie
May 21, 2015
2
62
0
Its a internal hack xD. I don't have memory address's. Also I have some other stuff before this like code for anti aim and other stuff that work just fine without this at the end of my Hooked_CreateMove void
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods