Re: [Sikuli-driver] [Question #678542]: Set region inside region
Question #678542 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678542 Miyamoto gave more information on the question: I run into multimonitor and one of the solution I found is to set the region based on Monitor 0, where the game will be visible but it's not an elegant solution. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #678542]: Set region inside region
New question #678542 on Sikuli: https://answers.launchpad.net/sikuli/+question/678542 Is it possible to set Region inside a region? Like a subregion. Ex: I have a bot for a game and the images that I want to find is on specific region inside the game region, to optimize the match. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #668736]: exists(image) is true even when the image is not there yet
Question #668736 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668736 Status: Open => Solved Miyamoto confirmed that the question is solved: Problem solved. After searching better, I setup a specific region where those messages appears and increased the pattern. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #668736]: exists(image) is true even when the image is not there yet
Question #668736 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668736 Miyamoto posted a new comment: Not pattern, similar -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #668736]: exists(image) is true even when the image is not there yet
Question #668736 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668736 Description changed to: Good morning. I am developing a game bot with infinite loop with many if's conditions, it's almost done, the main problem is one of the if exists(image) is getting true when the image is not there. example: while (ch.hasWindow() & running): if exists(image1): do something break if exists(image2): do another thing break: if exists(image3): img = find(image3) click(img) ... The if exists(image3): is the last if inside while loop, but it's getting true even when the image is not there yet. [error] script [ arrayDeMonstros ] stopped with error at line --unknown-- [error] Error caused by: Traceback (most recent call last): File "C:\SikuliX\arrayDeMonstros.sikuli\arrayDeMonstros.py", line 43, in hero = find(heroMax) Line 2782, in file Region.java at org.sikuli.script.Region.wait(Region.java:2782) at org.sikuli.script.Region.find(Region.java:2329) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) org.sikuli.script.FindFailed: FindFailed: 1524942610020.png: (822x628) seen at (46, 128) with 0,94 in S(0)[0,0 1920x1080] E:Y, T:3,0 Line 2782, in file Region.java -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #668736]: exists(image) is true even when the image is not there yet
Question #668736 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668736 Status: Needs information => Open Miyamoto gave more information on the question: Sorry, fixed , it's "if exists(image1):" in all if's -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #668736]: exists(image) is true even when the image is not there yet
Question #668736 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668736 Description changed to: Good morning. I am developing a game bot with infinite loop with many if's conditions, it's almost done, the main problem is one of the if exists(image) is getting true when the image is not there. example: while (ch.hasWindow() & running): if exists(image1): do something break if exists(image2): do another thing break: if exists(image3): img = find(image3) click(img) ... The if(image3): is the last if inside while loop, but it's getting true even when the image is not there yet. [error] script [ arrayDeMonstros ] stopped with error at line --unknown-- [error] Error caused by: Traceback (most recent call last): File "C:\SikuliX\arrayDeMonstros.sikuli\arrayDeMonstros.py", line 43, in hero = find(heroMax) Line 2782, in file Region.java at org.sikuli.script.Region.wait(Region.java:2782) at org.sikuli.script.Region.find(Region.java:2329) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) org.sikuli.script.FindFailed: FindFailed: 1524942610020.png: (822x628) seen at (46, 128) with 0,94 in S(0)[0,0 1920x1080] E:Y, T:3,0 Line 2782, in file Region.java -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #668736]: exists(image) is true even when the image is not there yet
Question #668736 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668736 Description changed to: Good morning. I am developing a game bot with infinite loop with many if's conditions, it's almost done, the main problem is one of the if exists(image) is getting true when the image is not there. example: while (ch.hasWindow() & running): if (image1): do something break if (image2): do another thing break: if (image3): img = find(image3) click(img) ... The if(image3): is the last if inside while loop, but it's getting true even when the image is not there yet. [error] script [ arrayDeMonstros ] stopped with error at line --unknown-- [error] Error caused by: Traceback (most recent call last): File "C:\SikuliX\arrayDeMonstros.sikuli\arrayDeMonstros.py", line 43, in hero = find(heroMax) Line 2782, in file Region.java at org.sikuli.script.Region.wait(Region.java:2782) at org.sikuli.script.Region.find(Region.java:2329) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) org.sikuli.script.FindFailed: FindFailed: 1524942610020.png: (822x628) seen at (46, 128) with 0,94 in S(0)[0,0 1920x1080] E:Y, T:3,0 Line 2782, in file Region.java -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #668736]: exists(image) is true even when is false
New question #668736 on Sikuli: https://answers.launchpad.net/sikuli/+question/668736 Good morning. I am developing a game bot with infinite loop with many if's conditions, it's almost done, the main problem is one of the if exists(image) is getting true when the image is not there. example: while ch.hasWindow() & running: if (image1): do something break if (image2): do another thing break: if (image3): img = find(image3) click(img) ... The if(image3): is the last if inside while loop, but it's getting true even when the image is not there yet. [error] script [ arrayDeMonstros ] stopped with error at line --unknown-- [error] Error caused by: Traceback (most recent call last): File "C:\SikuliX\arrayDeMonstros.sikuli\arrayDeMonstros.py", line 43, in hero = find(heroMax) Line 2782, in file Region.java at org.sikuli.script.Region.wait(Region.java:2782) at org.sikuli.script.Region.find(Region.java:2329) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) org.sikuli.script.FindFailed: FindFailed: 1524942610020.png: (822x628) seen at (46, 128) with 0,94 in S(0)[0,0 1920x1080] E:Y, T:3,0 Line 2782, in file Region.java -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #668736]: exists(image) is true even when the image is not there yet
Question #668736 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668736 Summary changed to: exists(image) is true even when the image is not there yet -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp