Results 1 to 3 of 3

Thread: canvas does not allow drawing in line 153

  1. #1
    Join Date
    Oct 2006
    Posts
    702
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default canvas does not allow drawing in line 153

    im almost finally done, when it goes to buy buckets i get this error. line 153 is bolded

    SCAR Code:
    procedure FindClerk;
    begin
      MarkTime(Mark);
      i := 0;
      writeln('finding clerk');
      MouseSpeed := 10;
      if (not (LoggedIn)) then Exit;
      if (FindObj(x, y, 'hop', ClerkColor, 5)) then
      begin
        Mouse(x, y, 0, 0, false);
        ChooseOption('rade');
       [B] if (FindColor(x, y, BC, 194, 1113, 197, 120)) then[/B]
        begin
          MMouse(x, y, 0, 0);
          if IsUpTextMultiCustom(['uck', 'ket', 'cke']) then
          begin
            repeat
              Mouse(x, y, 0, 0, False);
              Wait(250 + random(250));
              if (FindBitmap(Buy10, x, y)) then Mouse(X, Y, 10, 1, true);
              Wait(500 + random(500));
            until ExistsItem(27) or (TimeFromMark(Mark) > 120000);
            repeat
              CloseWindow;
              wait(100 + random(100));
            until (not (ShopScreen));
            i := i + 27;
            if not (ShopScreen) then
            begin
              FindClerk;
            end else
              if (FindObjCustom(x, y, ['eep', 'ssi'], [2046549, 2900290], 10)) then
              begin
                Mouse(x, y, 0, 0, false);
                ChooseOption('rade');
                if (FindColor(x, y, BC, 194, 1113, 197, 120)) then
                begin
                  MMouse(x, y, 0, 0);
                  if IsUpTextMultiCustom(['uck', 'ket', 'cke']) then
                  begin
                    repeat
                      Mouse(x, y, 0, 0, False);
                      Wait(250 + random(250));
                      if (FindBitmap(Buy10, x, y)) then Mouse(X, Y, 10, 1, true);
                      Wait(500 + random(500));
                    until ExistsItem(27) or (TimeFromMark(Mark) > 120000);
                    repeat
                      CloseWindow;
                      wait(100 + random(100));
                    until (not (ShopScreen));
                    i := i + 27;
                    if not (ShopScreen) then
                    begin
                      FindClerk;
                    end else
                    begin
                      LogOut;
                      TerminateScript;
                    end;
                  end;
                end;
              end;
          end;
        end;
      end;
    end;
    "For it is not what goes into your mouth that will defile you; rather, it is what comes out of your mouth that defiles you." - Jesus of Nazareth

  2. #2
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Your search parameters are messed up.

    I think you mean 113, not 1113.

    That error happens when you're trying to search outside the client, or when you're trying to search in non-existent space.


  3. #3
    Join Date
    Oct 2006
    Posts
    702
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks alot. i can give this to you to post on the scripts main page. so kids can use it.
    "For it is not what goes into your mouth that will defile you; rather, it is what comes out of your mouth that defiles you." - Jesus of Nazareth

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 02-26-2009, 05:13 AM
  2. Replies: 2
    Last Post: 03-29-2008, 06:32 PM

Posting Permissions

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