Results 1 to 4 of 4

Thread: Help with a problem on my script.

  1. #1
    Join Date
    Jan 2012
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with a problem on my script.

    Okay, I am making a bot for a game that is not runescape. There are four squares in the game. One of the squares will flash, and after that another one will flash. On the first 2 rounds a total of four squares will flash, on the second two there will be 4 flashing, then after that 5 and so on. The squares will always flash in the same color, and they flash in a random order.
    So how can I get the script to recognize the flashing order and click on them afterwards. Below is a link to a video of the game.


    http://m.youtube.com/index?desktop_u...?v=hnON_OYrlBQ

  2. #2
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    You could do a check for flashing colors in a loop that stops when it detects some form of color that signifies you can press the squares.

    The loop would check for the flashing colors and save them to a global variable in the script along with the coordinates.
    Simba Code:
    (* Main *)

    repeat
      WriteLn('I am an idiot!');
    until(False);

  3. #3
    Join Date
    Jan 2012
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Allright, will look onto it.

  4. #4
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Why do I get infractions for saying people have 12 IQ points, and you stay clean for calling people idiots?

    I'm jelly.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •