← Back to team overview

sikuli-driver team mailing list archive

[Bug 1788596] Re: Sikulix 1.1.3 exist() ignores region

 

should be a question first

** Changed in: sikuli
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/672641

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1788596

Title:
  Sikulix 1.1.3 exist() ignores region

Status in Sikuli:
  Invalid

Bug description:
  My issue is that r.exists() seems to ignore the region I've given it
  I've had this happen to me in multiple games so far but I'm going to
  use the most basic one to make it easier to possible try and fix.

  My code:
  l = Region(1009,579,116,51)

  r = Region(1223,576,109,53)

  while True:

          if l.exists("1535015573308.png", 0):
              type(Key.RIGHT)
          else:
              type(Key.LEFT)

          if r.exists (Pattern("1535015633109.png").similar(0.73), 0):
              type(Key.LEFT)
          else:
              type(Key.RIGHT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1788596/+subscriptions


References