elfenlyte
2008-02-20 15:30:52
Hi,
I followed Markus's tutorial.
Now, here is a sample of my edited Smart.scar:
begin
Then I edited SRL.scar to this. Here is a sample of it.
Then I edit in the heading at the top of the modified script.
I run the script and get this error each time.
Line 79: [Error] (12369:30): Syntax error in script C:\Program Files\SCAR 3.14\includes\SRL/SRL.Scar
As you probably know, Line 79 is:
Would you please help me with this?
Thank you
I followed Markus's tutorial.
Now, here is a sample of my edited Smart.scar:
{$DEFINE SMART}
{
smart.scar overwrites the SCAR procedures.
You should always include this before any other include, even SRL.scar
}
procedure MoveMouse(x, y: Integer);
begin
SmartMoveMouse(x, y);
end;
procedure HoldMouse(x, y: Integer; left: Boolean);
begin
SmartHoldMouse(x, y, left);
end;
procedure ReleaseMouse(x, y: Integer; left: Boolean);begin
Then I edited SRL.scar to this. Here is a sample of it.
*******************************************************************************}
procedure SetupSRL;
begin
{$IFDEF SMART}
SmartSetup({your prefix here}, false, {signed? true/false});
wait(10000+random(5000));
SetTargetDC(SmartGetDC);
repeat
wait(100);
until(SmartGetColor(253, 233)<>1118604);
{$ENDIF}
MouseSpeed := 15;
CheckHPFirst := True;
Reincarnate := False;
TalkAfterRandoms := False;
RoadColor := 0;
WaterColor := 0;
BankColor := 0;
LampSkill := 'mining';
SetUpSRLReport; Then I edit in the heading at the top of the modified script.
I run the script and get this error each time.
Line 79: [Error] (12369:30): Syntax error in script C:\Program Files\SCAR 3.14\includes\SRL/SRL.Scar
As you probably know, Line 79 is:
SmartSetup({your prefix here}, false, {signed? true/false}); Would you please help me with this?
Thank you