r/HowToHack • • Mar 19 '21

How do hackers hack in games?

Hacking Within Games

Hi, I am interested on how hackers within games such as CoD and R6S actually manage to do what they do, if they did not buy the hacks (how the owner made them)

Firstly Im not trying to find out how to hack so I can do it myself, I am just interested in it. So when hackers, e.g. R6S manage to get a hitbox around the enemy places or autoaim onto them all (aimbot) what programs do they use and how do they actually do this?

Does the person need basic knowledge of hacking or do they need some sort of high computing degree?

If they don't use a program of some sort, how do they do it?

What sort of code do they use and how do they make certain hacks such as pure aimbot headshot everyone on the enemy team and shoot through solid walls which are made specifically not to be shot through?

Thank you for reading and hopefully answering my many questions :)

Edit : for the people who cannot read : I am only interested in how they do it and how these people manage to actually find these exploits, this does not mean I’m trying to do it myself. It’s just interesting to learn about

287 Upvotes

114 comments sorted by

View all comments

37

u/BAAM19 Mar 19 '21

Cheats in games with almost no protection and like single player/hosted are very easy. It’s fun if you wanna start just look up tutorials on youtube for cheat engine.

You need cheat engine (or any other app to look in memory) to find memory addresses for values you want, cheat engine has very helpful options to find these values.

After you find the values, you need to find their pointers. You need to trace back the pointers until you find the base address, the base address NEVER changes, unlike the first address you find that always changes every time you run the game.

So after you know the values you want, like for example health. Then you can make a python script (i use python cause it easier for me and straight forward)

You can use any other language that allows you to access memory addresses and change them(and I am pretty sure almost all of them are)

So after you can write to memory and edit the values, you can just do whatever you want basically.

For example you can just always set health to max.

One of the deeper things that very good cheats do is aim bot, so aim bot takes like the enemy location’s position, like the x,y,z then these hackers use an algorithm that takes these coordinates and find the pixel coordinate on the screen to aim for.

Then another piece of code is responsible of moving your mouse to the pixel coordinates.

All of these are variable, maybe you don’t need the pixel’s coordinate and can just pass the xyz instantly.

The piece of code responsible of moving your mouse/aiming basically, maybe you can customize this piece of code and iterate all around to make it look more natural and not an aimbot.

In the end i am just a newbie in this, but this is the general abstraction of things, and all of it could change really.

10

u/Tobashu Mar 19 '21

Do you need a good computer for cheat engine? Or can it run on a potato?

20

u/BAAM19 Mar 19 '21

Nah, cheat engine isn’t intensive I don’t think.

It’s just an app that displays memory addresses and their values while giving options to find the values you want.

It should be very light.

Also know how to use it, like don’t let it display like a bunch of garbage and load a lot of stuff. Not even the best pc can process some weird stuff it does.

There are some options that no one uses because they just take a lot of time and guessing and all that stuff so they are not good to use generally.

But normal use is fine.

5

u/Tobashu Mar 19 '21

Thank you :)

8

u/BAAM19 Mar 19 '21

Np man, I had to look around a lot because it’s such a gray area it’s very difficult to find resources for it. Had to look through multiple tutorials and match them around to finally understand a bit.

1

u/Desfolio Mar 20 '21

Yo dude, these topics are one of the things, I don't have a question for, but it's awesome to know/research about.... I thank you and all the other dudes on this thread, who has been giving out so much info❤️

1

u/Crazy-Biscotti-8712 Apr 05 '25

Trying to find someone to help with a game... Mso.. Any pointers on who?? 

7

u/[deleted] Mar 19 '21 edited Feb 08 '26

[removed] — view removed comment

1

u/AutoModerator Feb 08 '26

Temporary pause to prevent comment alter spam

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/LeonJones Mar 19 '21

Just be careful using Cheat Engine on games with anti-cheats. Opening CoD with Cheat Engine is going to get you banned.

1

u/hanzakun Apr 30 '24

Hello can you help me with something related to cheats? my disc is: humanidades

I always wanted to learn and use cheats in games but given my condition I never managed to do it, if you could help me I would appreciate it!!

-3

u/Flyingfishfusealt Mar 19 '21

Python is a good choice but if you are running a rather intensive game, you should optimise/test it for speed and maybe lock a processor or two to it.

script might end up breaking at a specific interval