Results 1 to 8 of 8

Thread: Unknown identifier...im not a noob this is in srl...

  1. #1
    ronny.m.p Guest

    Default Unknown identifier...im not a noob this is in srl...

    The inventory.scar script has an error whenever i try to use it...

    Code:
    Line 77: [Error] (77:1): Unknown identifier 'GameTab' in script C:\Program Files\SCAR 2.03\includes\SRL\SRL\core\Inventory.scar
    I uninstalled and reinstalled but it didnt do anything...

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

    Default

    Hmmm... I'll upload my SRL folder. Mine works fine.

    EDIT: Here it is: http://www.uploadit.biz/download.php...e=srl86518.rar

  3. #3
    ronny.m.p Guest

    Default

    Didn't work...what happens when you open SRL/SRL/Core/inventory.scar and press complile?

  4. #4
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Ah you're not supposed to run those files. Inventory.scar needs gametab.scar. When you include SRL in a script, it includes a list of other files, in a certain order. This order allows inventory.scar to include gametab.scar, which is why you don't see include gamtab at the top of the inventory file.

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

    Default

    Ohh lol you were trying to run it? haha

  6. #6
    ronny.m.p Guest

    Default

    No but i was getting an error in my script that was traced to Inventory.scar. Anyways it was because i hand wrote a few includes into that file...one of them i did not declare a var and everything screwed up. I thought it must be the gametab that caused the problem at first...Im not stupid enough to run an include file...

  7. #7
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Ah ok. It's a good idea to write your custom functions to a separate include, and have that include SRL. It's easier to tell if the error is in SRL or in your stuff.

  8. #8
    ronny.m.p Guest

    Default

    Ya that's what im setting up rite now thanks.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hello everyone I need help,Unknown identifier
    By Kasmember13 in forum OSR Help
    Replies: 13
    Last Post: 01-11-2009, 08:33 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
  •