Results 1 to 4 of 4

Thread: Error

  1. #1
    Join Date
    Jan 2012
    Posts
    522
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Error

    http://pastebin.com/XD4huTT1

    I keep getting an error saying "[Error] (34:1): Identifier expected at line 33
    Compiling failed."

    I have completely forgot how to fix it since I haven't done scripting for about a month.

  2. #2
    Join Date
    Dec 2011
    Location
    Kosovo
    Posts
    831
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Simba Code:
    Program Agility;
    {$DEFINE SMART}
    {$i srl/srl.simba}
    {$i sps/sps.simba}
    const
    {==========Smart Setup==========}
    World = 0;  // Input the runescape world number right here for it to select. You may leave it as 0 if you would like it to select a random world.
    MEMBERS = False;  // Select False if you are not a member. Select True if you are a member.
    SIGNED = True;  // Select True if you are using single account. Select False if not. Do know that this is a single account script.
    {===============================}
    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name := ''; //Your Runescape username goes right here.
      Players[0].Pass := ''; //Your Runescape password goes right here.
      Players[0].Active := True; //Set to True if you want to use this player. Set to False to disable this player.
      Players[0].Pin := ''; //Put your Bank PIN here. Leave blank if you don't have a Bank PIN.
    end;
    procedure Obstacle;
    var x, y: integer;
    begin
    repeat
    FindNormalRandoms;
    WriteLn('Looking for obstacle net.');
    if FindObj(x, y, 'bstacle net', 3228248, 10) then
    WriteLn('Climbing Obstacle.');
    Mouse(x, y, 0, 0, true);
    If isUpText('limb-over') then
    ChooseOption('limb-over');
    until(false);
    end;
    begin
      Smart_Server := WORLD;  //This here sets up the SMART Minimizing Autoing Resource Thing so you can bot.
      Smart_Members := MEMBERS;
      Smart_Signed := SIGNED;
      Smart_SuperDetail := False;
      SetupSRL; //This here sets up SRL incase you didn't know.

      DeclarePlayers; //This here is so the script knows that the player info is filled in with.
      LoginPlayer; //This here logs in your player you filled in with.

      repeat
      Obstacle;
      until AllPlayersInactive;
    end.

    Fixed for you
    Goals:
    Understanding TPAs
    Making Proggy for fighting
    Getting on SRL members
    Get 500 posts

  3. #3
    Join Date
    Jan 2012
    Posts
    522
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I thought of putting the "Until" but I forgot about it.

    Thanks. +Repped

  4. #4
    Join Date
    Dec 2011
    Location
    Kosovo
    Posts
    831
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Np, you can change that until(false);
    Goals:
    Understanding TPAs
    Making Proggy for fighting
    Getting on SRL members
    Get 500 posts

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
  •