Sikuli works getting slow

Asked by Xiuyuan Lu on 2016-12-31

start=Region(1524,1143,343,96)
checkbox=Region(829,390,904,628)
finish=Region(1940,1099,293,144)

switchApp("Nox App Player.app")
Settings.WaitScanRate=0.2
while True:
    click(Location(430, 1113))
    progress=1
    while progress == 1:
        wait(1)
        click(Location(1697, 1191))
        wait(10)
        if checkbox.exists("cancel.png",0):
            click("cancel.png")
        else:
            progress=2

    finish.wait("nextround.png",300)
    click(Location(2087, 1168))
    wait(3)

Hi, I wrote a script to automate my game in android emulator. It runs vert fast at the beginning, but gets slow after some time(about 30 seconds maybe) and seems like a slow motion. Can anyone solve my problem?

Question information

Language:
English Edit question
Status:
Expired
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2016-12-31
Last reply:
2017-01-17
RaiMan (raimund-hocke) said : #1

what Sikuli version, what system?

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.