View Full Version : i am confused o.o help plz?
Zerghunter3000
10-10-2009, 02:41 AM
I keep getting this error when i try to make a script, i keep hitting myself in the head trying to figure out wut it means, can anyone help? :duh:
Failed when compiling
Line 3: [Error] (3:28): Identifier expected in script
Failed when compiling
Line 3: [Error] (3:1): Identifier expected in script
Failed when compiling
Line 3: [Error] (3:1): Identifier expected in script
senrath
10-10-2009, 02:59 AM
Can you post the script?
barbarianl3t
10-10-2009, 02:59 AM
Could you try to post the code you have written. More likely then not you're error is because you forgot to place a semi-colon ";" after the line of code you wrote.
Nava2
10-10-2009, 03:04 AM
Identifiers are begin and end. Make sure you have them placed correctly.
Remember, we can help a lot more if you post the script.
Zerghunter3000
10-10-2009, 03:32 AM
Program WoodCutting;
{.include Si.scar}
Var x,y : Integer;
Procedure CutOak;
Begin
Findcolor(x,y,2451804,5,5,515,340)
Mouse(x,y,1,1,true)
Wait(5000)
end;
End
Nava2
10-10-2009, 03:33 AM
You need to create a main loop so:
begin
CutOak;
end.
Zerghunter3000
10-10-2009, 03:45 AM
Okay, hand oh and it says
Include file C:\Program Files\SCAR 3.12\includes\Si.scar does not exist.
Failed when compiling
Where do I download Si.scar or get it?
Tniffoc
10-10-2009, 03:51 AM
I don't know why you're trying to include "Si.scar". SRL is the only include left. May I suggest that you read a few tutorials on SRL specifically?
senrath
10-10-2009, 03:51 AM
Si.scar is old and outdated. Don't use it.
Zerghunter3000
10-10-2009, 03:53 AM
Well, what should I use? Because Si.scar is the only one I know of since I'm new to scripting. Thx.
Nava2
10-10-2009, 03:55 AM
You need to install SRL & at least 3.15b for SCAR.
Zerghunter3000
10-10-2009, 04:00 AM
OH! I am using SCAR3.12! where is SRL and 3.15? and also, what might I put to replace:
{.include Si.scar}
TomTuff
10-11-2009, 06:45 PM
umm... this is the SRL forums... try going to tutorial island? (literally, tutorial forum at the bottom of the main forum page) there should be a guide (look for coh3n's) to set up SCAR (newest edition, 3.22 beta) and SRL (latest dev rev)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.