Results 1 to 10 of 10

Thread: Duplicate Identifier

  1. #1
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Duplicate Identifier

    Ok, I have tried everything. I have looked through several tutorials, so don't post me a link please, I just need a solid answer. I am using antirandoms.scar, and I am getting the error

    'Line 40: [Error] (12275:11): Duplicate identifier 'SRLRANDOMSREPORT' in script C:\Program Files\SCAR 3.11\includes\Antirandoms.scar'

    ...What the hell am I doing wrong here? This is for my own script btw -_-

    Edit: Ok here it is =/ It will probably look funky for a first script since I've made like two versions of it...neither of which got completed because I realized that I was using an old tut...Probly still am.

    SCAR Code:
    program New;
    {.include srl/srl.scar}
    {.include Antirandoms.scar}
    {.include Antiban.scar}
    const
    Username = 'UserName'; //Fill these out, its for logging in.
    Password = 'Password';
    ChatColo = 0;        
    GoldColo = 0;          //Built with Scar Tutorial.exe
    NoteColo = 0;
    EssenceC = 0;          

    var
    procedure RandomSayings;
      begin
      case random(5) of
      0: SendKeys('Open 2k!'+chr(13));
      1: SendKeys('Open 2k'+chr(13));
      2: SendKeys('Open 2k + Ess!'+chr(13));
      3: SendKeys('Open 2k + Ess Back!'+chr(13));
      4: SendKeys('Open 2000 + Essence Back!'+chr(13));
      end;
    Function FindMod;
    Procedure DwarfItem;
    Function FindLamp;
    Function SolveGenie;
    Function FindMime;
    Function FindMaze;
    Function TrollsInGoodPos;
    Function SolvePinball;
    Function FindTalk;
    Function SolveTalkingRandom;
    Function FindNormalRandoms;
    Active only during the Summer...

  2. #2
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Post your script and it will be easier for us to help you. Make sure that you have the latest SRL and SCAR.

  3. #3
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Any assistance would be appreciated -_-
    While we're at it, does anyone know what I could use to find coordinates without colors? Because I have no idea how to get it to select the quantity
    Active only during the Summer...

  4. #4
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Something has gone totally wrong here with your script.
    I believe you are attempting to make a Air Running Crafter helper?

    Before making a script, make sure you have the latest SRL and Scar 3.11

    If you have ANY errors when running an empty script like..
    SCAR Code:
    program New;
    {.include SRL/SRL.scar}

    begin
      SetupSRL;
    end.

    Then you have done something wrong.

    Here are a few links to get you started.

    Learning Basic SCAR

    Making woodcutting script

    Adding SRL Random Support to your script

    How auto is this going to be?. Going to leave your character doing Air crafting for hours on end? or are you gonna be sitting there and watching?

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  5. #5
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    SRL includes that stuff. You don't need to include the other two.

  6. #6
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok I think thats going to solve my problem bullzeye ^^ thanks. (+rep to u!)
    But still, I need to know if theres something around that I could use to find coordinates without the colors, I still feel..uncomfortable with SRL, and the last thing I want in my script is to practically tell Jagex who is autoing T_T Once I get some good commands, I'm going to edit my script into this reply for a few tips. =/
    Active only during the Summer...

  7. #7
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I could use to find coordinates without the colors
    Do you mean to actually find co-ords on the screen?. If so at the bottom left of SCAR it displays your current X and Y pos of your mouse. (make sure you target RS client first)

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  8. #8
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    smacks head* wow, I can't believe that I never made that connection. Ok, I'm going to tidy it up a bit. H/o Ok, actually, this is going to take about another day. I messed around with it and managed to crash my computer. But, all errors have been fixed, it just has to have color fixes.
    Active only during the Summer...

  9. #9
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Just so you know, using pure coordinates is very unrelaible. You can also use bitmaps and DTM's to return coordinates.

  10. #10
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by jhildy View Post
    Just so you know, using pure coordinates is very unrelaible. You can also use bitmaps and DTM's to return coordinates.
    Hes gonna need the co-ordinates in the first place to know where to scan for them

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Duplicate Identifier
    By iunseeni in forum OSR Help
    Replies: 2
    Last Post: 11-06-2007, 04:18 PM
  2. Duplicate Identifier?
    By IEatJ00erBaybees in forum OSR Help
    Replies: 7
    Last Post: 03-05-2007, 01:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •