HELP with SikuliX Bot (Written in Python)

Discussion in 'RuneScape 2007 Cheating' started by Socalemt, Jul 7, 2019.

HELP with SikuliX Bot (Written in Python)
  1. Unread #1 - Jul 7, 2019 at 6:58 PM
  2. Socalemt
    Joined:
    Dec 10, 2017
    Posts:
    308
    Referrals:
    0
    Sythe Gold:
    851
    Vouch Thread:
    Click Here
    Discord Unique ID:
    389585883818622987
    Discord Username:
    Chowder#9092
    Two Factor Authentication User Heidy Extreme Homosex Homosex Potamus

    Socalemt www.Twitch.tv/dutz
    Socalemt Donor

    HELP with SikuliX Bot (Written in Python)

    I need some help with my SikuliX code, looking for help.
     
  3. Unread #2 - Jul 7, 2019 at 9:02 PM
  4. YoHoJo
    Joined:
    Sep 4, 2005
    Posts:
    6,379
    Referrals:
    15
    Sythe Gold:
    2,625
    St. Patrick's Day 2013 Christmas 2015 Halloween 2014 Lawrence Easter 2013 Heidy Halloween 2013

    YoHoJo Hero
    Scar Programmers $25 USD Donor New

  5. Unread #3 - Jul 7, 2019 at 9:13 PM
  6. Socalemt
    Joined:
    Dec 10, 2017
    Posts:
    308
    Referrals:
    0
    Sythe Gold:
    851
    Vouch Thread:
    Click Here
    Discord Unique ID:
    389585883818622987
    Discord Username:
    Chowder#9092
    Two Factor Authentication User Heidy Extreme Homosex Homosex Potamus

    Socalemt www.Twitch.tv/dutz
    Socalemt Donor

    HELP with SikuliX Bot (Written in Python)

    When sikuliX clicks, it clicks the center of the image, I am having a tough time figuring out how to click a random pixel within the selected image.


    running = True
    import random
    outer = 20

    while outer > 0:
    stop = 0
    notFull = True
    while (notFull and stop < 50):
    if exists(Pattern("1562471887885.png").similar(0.80)):
    click(Pattern("1562471887885.png").similar(0.80))
    wait(random.randint(2,5))

    if exists(Pattern("1562520087969.png").similar(0.80)):
    click(Pattern("1562520087969.png").similar(0.80))
    wait(random.randint(2,5))
    else:
    sleep(1)
    if(stop > 2):

    if exists(Pattern("1562524887502.png").similar(0.80)):
    notFull = False
    stop = stop + 1
    stop = 0
    while (stop < 26):

    try:
    if exists("1562520147478.png"):
    keyDown(Key.SHIFT)
    click("1562520147478.png")
    sleep(random.randint(.1,.3))
    keyUp()

    if exists("1562520147478.png"):
    keyDown(Key.SHIFT)
    click("1562520147478.png")
    sleep(random.randint(.1,.4))
    keyUp()

    if exists(Pattern("1562524989139.png").similar(0.80)):
    keyDown(Key.SHIFT)
    click(Pattern("1562524989139.png").similar(0.80))
    sleep(random.randint(.3,.9))
    keyUp()

    if exists(Pattern("1562545611857.png").similar(0.80)):
    keyDown(Key.SHIFT)
    click(Pattern("1562545611857.png").similar(0.80))
    sleep(random.randint(.3,.9))
    keyUp()
    except:
    sleep(.25)
    stop = stop +1;
    outer = outer - 1
     
  7. Unread #4 - Jul 7, 2019 at 10:58 PM
  8. YoHoJo
    Joined:
    Sep 4, 2005
    Posts:
    6,379
    Referrals:
    15
    Sythe Gold:
    2,625
    St. Patrick's Day 2013 Christmas 2015 Halloween 2014 Lawrence Easter 2013 Heidy Halloween 2013

    YoHoJo Hero
    Scar Programmers $25 USD Donor New

< [OSRS] [RSPS] Simba-X-Runelite - Bot for everything you could ever need! Professionnal Development | HAND TRAINING SKILLING ACCOUNTS FOR SKILLING BOTTERS >

Users viewing this thread
1 guest


 
 
Adblock breaks this site