Results 1 to 3 of 3

Thread: help failsafe help

  1. #1
    Join Date
    Nov 2011
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default help failsafe help

    Code:
    procedure makehide;
    var x,y :integer;
    begin
    if(FindColorSpiralTolerance(x,y,hide1,638,213,683,246,0) or
    FindColorSpiraltolerance(x,y,hide2,638,213,683,246,0)) then
    begin
    mouse(618,235,0,0,true);
    wait(250);
    mouse(x,y,0,0,true);
    wait(250);
    mouse(410,419,0,0,false);
    wait(100);
    mouse(409, 479,0,0,true);
    wait(1000);
    else
     begin
     openshop;
    purchasehide;
          end;
    end;
    end;

    getting a "
    Code:
    Identifier expected
    at the red font/"else"

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Simba Code:
    procedure makehide;
    var x,y :integer;
    begin
      if(FindColorSpiralTolerance(x,y,hide1,638,213,683,246,0) or
         FindColorSpiraltolerance(x,y,hide2,638,213,683,246,0)) then
      begin
        mouse(618,235,0,0,true);
        wait(250);
        mouse(x,y,0,0,true);
        wait(250);
        mouse(410,419,0,0,false);
        wait(100);
        mouse(409, 479,0,0,true);
        wait(1000);
     End else
     begin
       openshop;
       purchasehide;
     end;
    end;

    That might do it.
    Two things
    1) You should relaly fix your standards (spacing, formating, etc) you code made my eyes bleed! Look how much prettier mine is!
    2) You are NOT adding randomness to your clicks, so if this is for runescape IT WILL GET YOU BANNED, cange the 0x0s in your mouses to like 5,5
    so
    Simba Code:
    mouse(409, 479,5,5,true);
    By having 0,0 you are ALWAYS clicking the EXACT SAME spot.
    Also try not to use coordiantes like that, use Bitmaps, DTMs, Color, etc to find things don't just rely on clicking coordinates over and over like that!

  3. #3
    Join Date
    Nov 2011
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hey hey, its for a rsps, and i like it when it bleeds, and rsps has no antiban so .. i tried using dtms, not working so well :L..

    and what are bitmaps used for

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
  •