M
M
Michael2020-02-25 15:00:39
reverse engineering
Michael, 2020-02-25 15:00:39

How to read color and picture from application?

Hello, the question is how to read from the application (game) the color of a certain pixel and some kind of image to check for matching elements.
Yes, I want to make a bot. Plans for studying how to work with the application's memory (if anyone fumbles in this, I'll be happy to contact you in general), but first I want to practice writing its logic.

The first step is to quickly read the color of a specific application pixel and return its value. Methods in c# (winapi) are interesting, well, just look at python. The check should be as fast and asynchronous as possible. Google gave the maximum information from the 13th year, I wonder how they do it now, because it seems that Sharp has been greatly improved not so long ago. If anything, the cars will be only x64.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fan92rus, 2020-02-25
@fan92rus

Web game or app?
If you don’t get into memory, then you can screen the screen and check the pixel, if 3 is unlikely or something like that, then you can screw opencv and search for objects by patterns comparing them.
If the web then inject js.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question