Results 1 to 10 of 10

Thread: Why does no script work for me?

  1. #1
    Join Date
    Aug 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Why does no script work for me?

    I try to use ANY script and it comes up with a bunch of errors, like MarnsSeersbscollecter, that 1 keeps coming up with line 150 identifer expected in script.(line 150 says end.) I've tried adding end; above it, but it didn't work. Can you please tell me how to fix this problem, and why premade scripts aren't working. And, shouldn't scripts from previouse versions of scar work on scar version 3.11?

  2. #2
    Join Date
    Jul 2007
    Posts
    242
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    post the scripts and the errors.





  3. #3
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Yea probly the script is old.

    Also when SRL is updated and they takeout/change things in new versions.. So old scripts you might have errors

  4. #4
    Join Date
    Jun 2007
    Location
    New Yawk
    Posts
    943
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR isn't always backwards compatible. Think about it. Nor is SRL.
    I guess the holidays are over - no sig for now.

  5. #5
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Well Most of The scripts won't be working until SRL is updated because jagex changed the game tabs and private chat + public chat XD

  6. #6
    Join Date
    Apr 2007
    Location
    The Buckeye State
    Posts
    482
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Old scripts have to be updated to work with the more used versions of scar, Either 3.06 or 3.11.
    I like my coffee black just like my metal.

  7. #7
    Join Date
    Aug 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Here is the script i'm have the most difficulty with:
    (line 150 is my trouble spot)
    what do I need to do to fix it?



    SCAR Code:
    program MarnsSeersBSCollector;
    {.include SRL/SRL.scar}
    {.include SRL\SRL\Extended\xMapWalk.scar}
    {.include SRL\SRL\Extended\xBank.scar}

    var
    TreeOneColor, TreeTwoColor, TreeThreeColor, FlaxColor, LadderSymbol, TripsDone:Integer;

    Const StartPlayer          = 0;
     TripsToDo = 100;
     Bowstrings = 28;
    Procedure DeclarePlayers;
    begin
         HowManyPlayers:=1;
         NumberOfPlayers(HowManyPlayers);
         CurrentPlayer := StartPlayer;
         Players[0].Name :='';
         Players[0].Pass :='';
         Players[0].Nick :='';
         Players[0].Loc  :='seers';
         Players[0].Active:=True;
    end;

    procedure Login;
    begin
    if(not(loggedin)) then LoginPlayer;
    end;

    procedure ToFlaxFeilds;
    begin
    TreeOneColor:=211999;
    TreeTwoColor:=610088;
    TreeThreeColor:=2645822;
    FlaxColor:=10638171;
    HighestAngle;
    MakeCompass('S');
    RadialWalk(TreeOneColor, 333, 389, 49, 0, 1);
    flag;
    writeln('Got To Tree One');
    RadialWalk(TreeTwoColor, 333, 389, 75, 0, 1);
    flag;
    writeln('Got To Tree Two');
    RadialWalk(TreeThreeColor, 718, 639, 75, 0, 1);
    flag;
    writeln('Got To Tree Three');
    MakeCompass('N');
    RadialWalk(FlaxColor, 74, 127, 44, 0, 1);
    flag;
    writeln('Got To Flax');
    repeat
    FindObj(x, y, 'Pick', 14999695, 10);
    Mouse(x, y , 1, 1, true);
    Findnormalrandoms;
    wait(1000+random(500));
    writeln('Picked A Flax');
    until (InvFull);
    writeln('Inventory Full');
    end;

    procedure SpinningRandoms;
    begin
    Findnormalrandoms;
    Mouse(290, 441, 5, 1, true);   // To Take Care Of If You Gain A Level
    end;

    procedure ToSpinThisFlax;
    begin
    LadderSymbol:=6224;
    writeln('We Finished Getting Flax, Now We Go To Spin It');
    RadialWalk(FlaxColor, 253, 316, 75, 0, 1);
    flag;
    RadialWalk(TreeTwoColor, 284, 315, 75, 0, 1);
    flag;
    RadialWalk(TreeThreeColor, 303, 331, 70, 0, 1);
    flag;
    RadialWalk(LadderSymbol, 318, 403, 40, 0, 1);
    flag;
    repeat
    if (FindObj(x, y, 'Door', 2519700, 4)) or (FindObj(x, y, 'Door', 2652829, 4)) or (FindObj(x, y, 'Door', 2520471, 4)) or (FindObj(x, y, 'Door', 2652829, 4)) then
    begin
    if IsUpText('Open') then
    begin
    Mouse(x, y, 0, 0, False);
    Wait(500+Random(500));
    ChooseOption(x, y, 'Open');
    flag;
    end else Break;
    end;
    Wait(500+Random(500));
    until(false);
    MakeCompass('S');
    repeat
    FindObj3(x, y, 'Ladder'  ,2642028, 8);
    Mouse(x, y, 1, 1, false);
    until PopUp('Climb-up');
    MakeCompass('N');
    repeat
    FindObj(x, y, 'Spin', 14013914, 5);
    Mouse(x, y, 5, 5, false);
    Findnormalrandoms;
    until ChooseOption(x,y,'Spin');
    flag;
    Mouse(271, 119, 5, 5, false);
    PopUp('Make X');
    wait(500+random(200));
    TypeSend('29');
    Findnormalrandoms;
    repeat
    wait(3000);
    SpinningRandoms;
    until IsChatMessage('out');
    end;

    procedure ToBank;
    begin
    MakeCompass('S');
    repeat
    FindObj3(x, y, 'Ladder',2642028, 8);
    Mouse(x, y, 5, 5, false);
    until PopUp('Climb-down');
    MakeCompass('N');
    repeat
    if (FindObj(x, y, 'Door', 2519700, 4)) or (FindObj(x, y, 'Door', 2652829, 4)) or (FindObj(x, y, 'Door', 2520471, 4)) or (FindObj(x, y, 'Door', 2652829, 4)) then
    begin
    if IsUpText('Open') then
    begin
    Mouse(x, y, 0, 0, False);
    Wait(500+Random(500));
    ChooseOption(x, y, 'Open');
    flag;
    end else Break;
    RadialWalk(FindRoadColor, 20, 46, 75, 0, 1);
    flag;
    RadialWalk(LadderSymbol, 12, 66, 45, 0, 1);
    flag;
    OpenBank3;
    DepositAll;
    CloseBank;
    TripsDone:=TripsDone+1;
    end;

    begin
    UnSafeDisguiseScar('Google...');
    SetupSRL;
    DeclarePlayers;
    Login;
    ToFlaxFeilds;
    ToSpinThisFlax;
    ToBank;
    end.

  8. #8
    Join Date
    Jul 2007
    Location
    Riding the escalator to heaven.
    Posts
    506
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    none of the scripts work now.youll have to wait for srl4 to be realesed.you came at a bad time.






  9. #9
    Join Date
    Aug 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh, kk, I just started wanting to auto on RS, so, this is a bummer.

  10. #10
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This is the second thread you made on this subject. Can a mod please come and delete one?
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help getting this script to work
    By kollmann in forum OSR Help
    Replies: 3
    Last Post: 03-31-2008, 09:09 PM
  2. My script won't work???
    By Zeta in forum OSR Help
    Replies: 2
    Last Post: 08-07-2007, 07:32 AM
  3. cant get script to work
    By jones264 in forum OSR Help
    Replies: 1
    Last Post: 08-06-2007, 12:28 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
  •