HOW AIMBOTS WORK
ฝัง
- เผยแพร่เมื่อ 7 มิ.ย. 2024
- To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/cazz/. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
Pop filter at 100k.
I was not trying to teach trigonometry in this video, hence why I did not explain why we use arc tangent. We use (arc) tangent because it uses the triangle ratio of O/A (opposite side over adjacent side). This is convenient because those are literally the values we have in the positional vector (X & Y). Other ratios require H (hypotenuse) - which are completely viable ways to calculate these angles as well.
💎 Source code is available for my Patrons!
/ cazzwastaken
💎 Join our community over on Discord!
/ discord
→ Twitter: / cazzwastaken
→ GitHub: github.com/cazzwastaken
→ Instagram: / cazzwastaken
→ Email: cazzwastaken@gmail.com
→ Donate: www.paypal.com/donate/?hosted...
📝Resources 📝
→ atan2 Reference: cplusplus.com/reference/cmath...
→ Spherical Coordinate Systems: en.wikipedia.org/wiki/Spheric...
→ Coding a Better Aimbot: www.unknowncheats.me/forum/co...
⚡See More ⚡
→ Learn Game Hacking: • How to LEARN HACKING
→ Reverse Engineering: • Learn Reverse Engineer...
→ Chams: • REAL CSGO CHAMS - DRAW...
→ CreateMove: • Hook CreateMove From S...
→ Internal Menu: • IMGUI INTERNAL DIRECTX...
→ Aimbot: • MAKE AIMBOT IN 10 MINUTES
🌌 Disclaimer 🌌
This video was sponsored by Brilliant.
Shout out to Chris for the thumbnail ⭐
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/cazz/. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
Brother make a video about gerrdy game how to work.. Bigo.. IMO, 😉
Can you create a FiveM cheat video?
bro please make an aimbot for free fire
Plz talk about combat arms with this topic SPECIFICALLY !!! It would be goated and such a niche it would be so goood plz i love this. Also plz plz plz message me (I’m on mobile rn I would msg I otherwise) but I have a LOT of history with how it was developed and the professions of the diff hacks in said game and I really want u to help with this cuz ur very very informative on shit. But the main one I wanna talk about is CHAMs or also INSTA knife kills in that game. V crazy
hi i would like to ask you if you can help me make a esp and aimbot for a 2d game, it has no obufactions its new could you help me?
As a computer engineer who specialises in game engine development you explained this topic gracefully
Can you tell me more about computer engineering, I'm majoring in it
@@voidless-gc5pm Well, what would you like to know ?
@@fudgeracoon2529 I mean like what kind of things I'll be able to do and is it flexible as a degree for exemple me working in game industry and then switching to something like chip design etc
And what kind of specialisations are there, I guess it depend on uni but any general specialisations available?
@@fudgeracoon2529 id like to know too, I’m an informatics major bc comp sci is too hard but super interesting to me. If I was as smart as I wanted to be I’d be majoring in electrical and computer engineering I find it so interesting but I’m really bad at math and know nothing of physics so I kinda self learn it to some extent
You explained the vector stuff better than the majority of gamedev youtubers
Better than my teacher
yet... that was half of the video :c
A lot of gamdevs for whatever reason don't actually know or want to explain the functions that they're using, they'll tell you what they do, this is good to save time but to make games it's a really good idea to understand the math
Sometimes tutorials feel like an audiobook of the engine documentation
@@Subject97 agree, if you understand the math behind the dimension you can do a lot of cool stuff because you know how objects translate in a space
*He explained it like he actually understands every stage, because he does.
As a human who specializes in watching youtube videos I enjoyed this video
Best comment i have seen so far
As a human that also specializes in watching TH-cam videos, I also enjoyed this video. Arguably more than you.
@@Dylan-wo8os woah woah woah there pal tap the brakes
@@Codee_ 😂😂😂
As a human that likes to read comments from TH-cam videos I also really really liked your comment, I think it was very comedic and definetly suvberted my expectation of what I considered expecting in the said section.
While I do hate cheating/cheaters and hacking has basically ruined many of my favorite online games, I do find the actual programming behind it pretty interesting.
Yeah, and videos like this dont actually have to be applied to just aimbot, in a game making sense, this video is helpful.
Ok
didnt ask liberal sissy
The video shows the pure basics, but the actual work done to make it seem legit is what makes aimbots really impressive, adding natural navigation to targets and failure rates etc make it so much cooler and more impressive imo
Tf2 player here.
Aye!
As an aimbot, I can confirm this is how we work
As an ESP I can confirm that is how they work
As a FPS player that hates hacks I can confirm this is how they work
@@i.qx. As a I can confirm
@@LxunAtiic confirm
@@buildatutorial742m
As a vector I can concur that we indeed have a norm 2 that gives us the euclidean distance from the origin of the vector space to the so called end of v, and this can be extended to all my family of n dimensional finite and infinite vector spaces
Google metric tensor
As a plane, I admit to having kidnapped your family of vectors and hold them on an infinite 2 dimensional area.
@@dragoni_penguin Quite intriguing but by definition planes cannot kidnap any vector, this could only happen if you are a linear transformation from R^n to R^2 (assuming we are in the field of R^n but linear transformation can also happen in any finite or infinite dimensional vector spaces of R^n or C^n etc) or you proyect the basis of my family vector space to yor plane by the Gram-Schmidt procedure.
@@GeodesicBruh holy hell
@@flstu7735 new response just dropped
My man explains vectors better than my teachers at college
vectors are learned throughout middle school/highschool what are yall doing in college
@@sandsgrainofsand5320 Translated from Spanish: orthogonality and scalar products
@@sandsgrainofsand5320 You typically don't work with n dimensional vectors in high school. In linear algebra vectors gain many new applications as well as theoretical rigor.
Guess your college professor sucked then, unlucky.
It's all fun and games until the game uses quaternions instead of "ViewAngles" :D
quaternions are some real nightmare fuel
@@TopchetoEU why i dont write movement code
Does someone have a vid / post that explains how to do this? literally cant find anything on it i feel like im going nuts haha
I still remember my first time as a game hacker as a kid running into quanternions had no fucking clue what was going on
@@finxdddddddddd Freya Holmer has a good video on this
As a software designer who never did maths but grasps code, you made maths feel like the way I feel about code.
A bottah wadah
@@chadm2343 lol cringe pfp
@@laika5707 I agree rainbow tards are cringe
@@chadm2343a botah uh wahuh
a bottle of water 🤔
As a guy who failed physics twice, you explained this topic gracefully
Nice, you failed something that I easily grasped at 13
@@pyropulseIXXI takes effort to be this useless mate
@@pyropulseIXXI my man, you must have really missed the bus in your life if you’re gonna make fun of a self deprecating joke
@@Lockjaw135 I made an inverse self-deprecating joke
@@mubii69 It took as little to no effort as possible
this video taught me 3 years of what school tried to teach me thank you cazz!
Your school tried to teach you aimbot?
@@chski1220 no did your school tried to ? because i don't see that i said school teached me aimbot did i ?
@@Panadoraa it was implied!
@@DRNOval They didn't exactly try to teach me how to make an aimbot, but they did try to teach me math.
How did you even complete high school without Vectors lol. (Don't ask me how I completed without proper integral calculus).
your vids are great. you actually explain things well and not just tell to write some code just because
Well explained, you kept is simple for the people who don't know how it works.
You did a good job of keeping it has simple as possible (except for the math, which was quite confusing.
Since you did not really go in depth about why the pitch has the specific code, but the comments explain it really well.
great video, broke it down to make it easily understandable for anyone 🔥
So easy to understand! You did a great job on explaining!
It was so fun figuring this out when working on my external years back, let my mind super creative and made fun and useless features
Loving the snappify code snippets. They always look so good.
as someone who has finished and graduated from a game design course in college and has done coding research for c sharp specifically regarding velocity with vectors and such. You taught me more in the first 2 mins 30 seconds of this video including the sponsor time, then i have learnt over the past 14 years of my education
omg! for people doubting if its an overstretched essay, it isnt; and for its pacing for the subjects tackled, im surprize its concise or justified length. worth the sub.
The vector math was explained well, could be useful for a lot of beginner game developers who want to implement their own "LookAt" function, or Quaternion Slerp/Lerp. But that's the easy part of implementing an aimbot. The reverse engineering part, memory reading, memory injection, anti-cheat bypass, etc... that's why not just anyone can make an aimbot
incredible how you make a gaming video and manage to trick people into learning about 3D geometry and trigonometry
Keep up with the good content! This is such a niche area its great to have nice digestible content
2:34 both direction and MAGNITUDE.
OH YEAH, OH YEAH
as I self taught game engine developer you explained this topic better than my brain can describe it to my family
thanks for all the informative videos ❤
Was not expecting the ROTMG footage LMAO great video man!
Much more interesting and difficult here is how you read necessary data from the process of the game and input calculated view angle
definitely
Came here to learn how aimbot works left with a master's degree in calculus
Nice to see the Airbus in there 😂, another great video, well done!
nice explanation. i needed the math part
He's teaching more than I learn in a week of school.
great video, i had a go programming the fundamental idea in python (spyder) with randomly assigned player viewangles and position with entities dead/alive and team/enemy with random positions in a 200^3 unit space. was a great bit of fun enjoyed wasting time programming instead of doing my actual uni course XD
Just wanna say I love how you slid the (brilliant) sponsor Brilliant into the intro. Thanks for spreading the exceptional interest to me ;)
You should make a video explaining computer vision aimbots, a more external approach
ty for the class :)
Unless CS (not sure if your sample code refers to CS specifically) handles the euler "view angles" internally, you will probably end up in gimbal lock without using quaternions. Also, you'll need a frame delta time factor in the smoothing calculation or movement will be frame rate dependent. (I'm a game dev with no hacking experience so maybe things are a little different writing directly to memory.)
U using unity aren't you 😂
hey cazz! great video as always. i have a question: would it be possible for you to do a video on how to find the entity list in die game Rust. would be very interesting. :)
its an amazing video but maybe explain it a bit easier to those who dont know much or anything about coding and that stuff but still an amazing videos your doing great content please continue like that.
Hey i really like your videos and i just wanted to ask if i can apply your cs go tutorials for cs1.6 (same concept applies i guess)
I got a question to the second function to calculate the pitch (atan2(-z, |[x,y]|)):
you are turning (|[x,y)|, z), for simplicity I take (x, y), into (-y, x) or in this case (-z, |[x,y]|).
Meaning you rotate the vector by pi/2 rad (90 deg).
Why is that so?
Does the pitch in games go from 0 to 180 deg instead from -90 deg to 90 deg?
I‘m not a game dev, though I am interested in why this range (0 deg to 180 deg) is used in games.
This is completely dependent on the game engine, some games use 0 to 180, some 0 to 360 and some dont use degrees at all.
I believe the 180 he was talking about was yaw. Like left and right.
03:00 I thought (4,4) is a point with coordinates, if you give that point magnitude and direction, that simply graphically represents as arrow, where lenght of arrow is magnitude, that will be a vector, for now its point in space with coordinates (4,4), i think you meant is (0,0) is our center coordinate of object and (4,4) represents "magnetic" center that directs our object, then yes, between them line is a vector
Will you ever start using direct-list initialization?
Or do you choose to not use it because other languages dont do it?
How did you learn how to do this? I really want to learn.
Did not anticipate an unsolicited mathematics lesson out of this!
very good video mate
i like how he uses the stuff from math class that we all thought we were not gonna need in life.
Very Informatic Cazz I Love Tee Vid
yo cazz can you make a video on how you show a fov circle externally not internally cause i cant do it externally only internal but yea
Without ever having written a game engine or an aim bot I could have explained it exactly like that. Because you showed just the vector maths and basic trigonometry. But I'm far away from being able to code it. Because the nitty bitty gritty details is what makes it complicated. This could be a great case study for more.
Just want to thank you for this. I've been in game development for the better part of 40 years and it always drives me insane to hear players yelling "THIS IS AIMBOT THAT'S AIMBOT IT'S ALL AIMBOT" when they don't even know how an aimbot works or how to detect it.
can u make an aimbot for free fire please?
@@h4ckerblueeyes I don't make hacks, I catch them. If you need hacks to play a game, just do everyone a favor and uninstall instead.
@@IsfetSolarisno it is for educational purpose i want to learn it and have some fun.
Using games to teach us math, your ways are impeccable
2:10 Mathematicians & math students define the XYZ-axes as shown (right-hand rule): X-axis incoming towards the viewer, Y-axis going horizontally to the right-hand side, Z-axis going vertically to the top. Game programmers & game modellers define the XYZ-axes differently: X-axis horizontally to the right-hand side, Y-axis horizontally to the top, (so the XY-axes can function as the 2D aspect) Z-axis either away from the viewer (DirectX, left-hand rule) or towards the viewer (OpenGL, right-hand rule); And the XZ plane is the flat base, whereas for the math students the XY plane is the flat base.
I wish I knew so much more than I do.
It would be nice to know what the development process would look like for designing a very simple "hack".
For instance, how one might go about making a function that tells you're player character to move forward one unit in a typical top-down game.
What would be nice to know:
1) How to find the required information in memory, and
2) How you can confirm that you have found what you are looking for.
Do you just find a pointer or something, offset it, and insert data and see what happens in-game?
I've never wanted to make bots for nefarious purposes, but have always thought it would be more fun to make a bot that can play a game for me, as opposed to be playing it myself.
That's a goal of mine.
It would be nice to know what the end work-flow would resemble so I can build my skills accordingly.
If you want to make a simple bot its enough to just simulate keyboard or mouse inputs. For more complicated cheats you can use tools like cheat engine, reclass or ida to help you find information and reverse engineer the game.
I''ve known this stuff for some time now. The explanation within, is well said.
cool video. very informative. thanks for sharing.
Hey, last semester i took the calculus 2 subject in college and now i understand why is it important to get some calculus in computer science!
nice video!
but i have a question: How do you inject the cheat on the game's memory.
That's the weird part that i think you dont explain it goodly
I've done a little game hacking, but nothing too complicated with anticheat or anything like that. I usually created space in the game's memory and wrote my code there. I don't know if you've ever used cheatengine, but it's the same thing as editing a value of something with cheatengine and starting a thread.
this is something i would watch at 3 am
Hello what do you think about, some sort of arduino/hardware radar...
Why does cs not save the viewangles as vectors?
this guy just taught me more about physics in an 8 minute video than 1 year in my 8th grade physics class
Great video, maybe u could make video about antiaim, and resolver. A lot of ppl would be interested in this topic!
He even showed code examples! Getting a brilliant course for free it feels
Isn't the view angle class a vec3 with a roll angle as the third float in the vector?
Yes, in games with roll. In most of those cases you can ignore roll, but in games that require it you might have to calculate it.
I would be surprised if an algebra teacher uses aimbot as an example for *x,y,z*
never before have I been so mad about the X and Y axis being mixed up until now
When we're they mixed up?
As someone who doesn’t know anything about vectors you explained this gracefully
( I still don’t know what a adverb is )
As a game mod developper, i approve this video
Where can you write such a project
KBM players “See aim assist and aim bot start with the same word, so they’re the same”
it's crazy that i've never actually thought about how the programs work
Great video! Thanks))
you started off showing a gun . and then a good boy and im already hooked
didn't expect to take a physics class. thanks tho.
It's math class
Trig breh
As a normal human being with no relevant profession, I approve this video.
Cool. Thanks for sharing.
How did you learn to do this?
is it possible to hack the game if Player gives only his controls info to server and server gives back only the picture?
notice: if you hack the server antivirus may see that, or if it wount your hack will be noticed and antycheat may get an immunyty response
I'm glad he put a little spice of ROTMG in the video that pleased me.
sourcepawn has a function that LITERALLY says "look at" which moves ur cursors at entities/players XD
😂😂 best aimbot
It gets even crazier if you have MULTIPLE origins and then need to translate between them... Or if you want to calculate the screen x/y point, and use THAT for your assist (such as if entity data isn't available in an easy manner, but is via the UI).
But can you find the optimal solution of the vector space in O(log(n)) runtime?
As a coder with a mathematical background, I find it hilarious how you call the conversion of vectors to view angles (which seems easy to me) the "most complex thing about an aimbot", while just barely glancing over reverse engineering player positions from memory (which would be so much harder in my mind).
lol reverse engineering the player position is easy lel.
i think this video whould be way more fun to whats with like criminal thriller music or sum idk but still a cool and interesting video!
😂😂 good idea
Can you explain how strafe helpers or strafe stabilizer works in counter strike 1.6 and GO
I always wondered why we needed to learn Pythagorus
I had some fun with OGC back in CS 1.5 times
Great video! Can sb tell me what program is shown in 5:23?
looks like x64 dbg
its ida pro
bro I want to learn how to program to create cheats for online mobile games, what languages should I study and where to start?
It is one thing to write the hack but the reverse engineering part and finding out if you can manipulate the values in the memory is very hard. There you need to understand assembler pretty good to find that out. And bypassing safety mechanisms around the game is also pretty difficult i would assume. And the whole thing only works if you have games that persist important game values in the memory.
Some of the explanation is "it knows where it is because it knows where it isn't buy subtracting where it is from where it isn't it can get where it's going to be.
Following up on 8:14 (different x y z conventions)
Wouldnt it be impossible to use an aimbot if the convention randomly changed every so often(talking bout 1-2 seconds) based on a pseudorandom seed?
Let's suppose the game server selects a random convention for every game. The game clients for every player will need to know to this to function normally and play the game. The selected convention will need to be stored somewhere in memory. The aimbot program will get the coordinate convention from memory, and function accordingly.
Your better then my math teacher at teaching
First learned of aim bots when I was tucked in a corner of a room where I had to peak around another object to see someone enter and they couldn't shoot me without going around the object. I took out quite a few players and then the cheater barely entered the doorway and I died instantly. It made no sense at all at first, but I knew something wasn't right because it wasn't possible to hit me where I was from that doorway. Always has to be somebody looking to ruin everything.
4:35 what game Is that
6:22 The missile knows where it is at all times. It knows this because it knows where it isn't, by subtracting where it is, from where it isn't, or where it isn't, from where it is, whichever is greater, it obtains a difference, or deviation.
He explained vectors better than my math teacher
I like how there’s just a list at the end labelled “Hackers”
Hi, i have a question to yall. So if we take a csgo example, the cheats there have advanced to a level where the cheat creates a fake head position on the server. How does the aimbot resolve that? @cazz
1:40 eyy wassup Vector !!!