Log in

View Full Version : Unknown identifier...im not a noob this is in srl...



ronny.m.p
02-02-2007, 09:16 PM
The inventory.scar script has an error whenever i try to use it...


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...

bullzeye95
02-02-2007, 09:20 PM
Hmmm... I'll upload my SRL folder. Mine works fine.

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

ronny.m.p
02-02-2007, 09:36 PM
Didn't work...what happens when you open SRL/SRL/Core/inventory.scar and press complile?

Boreas
02-02-2007, 10:08 PM
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.

bullzeye95
02-02-2007, 10:21 PM
Ohh lol you were trying to run it? haha

ronny.m.p
02-02-2007, 10:30 PM
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...

Boreas
02-02-2007, 10:44 PM
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.

ronny.m.p
02-03-2007, 12:11 PM
Ya that's what im setting up rite now thanks.