C
C
creptor2019-12-22 02:08:44
Python
creptor, 2019-12-22 02:08:44

Pattern recognition from the game window?

Hello!
Interested in such a question, in which direction to look?
There was once (and maybe now there is) a grindilka game. To earn money, it was necessary to kill monsters in one location 24/7. Now it has become interesting, is it possible to automate such a process with the help of a bot (it is impossible to do a direct script addition to the game files, there is an anti-cheat)
Actually, the question itself is: By what means can you track the appearance of monster images, track the coordinates of the found image and perform mouse manipulations? Is it possible to implement this on c# or here you need python

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#, 2019-12-22
@creptor

- you can shoot ecaran buffer frame by frame (don't ask for google code in help and give preference to links directly to MSDN))). this is just an indication of "where to look")
- well, then "look at it with "neurons". or what you will learn))
ps my personal achievements - grabbing an ordinary GUI program with text fields. but unusual in that it was created on Qt for windows, that is, to get to the content of the elements through the handle tree, there was no possibility. and so the idea of ​​grabbing the bitmap buffer arose. This is where the similarity with your task could end.. then the font was recognized by "home" algorithms. later, in terms of time, over which all this stretched out, it became obvious that it was possible to safely gnaw neurons at once, but, despite some progress,
the possibility of using neurons would be the second possible similarity. in both dimensions, my task may have been substantially easier.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question