L
L
Lomdzahink2020-06-24 01:02:40
RAM
Lomdzahink, 2020-06-24 01:02:40

How to get data from a process or how to hack games?

I'm not sure how exactly to formulate the question, but I would like to learn how to create programs to automate certain moments in games.

Let's say there is a minecraft game. I want that when entering the game, the surface within a radius of 20 blocks is scanned, and when a certain block is found, the character goes to it. It is not clear to me how to pull out the coordinates of the blocks and the coordinates of the character into the program.

I see two options:
1) Write a program that will scan data from the screen. Here you have to code a lot, and I'm afraid I won't have enough knowledge.
2) How to pull out the values ​​​​straight from the RAM. Is it possible? If yes, then tell me in which direction to dig and what to read. I guess 'Cheat Engine' can help me, but I'm not sure what to do with it.

Programming familiar with JS and C#

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2020-06-24
@saboteur_kiev

2) How to pull out the values ​​​​straight from the RAM. Is it possible? If yes, then tell me in which direction to dig and what to read. I guess 'Cheat Engine' can help me, but I'm not sure what to do with it.

Cheat Engine will help in principle, but for this you need to reverse engineer minecraft in order to understand exactly how data about the world around you, the coordinates of your character, is stored in memory. In this regard, debuggers are used instead of cheat engines, they use various options for injecting into the process to add functions.
Try writing a game like tic-tac-toe first, and then hack it yourself.
Just looking at the memory and trying to find the right values ​​may not be very difficult. But "automating", that is, writing a bot will be much more difficult.
Well, yes, a basic understanding of assembly language, how a process stores data in memory, will help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question