Results 1 to 3 of 3

Thread: Help with SCAR error

  1. #1
    Join Date
    Mar 2007
    Location
    Ohio
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with SCAR error

    Ok i keep getting this stupid error and im stumped... I need help
    SCAR Code:
    program Scriptidge;
    {.include SRL/SRL.scar}

    var
      Ladder: Integer;
      x, y: Integer;
     
    begin
      SetupSRL;
      Ladder := BitmapFromString(6, 8, 'beNpjYPDRZkVGEYFBQJIBCaAp' +
           'gCNS1WAqg4ggyzIAALkrDwg=');
           
      if(FindDeformedBitmapToleranceIn(Ladder, x, y, MMX1, MMY1, MMX2, MMY2, 15, 1, True, 0.6))then
      Mouse(x, y, 4, 4, true);
    end.

    And the error is:
    Line 14: [Error] (12593:85): Variable Expected in script C:\Program Files\SCAR 3.14\Scripts\untitled.scar

    ps This is for my rune mysteries runner

  2. #2
    Join Date
    Aug 2007
    Location
    Emo-land
    Posts
    1,109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You have got
    0.6
    at the end of the FindBitmap...
    And it requires a variable, like x and y, but as an extended so
    SCAR Code:
    var
      acc : Extended;

    Good luck!

  3. #3
    Join Date
    Mar 2007
    Location
    Ohio
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Error in SRL.scar
    By Dervish in forum OSR Help
    Replies: 5
    Last Post: 03-22-2008, 05:14 PM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  3. Smart error and Some kind of Math.scar error
    By FagetHax0r in forum OSR Help
    Replies: 6
    Last Post: 02-24-2008, 10:43 AM

Posting Permissions

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