Results 1 to 4 of 4

Thread: SRL bug i think

  1. #1
    Join Date
    Dec 2006
    Location
    London, England
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default SRL bug i think

    Type the code below into scar

    SCAR Code:
    Program New;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/Core/MapWalk.scar}//i can't remember where the include is cos im not using my normal computer
    begin
    end.

    run it...

    i don't know about you but i get this error

    Code:
    duplicate identifier 'roadcolor' in script
    this isn't the exact error but its something like that, does anyone have any ideas
    Current Scripts:
    http://www.fenjer.com/adnan/SRL/16/100/AutoLogin.pnghttp://villu-reborn.com/showthread.php?t=5219

    Currently Working on:
    http://www.fenjer.com/adnan/SRL/9/5/air%20crafter.png

    Join the rebellion call kaitneiks, cakemix.(just thought i'd add this, soo many good memories)

  2. #2
    Join Date
    Oct 2006
    Location
    England
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That does that for everyone i think but to use the functions/procedures inside it you dont need to add it there trust me.

  3. #3
    Join Date
    Oct 2006
    Posts
    412
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    By having

    {.include SRL/SRL.scar}

    you dont need to also include and have anything in the

    {.include SRL/SRL/Core/any file.acar}

    because

    {.include SRL/SRL.scar}

    includes it all for you. having included the main one, and one that has already been included, will create duplicate identifiers. so only use

    {.include SRL/SRL.scar}

    unless you need to call srl stuff from the other 3 folders like extended, misc, and skill.

  4. #4
    Join Date
    Dec 2006
    Location
    London, England
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thank you for your help
    Current Scripts:
    http://www.fenjer.com/adnan/SRL/16/100/AutoLogin.pnghttp://villu-reborn.com/showthread.php?t=5219

    Currently Working on:
    http://www.fenjer.com/adnan/SRL/9/5/air%20crafter.png

    Join the rebellion call kaitneiks, cakemix.(just thought i'd add this, soo many good memories)

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
  •