Results 1 to 4 of 4

Thread: Precise Clicking

  1. #1
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Precise Clicking

    I'm working on my Agility script, I cant get either of the gnome agility course scripts to work. Im trying to get my script to click on the rope in the gnome agilility course, but its not detecting it. This is my procedure to click it.

    Simba Code:
    Procedure Rope;
      var
        x, y:integer;
    begin
      if findcolorspiraltolerance(x, y, 5272207, 57, 180, 92, 185, 10) then
      Mouse(x, y, 1, 1, 1);
      wait(randomrange(7700, 7862));
    end;

    Also, can someone show me how to add a failsafe, to be sure it properly clicked on the obstacle? Thanks!
    Foooty
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  2. #2
    Join Date
    May 2012
    Location
    Texas
    Posts
    365
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try using Auto Color Aid with CTS 2. And you can generate a AutoColor Function which is generally fairly accurate. If you need any help with it let me know
    Mostly Inactive, School

  3. #3
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ill try that and see if it works. Im probably not even gonna use this script. Testing it and making it, im almost 15 agility...
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  4. #4
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    you can use the function DidRedClick, it returns true if the red cross hair appears on screen, you should also check the uptext before you click, use WaitUpText for that

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
  •