Results 1 to 4 of 4

Thread: EvilBob error

  1. #1
    Join Date
    Jul 2007
    Posts
    85
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default EvilBob error

    Hello. I just updated with svn and I use scar divi 3.14 with srl 4 rev #12.

    When I just make a basic include, like this:
    SCAR Code:
    program new;
    {.include SRL\SRL.scar}
    begin
    end.

    I get this error:
    Code:
    Line 57: [Error] (8902:24): Type mismatch in script C:\Program Files\SCAR 3.14\includes\SRL/SRL/Core/AntiRandoms/EvilBob.scar

    This is the evilbob procedure with the errorline:
    SCAR Code:
    function FindBobsServant: Boolean;
    var
      ATPA: TPointArrayArray;
      TPA: TPointArray;
      I, cts ,x ,y, k: Integer;
    begin
      if (not LoggedIn) then Exit;
      cts := GetColorToleranceSpeed;
      ColorToleranceSpeed(2);
      SetColorspeed2Modifiers(0.10, 25);
      FindColorsTolerance(TPA, 5143728, MSX1, MSY1, MSX2, MSY2, 20);
      ATPA := TPAtoATPAEx(TPA, 50, 50);
      SortATPAFromFirstPoint(ATPA, Point(MSCX, MSCY));
      k := High(atpa);
      For I:= 0 to k do
      begin
        MiddleTPAEx(ATPA[i], x, y);
        MMouse(x, y, 1, 1);
        Wait(150 + Random(70));
        GetMousePos(x, y);
        if (Pos('ervan', rs_GetUpText) <= 0) then
          Continue;
        Mouse(x, y, 0, 0, True);
        FFlag(0);
        ColorToleranceSpeed(cts);
        Result := True;
        Exit;
      end;
    end;

  2. #2
    Join Date
    Jan 2008
    Location
    Frankfurt, Germany
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Now, i just posted this on another thread asking the same thing:
    I had the same problem, what I did was delete the entire Includes folder, re-installed the SRl, moved teh includes, shut down Scar, and re-opened SCAR, works fine now. Try it
    There is nothing right in my left brain and there is nothing left in my right brain.

  3. #3
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  4. #4
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Use that link please.
    Closed.
    Hup Holland Hup!

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
  •