Results 1 to 15 of 15

Thread: Weird error With Includes

  1. #1
    Join Date
    May 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Weird error With Includes

    ok so im trying to make my 3rd script (first 2 didnt work and no one gave help) so this is my script:

    Code:
    Program RicksWillowCutter
    
    {.include SRL/SRL.scar}
    {.include SRL/SRL/Skill/WoodCutting.scar}
    
    Var
    x, y, LoadsNum,: Integer;
    
    
    //________________[ Player Setup ]__________________\\
    
    
    Procedure DeclarePlayers;
     Begin
    
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
     
      Players[0].Name        := 'whydoesitmatter';      //Player's Name
      Players[0].Pass        := 'whydoyoucare'; //Player's Password
      Players[0].Nick        := 'does';          //Player's Nick
      Players[0].Strings[0]  :=  0512            //Player's Bankpin
      Players[0].Integers[0] :=  10              //Player's # Of Loads
      Players[0].Active      := True;
    
     End;
    
    {-------------------------------------------------------------}
    {              Do Not Edit Past This Point                                    }
    {-------------------------------------------------------------}
    
    
    Procedure AntiRandoms;
     Begin
      If(FindFight)Then
      Runaway('N',True,1,15000);
      FindNormalRandoms;
      FindLamp('summoning')
     End;
     
    {-------------------------AntiBan------------------------------}
    
    Procedure AntiBan;
     Begin
      if not LoggedIn then Exit;
      Case Random(30) of
        1: RandomRClick;
        2: HoverSkill('Woodcutting', False);
        3: HoverSkill('Fishing',False);
        4: RandomMovement;
        5: BoredHuman;
        6: AlmostLogout;
        7: PickUpMouse;
      end;
     end;
     
    {--------------------------Willow Cutting------------------------}
    
    Procedure ChopTree;
     Var
      Tries, CuttingTime: integer;
     Begin
      MarkTime(CuttingTime);
       Repeat
        If FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7)) then
         Begin
          If (Loads = Player[CurrentPlayer].Integers[0]) then
           Begin
           Writeln('Number Of Loads Reached Logging Out')
           Logout;
           End Else
            Begin
             MoveMouseSmoothEx(x+random(3),y+random(4),20,65,40,25,20);
             GetMousePos(x,y);
             ClickMouse(x,y,False);
             if (IsUpText('Chop'))then
             LoadsNum := LoadsNum + 1;
             Wait(1100+random(678));
             ChooseOption('hop')
             Wait(3000+random(1532))
             AntiBan;
             If (not (FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7))) then
             Wait(200+random(182))
             Tries := Tries + 1;
             if(Tries = 40) then
             Begin
              Writeln('Willows Not Found Logging Out')
              Logout;
              Exit;
             End;
         End;
       Until(InvFull) or (TimeFromMark(Cutting Time) > 150000+random(30000));
     End;
     
    {--------------------------Walking To Bank----------------------}
    
    Procedure WalkToBank
     Begin
      If (not LoggedIn)) then
       Exit;
        RadialWalk(6447722,0,90,72,99,99);
        Writeln('Walking To Bank')
        Wait(600+random(100));
     End;
     
    Procedure Banking;
     Begin
      If (InvFull) then
       Begin
        MakeCompass('W');
        OpenBankQuier('db');
        If (PinScreen) Then
        InPin(Players[CurrentPlayer].Integers[0]);
         Begin
          MoveMouseSmoothEx(648+random(3),-67+random(4),20,65,40,25,20);
          GetMousePos(x,y);
          ClickMouse(x,y,False);
          ChooseOption('All');
          Wait(700+random(246));
         End;
        CloseBank;
        Wait(600+random(200));
        MakeCompass('S');
        Wait(400+random(200));
       End;
     End;
     
    {---------------------------Walking To Willows-------------------}
    
    Procedure WalkToWillows;
     Begin
      If (FindSymbol(x, y, 'fish')) then
       Begin
        MoveMouseSmoothEx(x +random(2), y +random(2),20,65,40,25,20);
        GetMousePos(x, y);
        ClickMouse(x, y, True);
        MakeCompass('E')
        Writeln('Got To Willows')
        Wait(400+random(300));
       End;
     End;
     
    Procedure SetUpScript;
     Begin
      SetupSrl;
      DeclarePlayers;
     End;
     
    Begin
     SetupScript;
     Repeat
      WalkToWillows;
      ChopTree;
      AntoBan;
      WalkToBank;
      Banking;
      If (Players[CurrentPlayer].Integers[0]= Loads) then
      Logout;
     Until (Players[CurrentPlayer].Integers[0]=100)
    End.
    and when i try to run it it gives me an error message saying:

    Code:
    Line 10: [Error] (35:1): Semicolon (';') expected in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Globals.scar

  2. #2
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  3. #3
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Do you mean a comma shut?

  4. #4
    Join Date
    May 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it still gives me the same error message

  5. #5
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    never mind i have been through it and got rid of quite a few errors
    this is what it is now
    SCAR Code:
    Program RicksWillowCutter;

    {.include SRL/SRL.scar}
    {.include SRL/SRL/Skill/WoodCutting.scar}

    Var
    x, y, LoadsNum: Integer;


    //________________[ Player Setup ]__________________


    Procedure DeclarePlayers;
     Begin

      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name        := 'whydoesitmatter';      //Player's Name
      Players[0].Pass        := 'whydoyoucare'; //Player's Password
      Players[0].Nick        := 'does';          //Player's Nick
      Players[0].Strings[0]  :=  '0512';            //Player's Bankpin
      Players[0].Integers[0] :=  10;              //Player's # Of Loads
      Players[0].Active      := True;

     End;

    {-------------------------------------------------------------}
    {              Do Not Edit Past This Point                                    }
    {-------------------------------------------------------------}


    Procedure AntiRandoms;
     Begin
      If(FindFight)Then
      Runaway('N',True,1,15000);
      FindNormalRandoms;
      FindLamp('summoning')
     End;

    {-------------------------AntiBan------------------------------}

    Procedure AntiBan;
     Begin
      if not LoggedIn then Exit;
      Case Random(30) of
        1: RandomRClick;
        2: HoverSkill('Woodcutting', False);
        3: HoverSkill('Fishing',False);
        4: RandomMovement;
        5: BoredHuman;
        6: AlmostLogout;
        7: PickUpMouse;
      end;
     end;

    {--------------------------Willow Cutting------------------------}

    Procedure ChopTree;
     Var
      Tries, CuttingTime: integer;
     Begin
      MarkTime(CuttingTime);
       Repeat
        If (FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7)) then
         Begin
          If (Loadsnum = Players[CurrentPlayer].Integers[0]) then
           Begin
           Writeln('Number Of Loads Reached Logging Out')
           Logout;
           End Else
            Begin
             MoveMouseSmoothEx(x+random(3),y+random(4),20,65,40,25,20);
             GetMousePos(x,y);
             ClickMouse(x,y,False);
             if (IsUpText('Chop'))then
             LoadsNum := LoadsNum + 1;
             Wait(1100+random(678));
             ChooseOption('hop')
             Wait(3000+random(1532))
             AntiBan;
             If (not (FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7))) then
             Wait(200+random(182))
             Tries := Tries + 1;
             if(Tries = 40) then
             Begin
              Writeln('Willows Not Found Logging Out')
              Logout;
              Exit;
             End;
         End;
         end;
       Until(InvFull) or (TimeFromMark(CuttingTime) > 150000+random(30000));
     End;

    {--------------------------Walking To Bank----------------------}

    Procedure WalkToBank;
     Begin
      If (not LoggedIn) then
       Exit;
        RadialWalk(6447722,0,90,72,99,99);
        Writeln('Walking To Bank')
        Wait(600+random(100));
     End;

    Procedure Banking;
     Begin
      If (InvFull) then
       Begin
        MakeCompass('W');
        OpenBankQuiet('db');
        If (PinScreen) Then
        InPin(Players[CurrentPlayer].Strings[0]);
         Begin
          MoveMouseSmoothEx(648+random(3),-67+random(4),20,65,40,25,20);
          GetMousePos(x,y);
          ClickMouse(x,y,False);
          ChooseOption('All');
          Wait(700+random(246));
         End;
        CloseBank;
        Wait(600+random(200));
        MakeCompass('S');
        Wait(400+random(200));
       End;
     End;

    {---------------------------Walking To Willows-------------------}

    Procedure WalkToWillows;
     Begin
      If (FindSymbol(x, y, 'fish')) then
       Begin
        MoveMouseSmoothEx(x +random(2), y +random(2),20,65,40,25,20);
        GetMousePos(x, y);
        ClickMouse(x, y, True);
        MakeCompass('E')
        Writeln('Got To Willows')
        Wait(400+random(300));
       End;
     End;

    Procedure SetUpScript;
     Begin
      SetupSrl;
      DeclarePlayers;
     End;

    Begin
     SetupScript;
     Repeat
      WalkToWillows;
      ChopTree;
      AntiBan;
      WalkToBank;
      Banking;
      If (Players[CurrentPlayer].Integers[0]= Loadsnum) then
      Logout;
     Until (Players[CurrentPlayer].Integers[0]=100)
    End.
    this is all the errors
    SCAR Code:
    Failed when compiling
    Line 10: [Error] (35:1): Semicolon (';') expected in script C:\Users\Thomas.test-PC\Desktop\SCAR 3.12\includes\SRL/SRL/Core/Globals.scar
    Failed when compiling
    Line 24: [Error] (12848:1): Type mismatch in script
    Failed when compiling
    Line 66: [Error] (12890:71): 'THEN' expected in script
    Failed when compiling
    Line 68: [Error] (12892:5): Unknown identifier 'Loads' in script
    Failed when compiling
    Line 68: [Error] (12892:13): Unknown identifier 'Player' in script
    Failed when compiling
    Line 93: [Error] (12917:1): Identifier expected in script
    Failed when compiling
    Line 94: [Error] (12918:33): Unknown identifier 'Cutting' in script
    Failed when compiling
    Line 100: [Error] (12924:1): Semicolon (';') expected in script
    Failed when compiling
    Line 101: [Error] (12925:18): 'THEN' expected in script
    Failed when compiling
    Line 113: [Error] (12937:1): Unknown identifier 'OpenBankQuier' in script
    Failed when compiling
    Line 115: [Error] (12939:42): Type mismatch in script
    Failed when compiling
    Line 156: [Error] (12980:1): Unknown identifier 'AntoBan' in script
    Failed when compiling
    Line 159: [Error] (12983:41): Unknown identifier 'Loads' in script
    Successfully compiled

    the problem was that you forgot to put a semicolon after the script name
    SCAR Code:
    Program RicksWillowCutter

    ~shut

  6. #6
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Program RicksWillowCutter;

    {.include SRL/SRL.scar}
    {.include SRL/SRL/Skill/WoodCutting.scar}

    Var
      x, y, LoadsNum: Integer;


    //________________[ Player Setup ]__________________\\


    Procedure DeclarePlayers;
     Begin

      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name        := 'whydoesitmatter';      //Player's Name
      Players[0].Pass        := 'whydoyoucare'; //Player's Password
      Players[0].Nick        := 'does';          //Player's Nick
      Players[0].Strings[0]  :=  '0512'            //Player's Bankpin
      Players[0].Integers[0] :=  10              //Player's # Of Loads
      Players[0].Active      := True;

     End;

    {-------------------------------------------------------------}
    {              Do Not Edit Past This Point                                    }
    {-------------------------------------------------------------}


    Procedure AntiRandoms;
     Begin
      If(FindFight)Then
      Runaway('N',True,1,15000);
      FindNormalRandoms;
      FindLamp('summoning')
     End;

    {-------------------------AntiBan------------------------------}

    Procedure AntiBan;
     Begin
      if not LoggedIn then Exit;
      Case Random(30) of
        1: RandomRClick;
        2: HoverSkill('Woodcutting', False);
        3: HoverSkill('Fishing',False);
        4: RandomMovement;
        5: BoredHuman;
        6: AlmostLogout;
        7: PickUpMouse;
      end;
     end;

    {--------------------------Willow Cutting------------------------}

    Procedure ChopTree;
     Var
      Tries, CuttingTime: integer;
     Begin
      MarkTime(CuttingTime);
       Repeat
        If FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7) then
         Begin
          If (Loads = Player[CurrentPlayer].Integers[0]) then
           Begin
           Writeln('Number Of Loads Reached Logging Out')
           Logout;
           End Else
            Begin
             MoveMouseSmoothEx(x+random(3),y+random(4),20,65,40,25,20);
             GetMousePos(x,y);
             ClickMouse(x,y,False);
             if (IsUpText('Chop'))then
             LoadsNum := LoadsNum + 1;
             Wait(1100+random(678));
             ChooseOption('hop')
             Wait(3000+random(1532))
             AntiBan;
             If (not (FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7))) then
             Wait(200+random(182))
             Tries := Tries + 1;
             if(Tries = 40) then
             Begin
              Writeln('Willows Not Found Logging Out')
              Logout;
              Exit;
             End;
         End;
       Until(InvFull) or (TimeFromMark(Cutting Time) > 150000+random(30000));
     End;

    {--------------------------Walking To Bank----------------------}

    Procedure WalkToBank
     Begin
      If (not LoggedIn)) then
       Exit;
        RadialWalk(6447722,0,90,72,99,99);
        Writeln('Walking To Bank')
        Wait(600+random(100));
     End;

    Procedure Banking;
     Begin
      If (InvFull) then
       Begin
        MakeCompass('W');
        OpenBankQuier('db');
        If (PinScreen) Then
        InPin(Players[CurrentPlayer].Integers[0]);
         Begin
          MoveMouseSmoothEx(648+random(3),-67+random(4),20,65,40,25,20);
          GetMousePos(x,y);
          ClickMouse(x,y,False);
          ChooseOption('All');
          Wait(700+random(246));
         End;
        CloseBank;
        Wait(600+random(200));
        MakeCompass('S');
        Wait(400+random(200));
       End;
     End;

    {---------------------------Walking To Willows-------------------}

    Procedure WalkToWillows;
     Begin
      If (FindSymbol(x, y, 'fish')) then
       Begin
        MoveMouseSmoothEx(x +random(2), y +random(2),20,65,40,25,20);
        GetMousePos(x, y);
        ClickMouse(x, y, True);
        MakeCompass('E')
        Writeln('Got To Willows')
        Wait(400+random(300));
       End;
     End;

    Procedure SetUpScript;
     Begin
      SetupSrl;
      DeclarePlayers;
     End;

    Begin
     SetupScript;
     Repeat
      WalkToWillows;
      ChopTree;
      AntoBan;
      WalkToBank;
      Banking;
      If (Players[CurrentPlayer].Integers[0]= Loads) then
      Logout;
     Until (Players[CurrentPlayer].Integers[0]=100)
    End.
    Always make sure that you have a semicolon after "Program Whatever.."

  7. #7
    Join Date
    May 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    kk thanks guys. ive got 2 more problems. Now it says:
    Code:
    Line 24: [Error] (12845:1): Type mismatch in script C:\Program Files\SCAR 3.15\Scripts\WorkingOnWoodcutter.scar
    and on one of my other 2 scripts when i used turn compass it didn't do anything, it said compiuled successfully and didnt do anything

  8. #8
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by DarkNova View Post
    kk thanks guys. ive got 2 more problems. Now it says:
    Code:
    Line 24: [Error] (12845:1): Type mismatch in script C:\Program Files\SCAR 3.15\Scripts\WorkingOnWoodcutter.scar
    look at my post
    i fixed that error

    if you give me the other script then i will have a look at that one

    ~shut

  9. #9
    Join Date
    May 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if i do this script while i was testing out with compass it doesnt do anything
    Code:
    program New;
    {.include SRL/srl.scar}
    
    begin
     SetupSrl
     MakeCompass('N');
    end.

    And I Cant Find The Difference You Made For The Error
    Code:
    Line 66: [Error] (12887:71): 'THEN' expected in script C:\Program Files\SCAR 3.15\Scripts\WorkingOnWoodcutter.scar

  10. #10
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  11. #11
    Join Date
    May 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    can you tell me how you fixed each of the errors in my big script so i can learn?

    cause i cant find the error in line 66

    and also it still wont turn the compass north.

  12. #12
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    right... here we go
    SCAR Code:
    Failed when compiling
    Line 10: [Error] (35:1): Semicolon (';') expected in script C:\Users\Thomas.test-PC\Desktop\SCAR 3.12\includes\SRL/SRL/Core/Globals.scar
    you forgot to put a semicolon after the script name
    SCAR Code:
    Program RicksWillowCutter
    should be
    SCAR Code:
    Program RicksWillowCutter;

    next

    SCAR Code:
    Failed when compiling
    Line 24: [Error] (12848:1): Type mismatch in script
    you forgot the commas beside the numbers as its a string
    SCAR Code:
    Players[0].Strings[0]  :=  0512;
    should be
    SCAR Code:
    Players[0].Strings[0]  :=  '0512';

    next

    SCAR Code:
    Failed when compiling
    Line 66: [Error] (12890:71): 'THEN' expected in script
    you had put one too many close rounds
    SCAR Code:
    If FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7)) then
    could be
    SCAR Code:
    If (FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7)) then
    or it could be
    SCAR Code:
    If FindObjCustom(x, y, ['Wil', 'low'], [1989969, 3760987, 2844763], 7) then

    next

    SCAR Code:
    Failed when compiling
    Line 68: [Error] (12892:5): Unknown identifier 'Loads' in script
    you wrote the var wrong
    SCAR Code:
    If (Loads = Player[CurrentPlayer].Integers[0]) then
    should be
    SCAR Code:
    If (Loadsnum = Player[CurrentPlayer].Integers[0]) then

    next

    SCAR Code:
    Failed when compiling
    Line 68: [Error] (12892:13): Unknown identifier 'Player' in script
    you wrote player inteead of players
    SCAR Code:
    If (Loadsnum = Player[CurrentPlayer].Integers[0]) then
    should be
    SCAR Code:
    If (Loadsnum = Players[CurrentPlayer].Integers[0]) then

    next

    SCAR Code:
    Failed when compiling
    Line 93: [Error] (12917:1): Identifier expected in script
    you needed to put an extra end;
    SCAR Code:
    End;
    should be
    SCAR Code:
    End;
    End;

    next

    SCAR Code:
    Failed when compiling
    Line 94: [Error] (12918:33): Unknown identifier 'Cutting' in script
    you put a space in the variable cuttingtime
    SCAR Code:
    Until(InvFull) or (TimeFromMark(Cutting Time) > 150000+random(30000));
    should be
    SCAR Code:
    Until(InvFull) or (TimeFromMark(CuttingTime) > 150000+random(30000));

    next

    SCAR Code:
    Failed when compiling
    Line 101: [Error] (12925:18): 'THEN' expected in script
    once again you put one too many close brackets
    SCAR Code:
    If (not LoggedIn)) then
    should be
    SCAR Code:
    If (not LoggedIn) then

    next

    SCAR Code:
    Failed when compiling
    Line 113: [Error] (12937:1): Unknown identifier 'OpenBankQuier' in script
    you misspelt quiet
    SCAR Code:
    OpenBankQuier('db');
    should be
    [/SCAR]
    OpenBankQuiet('db');[/SCAR]

    next

    SCAR Code:
    Failed when compiling
    Line 115: [Error] (12939:42): Type mismatch in script
    you put integer when inpin requires a string
    SCAR Code:
    InPin(Players[CurrentPlayer].Integers[0]);
    should be
    SCAR Code:
    InPin(Players[CurrentPlayer].Strings[0]);

    next

    SCAR Code:
    Failed when compiling
    Line 156: [Error] (12980:1): Unknown identifier 'AntoBan' in script
    you misspelt antiban
    SCAR Code:
    AntoBan;
    should be
    SCAR Code:
    AntiBan;

    next

    SCAR Code:
    Failed when compiling
    Line 159: [Error] (12983:41): Unknown identifier 'Loads' in script
    you put loads instead of loadsnum
    SCAR Code:
    If (Players[CurrentPlayer].Integers[0]= Loads) then
    should be
    SCAR Code:
    If (Players[CurrentPlayer].Integers[0]= Loadsnum) then

    there...
    i spent about half an hour writing that and im sorry if its not very clear but im tired

    ~shut

  13. #13
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Failed when compiling
    Line 10: [Error] (35:1): Semicolon (';') expected in script C:\Users\Thomas.test-PC\Desktop\SCAR 3.12\includes\SRL/SRL/Core/Globals.scar
    // that means that SCAR expects a semicolon after the program name.
    Failed when compiling
    Line 24: [Error] (12848:1): Type mismatch in script
    {Strings always need to be placed in single quotes.} 'this is a string'
    Failed when compiling
    Line 66: [Error] (12890:71): 'THEN' expected in script
    //You have 2 ending parentheses when you only opened one, so SCAR is expecting a "then"
    //directly after the first end parentheses, so delete the second one.
    Failed when compiling
    Line 68: [Error] (12892:5): Unknown identifier 'Loads' in script
    //Declare the Loads variable
    Failed when compiling
    Line 68: [Error] (12892:13): Unknown identifier 'Player' in script
    //SRL declares it as PlayerS, with an S. ;)
    Failed when compiling
    Line 93: [Error] (12917:1): Identifier expected in script
    //An "end" is needed here.  Always remember that you need as many "end's or end else's" as you have begins
    //Read a tutorial on standards to help with this
    Failed when compiling
    Line 94: [Error] (12918:33): Unknown identifier 'Cutting' in script
    //Make sure you have your ENTIRE variable name present there.
    Failed when compiling
    Line 100: [Error] (12924:1): Semicolon (';') expected in script
    //You must have a semi-colon after every procedure/function
    Failed when compiling
    Line 101: [Error] (12925:18): 'THEN' expected in script
    //Same thing as the other then error.
    Failed when compiling
    Line 113: [Error] (12937:1): Unknown identifier 'OpenBankQuier' in script
    //Typo i assume. 'OpenBankQuiet'
    Failed when compiling
    Line 115: [Error] (12939:42): Type mismatch in script
    //InPin uses a string variable.
    Failed when compiling
    Line 156: [Error] (12980:1): Unknown identifier 'AntoBan' in script
    //Another typo i assume. 'AnitBan'
    Failed when compiling
    Line 159: [Error] (12983:41): Unknown identifier 'Loads' in script
    //Declare the Loads variable.
    Successfully compiled
    EDIT: Damn you shut!

    Oh and for your compass problem..
    SCAR Code:
    Program New;
    {.include SRL\SRL.scar}

    begin
      SetupSRL;
      ActivateClient;
      Wait(2000);
      MakeCompass('N');
    end.

  14. #14
    Join Date
    May 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thank you very much but i got one error that you did not get; it is
    Code:
    Line 85: [Error] (12906:1): Semicolon (';') expected in script C:\Documents and Settings\Rick\My Documents\WorkingOnWoodcutter.scar
    and also my compass still wont seem to rotate

  15. #15
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Put a semi-colon on the line before that..
    SCAR Code:
    Wait(200+random(182));

    As for your compass problem, i know this sounds stupid, but is your compass already facing north?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. weird error
    By mormonman in forum OSR Help
    Replies: 4
    Last Post: 02-05-2009, 02:06 AM
  2. weird error
    By Awkwardsaw in forum OSR Help
    Replies: 6
    Last Post: 04-29-2008, 01:50 PM
  3. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  4. i got a weird error please help
    By poolikemax in forum OSR Help
    Replies: 2
    Last Post: 12-03-2007, 06:53 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
  •