Results 1 to 14 of 14

Thread: SRL 4 Error identifier 'x' in script

  1. #1
    Join Date
    Oct 2006
    Location
    MI USA
    Posts
    3,166
    Mentioned
    6 Post(s)
    Quoted
    11 Post(s)

    Default SRL 4 Error identifier 'x' in script

    If your post was closed and you were redirected here..it was because....I see so many New Beginners posting the same questions over and over, without even trying to search the answers for themselves.....

    SRL Library Version 4 PUBLIC BETA

    Compatibility Issues


    x and y. We Removed the Global Variables x and y, since they caused much internal trouble.
    Just put var x,y:Integer at the top of your script if it complains.


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

    Default

    But the error is "duplicate identifier" =/

  3. #3
    Join Date
    Oct 2006
    Location
    MI USA
    Posts
    3,166
    Mentioned
    6 Post(s)
    Quoted
    11 Post(s)

    Default

    If you get a 'duplicate identifier', it is most likely you are using an outdated script


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

    Default

    No, wouldn't it be an "unknown identifier"? Because in the old SRL, you didn't have to declare x and y in your scripts, which would now make an unknown identifier, not a duplicate identifier.

  5. #5
    Join Date
    Oct 2006
    Location
    MI USA
    Posts
    3,166
    Mentioned
    6 Post(s)
    Quoted
    11 Post(s)

    Default

    Ok, so if you have any questions regarding errors with "X" in your script...Please refer them to bullzeye95


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

    Default

    ROFL nevermind

    I was just wondering why people were getting that with SRL 4. It doesn't make sense.

  7. #7
    Join Date
    Oct 2006
    Location
    MI USA
    Posts
    3,166
    Mentioned
    6 Post(s)
    Quoted
    11 Post(s)

    Default

    Maybe I will contemplate it more later...just trying to "clean up" a bit right now...so many repetitive questions...


  8. #8
    Join Date
    Jul 2007
    Location
    Live in Canada... In an Igloo, yes.
    Posts
    134
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow! Thanks so much.. I could kiss you for that...

    Wait, I wouldn't do that. LOL! Thanks bro!
    Sp0rk-eh Forums!- The BEST Runescape Black Market on the net... and more!

  9. #9
    Join Date
    Jul 2007
    Posts
    75
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok i unistalled everything and decide to start over so i installed scar and srl bac but theres no includes folders or any other folder except the srl one when i exctract it....am i doin sumthing rong like did i not completely uninstal it before or wut??

  10. #10
    Join Date
    Jan 2007
    Location
    In my mind
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    when i unistalled it helped for one of my scripts

  11. #11
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by bullzeye95 View Post
    ROFL nevermind

    I was just wondering why people were getting that with SRL 4. It doesn't make sense.
    Well, the global x and y were removed from Globals, all functions now use local x and y, but sometimes scripts uses SRL's global x and y.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  12. #12
    Join Date
    Jul 2007
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ty my auto miner is workign cuz o u

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

    Default

    Quote Originally Posted by Wizzup? View Post
    Well, the global x and y were removed from Globals, all functions now use local x and y, but sometimes scripts uses SRL's global x and y.
    He changed the title. It was "SRL 4 Error Duplicate identifier 'x' in script". I was wondering how that was possible.

    Anyways, whatever

  14. #14
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bullzeye95 View Post
    ROFL nevermind

    I was just wondering why people were getting that with SRL 4. It doesn't make sense.
    because they use a srl 4 script with x and y at the top at the script
    and they use srl 3.81 so you dont need to put x and y at the top thats why dup id
    ~Hermen

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 10-07-2007, 10:41 PM
  2. Script: Unknow Identifier Error
    By Macho Man67 in forum OSR Help
    Replies: 3
    Last Post: 06-29-2007, 01:21 AM
  3. [error] (17795:1) : Identifier expected in script
    By yorkshireknight in forum OSR Help
    Replies: 15
    Last Post: 02-20-2007, 10:17 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
  •