Serious extended delay --- try with 1.1.4 from a Terminal

Asked by Desmond Zhen

So I'm running a script for a game however it takes several minutes for Sikuli to get through a few buttons.

log] DOUBLE CLICK on L(663,335)@S(0)[0,0 1280x800] (545 msec)

[log] CLICK on L(668,435)@S(0)[0,0 1280x800] (522 msec)

[log] CLICK on L(740,556)@S(0)[0,0 1280x800] (523 msec)

hours running: 0.000611111124357 refills: 0 runs: 0 runes: 1 soldrunes: 0 deaths: 0

[log] DOUBLE CLICK on L(484,442)@S(0)[0,0 1280x800] (546 msec)

[debug] MouseDown: extended delay: 10035

[debug] MouseUp: extended delay: 10012

[debug] MouseDown: extended delay: 10039

[debug] MouseUp: extended delay: 10011
[log] DOUBLE CLICK on L(663,335)@S(0)[0,0 1280x800] (40598 msec)

[debug] MouseDown: extended delay: 10010

[debug] MouseUp: extended delay: 10039
[log] CLICK on L(666,567)@S(0)[0,0 1280x800] (20549 msec)

hours running: 0.0619288888905 refills: 0 runs: 0 runes: 1 soldrunes: 0 deaths: 0

[debug] MouseDown: extended delay: 20035

[debug] MouseUp: extended delay: 20011

[debug] MouseDown: extended delay: 20040

[debug] MouseUp: extended delay: 1050
[log] DOUBLE CLICK on L(484,442)@S(0)[0,0 1280x800] (61638 msec)

[debug] MouseDown: extended delay: 20041

[debug] MouseUp: extended delay: 20012

[debug] MouseDown: extended delay: 20039

[debug] MouseUp: extended delay: 20012
[log] DOUBLE CLICK on L(663,335)@S(0)[0,0 1280x800] (80604 msec)

[debug] MouseDown: extended delay: 20042

[debug] MouseUp: extended delay: 20012
[log] CLICK on L(740,556)@S(0)[0,0 1280x800] (40555 msec)

hours running: 0.149219166703 refills: 0 runs: 0 runes: 2 soldrunes: 0 deaths: 0

[debug] MouseDown: extended delay: 20010

[debug] MouseUp: extended delay: 2135

as you can see sometimes it can take up to 80 seconds.

im running this on a Mac 10.14.2 setting and NOX, all settings are made to optimize the speed smallest resolution setting etc.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Desmond Zhen (zomgitzdes) said :
#1

I am not too familiar with coding so i might need dumbed down answers or straight up instructions because when I was reading the other posts on the forums I had no idea what they were saying lol

Revision history for this message
RaiMan (raimund-hocke) said :
#2

Please check, wether your game tries to detect bots and might be responsible for the delays.

what version of SikuliX?

Revision history for this message
Desmond Zhen (zomgitzdes) said :
#3

I tried to download the 1.4 but everytime I open Sikuli it reloads the 1.1 version ??

Sent from my iPhone

> On Feb 4, 2019, at 11:02 AM, RaiMan <email address hidden> wrote:
>
> Your question #678321 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/678321
>
> Status: Open => Needs information
>
> RaiMan requested more information:
> Please check, wether your game tries to detect bots and might be
> responsible for the delays.
>
> what version of SikuliX?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/sikuli/+question/678321
>
> You received this question notification because you asked the question.

Revision history for this message
Desmond Zhen (zomgitzdes) said :
#4

anybody??

Revision history for this message
Roman Podolyan (podolyan-roman) said :
#5

May be a problem I like I had with 1.1
Launching Sikuli from command line may help (that was a workaround for the same or similar issue I had), but to use the workaround you need to know where your Sikuli is located.

For install problem you need to check your Applications in Mac OS (what version is there), maybe clean reinstall.

Revision history for this message
RaiMan (raimund-hocke) said :
#6

I guess, with 1.1.x you used the SikuliX app (/Applications/... or as ...app from the installation folder)

This is no longer available with 1.1.4.

So do not use this, if you want to try with 1.1.4

Follow the instructions on the 1.1.4 download page.

Then open a Terminal and go to the SikuliX 1.1.4 installation folder.

To start the IDE:
java -jar sikulix.jar

to run a script:
java -jar sikulix.jar -r path-to-your/script.sikuli

Revision history for this message
Desmond Zhen (zomgitzdes) said :
#7

permission denied when trying to start iDE through terminal. I’m using sikuli 1.3 btw just an update.
If the script is just on my desktop what do I run in the terminal command to open the script on sikuli ?? Thanks for the help

Revision history for this message
Desmond Zhen (zomgitzdes) said :
#8

Do I use a Sudo command on terminal

Revision history for this message
Desmond Zhen (zomgitzdes) said :
#9

I get this error when i try to open sikulix through terminal.

Error: Unable to access jarfile sikulix.jar

Revision history for this message
RaiMan (raimund-hocke) said :
#10

You seem to have your sikulix.jar in some access-restricted area.

Have it somewhere in your home folder.

Can you help with this problem?

Provide an answer of your own, or ask Desmond Zhen for more information if necessary.

To post a message you must log in.