# Lirin "Reaction Game" captcha.
#
# The whole captcha is one button: a dialog appears with a yin-yang wheel and a
# "Start the Game" button underneath, and pressing that button is the answer.
# There is nothing to read and nothing to choose, so the solver type is
# click_button: locate the dialog, click a fixed offset from its origin.
#
# The anchor is the dialog's bottom band (two bright full-width rules with the
# Start button between them), captured at 326,580..658,628 on a 986x839 client.
# Origin IS the anchor top-left, so anchor_dx/dy are 0 and button_x/y below are
# measured from there. Everything being origin-relative is what makes this work at
# any window size -- Metin2's UI is fixed-pixel, so a larger client just centres
# the same dialog somewhere else and the pyramid finds it. scale_* covers DPI and
# fullscreen zoom on top of that.
#
# NOT anchored on the yin-yang wheel: that is the reaction game itself and animates
# once started.
name lirin
type click_button

search_x0 0
search_y0 0
search_x1 0
search_y1 0
detect_step 3
detect_threshold 0.80
anchor_dx 0
anchor_dy 0

# "Start the Game", relative to the anchor top-left.
button_x 166
button_y 28

scale_min 0.8
scale_max 2.0
scale_steps 7

click_jitter 6
click_delay_min 2000
click_delay_max 5000
