Results 1 to 3 of 3

Thread: Annoying : Error that irritates me

  1. #1
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default Annoying : Error that irritates me

    SCAR Code:
    procedure ChopWillows;
    begin
      repeat
      if (not (LoggedIn)) then
      Exit;
      if (not (FindColorTolerance(x, y, WillowTree1, MSX1, MSY1, MSX2, MSY2, 45))) or
         (not (FindColorTolerance(x, y, WillowTree2, MSX1, MSY1, MSX2, MSY2, 45))) or
         (not (FindColorTolerance(x, y, WillowTree3, MSX1, MSY1, MSX2, MSY2, 45))) then
        Wait(550 + Random(450));
        Tries := Tries + 1;
        if (Tries = 20) then
          begin
            LogOut;
            Exit;
          end else
            if (FindColorTolerance(x, y, WillowTree1, MSX1, MSY1, MSX2, MSY2, 45)) or
               (FindColorTolerance(x, y, WillowTree2, MSX1, MSY1, MSX2, MSY2, 45)) or
               (FindColorTolerance(x, y, WillowTree3, MSX1, MSY1, MSX2, MSY2, 45)) then
              MMouse(x, y, 5, 5);
              if IsUpText('illow') then
                repeat
                  case Random(2) of
                    1: Mouse(x, y, 4, 4, True);
                    2: Mouse(x, y, 4, 4, False);
                       Wait(250 + Random(530));
                       ChooseOption('Chop');
                       EntFinder;
                       CheckRandoms;
                       AntiBan;
                       EntFinder;
                       CheckRandoms;
                    end;
                  until (InvFull)
                end;

    and this comes up

    Line 249: [Error] (13032:24): colon (':') expected in script C:\Program Files\SCAR 3.15\Scripts\WillowChopper.scar

    its annoying me =l Any solutions please?

  2. #2
    Join Date
    Apr 2007
    Posts
    994
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    case Random(2) of
                    1: Mouse(x, y, 4, 4, True);
                    2:begin // More than one line?
                       Mouse(x, y, 4, 4, False);
                       Wait(250 + Random(530));
                       ChooseOption('Chop');
                       EntFinder;
                       CheckRandoms;
                       AntiBan;
                       EntFinder;
                       CheckRandoms;
                       end;
                    end;

    Agg!! Horrible standards! Now click that blue tick.

    Cases require ends, and stuff inside case with more than one line require begins and ends.
    [QUOTE]<GoF`> oh no its Raymooond
    <Raymooond> Heya
    <GoF`> is it ray or some other ray?
    <LeeLokHin> No idea
    <LeeLokHin> Raymond, what's the game you like the most?
    <Raymooond> Runescape
    <-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]

  3. #3
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    I forgot that to add the Anti-Stuff in case(1).
    And thanks Lee!

    SCAR Code:
    case Random(2) of
                  1:  begin
                      Mouse(x, y, 4, 4, True);
                        EntFinder;
                        CheckRandoms;
                        AntiBan;
                        EntFinder;
                        CheckRandoms;
                      end;
                  2:  begin
                        Mouse(x, y, 4, 4, False);
                        Wait(250 + Random(530));
                        ChooseOption('Chop');
                        EntFinder;
                        CheckRandoms;
                        AntiBan;
                        EntFinder;
                        CheckRandoms;
                      end;
                end;
              end;
            until (InvFull)
          end;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. sum annoying error plz help..
    By faster789 in forum OSR Help
    Replies: 6
    Last Post: 03-29-2008, 04:11 PM
  2. Annoying error
    By Cazax in forum OSR Help
    Replies: 3
    Last Post: 03-21-2008, 09:11 PM
  3. Annoying error
    By Rora in forum OSR Help
    Replies: 1
    Last Post: 12-08-2007, 08:08 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
  •