Results 1 to 6 of 6

Thread: Anyone Know How To Fix This Problem With SRL?

  1. #1
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Anyone Know How To Fix This Problem With SRL?

    Line 32: [Error] (14485:1): Duplicate identifier '' in script C:\Program Files\SCAR 3.11\includes\SRL/SRL/Core/MouseFlag.scar

    is what I recieve when my beginning attempts at a script

    what should I edit in the srl code to make it work?

  2. #2
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    should this go in the srl bugs? It still is help with scripting right?

  3. #3
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    What script are you using?

  4. #4
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    My Own Script in progress
    SCAR Code:
    program New;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/Core/MouseFlag.scar}
    {.include SRL/SRL/Core/Symbol.scar}
    {.include SRL/SRL/Core/MapWalk.scar}
    procedure WalkToBoat;
    begin
    PerfectNorth;
    mouse(585, 52, 10, 12, left: true);
    flag;
    FindSymbol(x,y, "quest");
    mouse(x, y, 10, 10, left: true);
    flag;
    RadialWalk( 8493, 341, 353, 54, 7, 7);
    RadialWalk( 4475981, 278, 294, 65, 4, 3);
    end;

    begin
    setupSRL;
    WalkToBoat;
    end.

    Also, how do you get pics on your sig?

  5. #5
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok, I fixed it up for you.

    SCAR Code:
    program New;
    {.include SRL/SRL.scar}

    procedure WalkToBoat;
    begin
    PerfectNorth;
    mouse(585, 52, 10, 12, True);
    flag;
    FindSymbol(x,y, 'quest');
    mouse(x, y, 10, 10, True);
    flag;
    RadialWalk( 8493, 341, 353, 54, 7, 7);
    RadialWalk( 4475981, 278, 294, 65, 4, 3);
    end;

    begin
    setupSRL;
    WalkToBoat;
    end.

    You don't need to include anything in the core folder, as it is all called when you include the srl/srl.scar file.

    In mouse, left : True, is wrong. When you want to left click, use True, when you want to right click, use False.

    The in find symbol, the symbol name needed to be put in single quotation marks ('). Not double. This is always the case for strings etc.

    Apart from that good job. ^_^

    Hope I helped.

  6. #6
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ty soooo much, im gunna plus rep u





    ohohoho I just love seeing those words Successfully compiled, they make me feel soo happy inside lol

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. problem...
    By Blumblebee in forum OSR Help
    Replies: 4
    Last Post: 12-28-2008, 07:22 AM
  2. help big problem
    By goblanca in forum OSR Help
    Replies: 3
    Last Post: 05-19-2007, 10:41 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
  •