Image Search - Macro help

Ask gaming related questions (AHK v1.1 and older)
sybercid
Posts: 3
Joined: 12 Oct 2018, 17:19

Image Search - Macro help

12 Oct 2018, 17:44

Hello I was wondering if anyone can help me. I am currently playing a game and part of that game requires you to pass a reflex test. The test appears randomly on the screen in the following form.

Image

A small circle appears randomly on the ring as the block travels around the ring. In order to pass the test you must click when the block intersects the small circle. I been research how to do this and so far I determined its probably a image search. I am having a hard time trying to get this to work, if someone could give me a hand I would greatly appreciate it.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Image Search - Macro help

12 Oct 2018, 19:54

naive solution:
Image
place ur cursor carefully on the designated spot
start PixelGetColor for the blueish color
if detected, spam Click
u can rig a hotkey, so it only searching while a key is being held down for example

automated solution:
check for blueish pixels on the periphery of the circle(dashed line)
calculate where X is located
check for blueish color there
spam click, when found
sybercid
Posts: 3
Joined: 12 Oct 2018, 17:19

Re: Image Search - Macro help

12 Oct 2018, 20:43

The outer circle changes positions everytime you click. So its never in the same place. So a periphery may be the way to go. Since you have a limited amount of time to click before challenge fails as well.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 69 guests