Results 1 to 7 of 7

Thread: [Error] (12648:21): colon (':') expected

  1. #1
    Join Date
    Feb 2007
    Posts
    111
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [Error] (12648:21): colon (':') expected

    I keep getting that error. Its in line 69. Heres the script. Please help.

    SCAR Code:
    program FirstAttemptAtAnyUsefulScript;

    {.include SRL/SRL.scar}

    const
      SRLStatsID = 'Enter Yours';
      SRLStatsPass = 'You Stats Pass';

    const
    Rockcolour1= 111111; //The main color of rock
    RockColour2= 222222; //A secondary color of the rock

    var x, y, Tries: integer;


    procedure DeclarePlayers;
    begin

         HowManyPlayers := 1;
         NumberofPlayers (HowManyPlayers);
         CurrentPlayer:= 0
         
         Players[0].Name   := 'Username';   //Username of account your using
         Players[0].Pass   := 'Password';   //The password...
         Players[0].Nick   := 'user'        //3 to 4 letters of your username. They should be next to eachother
         Players[0].Active := True;         //If its gonna mine...
         
    end;

    procedure AntiRandoms;
    begin
      If(FindFight)then
      RunAway('N', True,1,15000);
      FindNormalRandoms;
      FindLamp('Mining');
    end;


    procedure AntiBan;
    begin
      if not LoggedIn then Exit;
      case Random(30) of
        1: RandomRClick;
        2: hoverSkill('Woodcutting',False);
        3: RandomMovement;
        4: BoredHuman;
        5: AlmostLogout;
        6: DoEmote(400 +Random(90));
      end;
    end;


    procedure RockMining;
    begin
    if not LoggedIn then
      Exit;
      if (not (FindObjCustom(x, y, ['Mi', 'ne'], [RockColour1, RockColour2], 7))) then
        Wait(100+random(100));
        Tries := Tries + 1;
        if(Tries = 20)then
          begin
            Logout;
            Exit;
          end else
      if FindObjCustom(x, y, ['Min', 'ine'], [RockColour1, RockColour2], 7) then
      repeat
        case (Random(2)) of
          1: Mouse(x, y, 4, 4,false);
    [U]         ChooseOption('ine');[/U] LINE 69!!!!
          2: Mouse(x, y, 4, 4, True);
        end
      until (InvFull)
    end;


    procedure DropRocks;
    begin
        if FindObjCustom(x, y, ['Ore'], [RockColour1, RockColour2], 7) then
        DropTo(2,28);
        Loads:=Loads+1;
    end;


    procedure ProgressReport;
    begin
    ClearDebug;
        Writeln('/\/\/\/\/\/\/\/\/\/\/\/\');
        Writelm('[]------>Proggy<------[]');
        Writeln('[]-->Mined' + IntToStr(Loads) + 'Loads<--[]');
        Writeln('\/\/\/\/\/\/\/\/\/\/\/\/');
    end;


    begin
      SetupSRL;
      ScriptId := '745';
      SRLID := SRLStatsPass;
      SRLPassword := SRLStatsPass;
      repeat
        RockMining;
        DropRocks;
        AntiBan;
        ProgressReport;
      until (False)
    end.
    Free runescape members? Yes, for 1 cent a click go here!
    http://www.stats.srl-forums.com/sigs/1854.png
    Need a tester? I could test for you. PM me for details =)

  2. #2
    Join Date
    Sep 2007
    Posts
    501
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    All I noticed was you have a RunAway, but no RunBack (or w/e the command is)

    Where exactly is line 69?

  3. #3
    Join Date
    Feb 2007
    Posts
    111
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yea. Lemme specifiy that.
    Edit: its got the word line 69 next to it.
    Free runescape members? Yes, for 1 cent a click go here!
    http://www.stats.srl-forums.com/sigs/1854.png
    Need a tester? I could test for you. PM me for details =)

  4. #4
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    CurrentPlayer:= 0
    Add a semi colon to that.

    Make it:
    CurrentPlayer:= 0;


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  5. #5
    Join Date
    Sep 2007
    Posts
    501
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    case (Random(2)) of
          1: Mouse(x, y, 4, 4,false);
              ChooseOption('ine');   // LINE 69!!!!
          2: Mouse(x, y, 4, 4, True);
        end
    SCAR Code:
    case (Random(2)) of
          1: begin
                Mouse(x, y, 4, 4,false);
                ChooseOption('ine');   // LINE 69!!!!
              end;
          2: Mouse(x, y, 4, 4, True);
        end
    its what I do

  6. #6
    Join Date
    Feb 2007
    Posts
    111
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok. will do both.
    Free runescape members? Yes, for 1 cent a click go here!
    http://www.stats.srl-forums.com/sigs/1854.png
    Need a tester? I could test for you. PM me for details =)

  7. #7
    Join Date
    Sep 2007
    Posts
    501
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    to clear anything up, replace the whats in the top box with whats in the bottom box

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Colon expected?
    By impiwimpi in forum OSR Help
    Replies: 9
    Last Post: 01-21-2009, 05:06 PM
  2. Colon expected...but where?!
    By Rich in forum OSR Help
    Replies: 3
    Last Post: 05-17-2008, 02:28 PM
  3. Colon expected.
    By skilld u in forum OSR Help
    Replies: 2
    Last Post: 02-24-2008, 11:54 PM
  4. Error Colon Expected..
    By supersayian2224 in forum OSR Help
    Replies: 5
    Last Post: 07-13-2007, 09:45 PM
  5. Colon Expected
    By Hey321 in forum OSR Help
    Replies: 3
    Last Post: 01-28-2007, 01:00 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
  •