Solved How do I make my aimbot move more like a human being?

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat
Status
Not open for further replies.

cantalg

Newbie
Nov 29, 2015
4
62
0
I've got a working aimbot, but I want to make it look like a human being is playing. Right now my aimbot moves one pixel at a time to simulate human mouse movement. It looks unnatural and robotic.

Any ideas how to make the aimbot mouse movement more like a human?
 

Solaire

Respected Hacker
Dank Tier VIP
Dec 15, 2013
1,051
16,353
62
Pseudo code following Rake's example

C++:
float smoothing = 1000.0f;
vec diffs = wantedAngles - curAngles;
us->vAngles += diffs / smoothing;
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,074
78,998
2,371
Divide the distance between the 2 vectors by let's say 10 and then incremently add that number in the correct direction until you reach the destination
 

cantalg

Newbie
Nov 29, 2015
4
62
0
Thanks! I implemented this idea, works really well! I just started a new thread to talk about this same subject :)
 
Status
Not open for further replies.
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