Results 1 to 7 of 7

Thread: Smart Error

  1. #1
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Smart Error

    While working on my project i have come by some error:
    SCAR Code:
    Line 7: [Error] (19632:1): Duplicate identifier 'Smart_Server' in script C:\Program Files (x86)\SCAR 3.20\Scripts\DeSnob's Catherby Catcher.scar



    in this script:
    SCAR Code:
    program New;
    {.include SRL/SRL/Misc/Smart.scar}
    {.include SRL/SRL.scar}
    {.include srl/srl/misc/Reports.scar}

    Procedure DeclarePlayers;
    begin
      HowManyPlayers:= 1; // Players you are running
      CurrentPlayer:= 0; // Starting player
      NumberOfPlayers(HowManyPlayers) // Don't touch

      Players[0].Name:= ''; // Name of your RuneScape account
      Players[0].Pass:= ''; // Password to your RuneScape account
      Players[0].Nick:= ''; // 3-4 chars of your RuneScape-Accounts name. No capitals or numbers!
      Players[0].Strings[0]:= ''; // Lobsters, Sharks, Large Net, Net, Harpoon or Bait
      Players[0].Booleans[0]:= True; // Bank?
      Players[0].Integers[0]:= 50;// How many inventories?
      Players[0].Active:= True; // True to use account, false to skip
    end;

    Procedure SetupSmart;
    begin
      {$IFDEF srl_SMART}
        Smart_Server:=113;
        Smart_Members:=False;
        Smart_Signed:=True;
        Smart_SuperDetail:=False;
      {$ENDIF}
    end;

    Procedure ProgressReport;
    begin
      SRLPlayerReport(
                      ResultDebugBox, 17, True,
                      [True, True, True, True, True, False],
                      ['Fished', 'Responses', 'Fish'],
                      [0], [0], [0], []
                     );
    end;

    begin
      SetupSmart;
      SetUpSRL;
      ActivateClient;
      DeclarePlayers;
      LogInPlayer;
    end.

    PS: I have the latest SRL and Scar 20d.
    Last edited by DeSnob; 07-05-2009 at 01:07 AM.

  2. #2
    Join Date
    Jun 2009
    Location
    The Netherlands
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Script compiled here just fine. There must be a problem with your installation but I don't know much about that .

    Current Project:

    ChompieChopper - Early stages.

  3. #3
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Move your plugins.

  4. #4
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by The Little View Post
    Script compiled here just fine. There must be a problem with your installation but I don't know much about that .
    try running it, as it compiles fine for me too. The error appears when i run it.

  5. #5
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ...
    Quote Originally Posted by DeSnob View Post
    try running it, as it compiles fine for me too. The error appears when i run it.
    Quote Originally Posted by 99_ aka ian. View Post
    Move your plugins.

  6. #6
    Join Date
    Jun 2009
    Location
    The Netherlands
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Moving your plug ins should fix it ye,
    in the reflection folder (srl/srl/reflection), you will find a folder called MOVE TO PLUGINS.
    open it and move everything in it to the plugins folder in the scar directory. I believe the update script for reflection does that automatically.

    Current Project:

    ChompieChopper - Early stages.

  7. #7
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by 99_ aka ian. View Post
    ...
    Yeah, i can get pretty annoying sometimes

    Now, i'm getting the
    SCAR Code:
    Line 7: [Error] (19632:1): Duplicate identifier 'Smart_Server' in script C:\Program Files (x86)\SCAR 3.20\Scripts\DeSnob's Catherby Catcher.scar
    error.

    Pardon my nooby scar skills.
    ~DeSnob

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
  •