View Full Version : Line 102: [Error] (265:1) ... Help please!
Lossol
04-17-2008, 03:47 AM
Yeah whenever I try to run a script it gives me this:
Loaded all chars. (NPCChars, TradeChars, SmallChars, StatChars, UpChars)
Failed when compiling
Line 102: [Error] (265:1): Unknown identifier 'Filename' in script C:\Program Files\SCAR 3.15\includes\srl\srl\core\Setup.scar
I'm at a loss, I've googled it, as well as searched the website, can anyone help please?
Da 0wner
04-17-2008, 03:49 AM
Have you downloaded SRL?
Lossol
04-17-2008, 03:51 AM
Yes, I downloaded it and extracted it. I replace my old plugin/includes with the ones in the rar.
hmm well just try this
Look like at all of your lines and look for a little thing like this }
cause sometimes that will mess things up
not sure if itll work but never hurts to try ;)
Runescapian321
04-17-2008, 03:56 AM
What rar?
To set up SRL + Scar look at my tutorial, in my sig, the one 'Your full guide to begin autoing'.
Lossol
04-17-2008, 03:57 AM
Yes, there are alot of " {'s and }'s ". Are they not suppose to be there? Because it would take awhile to take them all out, and the script probably wouldn't run correctly. I'm not sure though.. Every script I have has a { or a } at least 5 times in it.
EDIT: Oh and runescapian, when I click on "download includes" It says "Error while obtaining includes list!"
Runescapian321
04-17-2008, 03:59 AM
{ and } are used for either includes or comments. If theres one without the other, then yeah, that might mess the script up. I don't think that's the problem in your case though. Take a look at my tut to make sure you ahve SRL set up correctly.
Lossol
04-17-2008, 04:06 AM
It says I don't have SVN, but I do, can you tell me exactly where the svn.exe should be? Its on my desktop for some reason... Oh and I definitely have SRL.
Runescapian321
04-17-2008, 04:16 AM
If you read and follow my tut it'll explain everything to you. You may have SRL, but you probably don't have any revisions of it.
Lossol
04-17-2008, 04:27 AM
Oh great, I followed everything and it seemed to go fine, im at 15 and everything.. but then when I go to run a script I get:
Line 58: [Error] (237:11): Unknown identifier 'CreateTPAFromBMP' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Math.scar
Failed when compiling
Line 27: [Error] (27:26): Unknown identifier 'MMCX' in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Core\Math.scar
Failed when compiling
Any help?
Da 0wner
04-17-2008, 06:24 AM
What script are you using? Please post it here?
Shuttleu
04-17-2008, 06:39 AM
Oh great, I followed everything and it seemed to go fine, im at 15 and everything.. but then when I go to run a script I get:
Line 58: [Error] (237:11): Unknown identifier 'CreateTPAFromBMP' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Math.scar
Failed when compiling
Line 27: [Error] (27:26): Unknown identifier 'MMCX' in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Core\Math.scar
Failed when compiling
Any help?
i only get those errors when i run math.scar
but your not meant to run that file anyway
What script are you using? Please post it here?
your not ment to post scrips unless you have permission from the author of the script
~shut
Da 0wner
04-17-2008, 06:42 AM
That is because it is an include. You do not need a main loop or a program blah; in an include and you aren't meant to run it like huttle said.
Lossol
04-17-2008, 09:56 PM
When I click run it says:
Failed when compiling
Line 58: [Error] (237:11): Unknown identifier 'CreateTPAFromBMP' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Math.scar
And it automatically opens up a math.scar tab.
Runescapian321
04-18-2008, 04:49 PM
Make sure that every nickname box is filled in, even if you aren't using a character. That might solve the problem
Richard
04-18-2008, 05:12 PM
When I click run it says:
Failed when compiling
Line 58: [Error] (237:11): Unknown identifier 'CreateTPAFromBMP' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Math.scar
And it automatically opens up a math.scar tab.
Thats means the script is outdated if it has that line in, its an old function.
Make sure that every nickname box is filled in, even if you aren't using a character. That might solve the problem
SRL does nicks automatically now, you don't even need to enter the nick anymore. Thats why in the debug it says something like "Creating Nick TPA from something".
Da 0wner, I demend you remove the first line from your sig, or I will sew you for copy right :p
Da 0wner
04-18-2008, 11:50 PM
shuttleu, that is only if it is a private script or a script not accessible by the reciever. And since I can access the junior member section it is ok. But if it is in SRL Member section, then it's not ok unless permission by author (which i have lots of friends that are devs/admins/SRL member that are my friends).
Lossol
04-19-2008, 01:23 AM
Well I'm getting that error every time I try to run a script.. And I was trying to run wizzup's ess miner, which I'm pretty sure isn't out of date.
Runescapian321
04-19-2008, 01:49 AM
Well I'm getting that error every time I try to run a script.. And I was trying to run wizzup's ess miner, which I'm pretty sure isn't out of date.
It is out of date. He closed the thread saying he was going to update it within a week or so.
Lossol
04-19-2008, 01:52 AM
Oh well I just tried 3 other scripts and none of them work either...
Runescapian321
04-19-2008, 01:54 AM
Did you try what I said? I remember this happening to me, and I believe that's what solved it.
Or maybe all 3 of those scripts were old? :p
Lossol
04-19-2008, 02:05 AM
I don't understand what you said about the nickname stuff, I'm brand new to scar.
Runescapian321
04-19-2008, 02:11 AM
Players[1].Name :='';
Players[1].Pass :='';
Players[1].Nick :=''; //fill this in, on every player
Players[1].Active:=False;
Lossol
04-19-2008, 02:26 AM
They are already filled
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.