SCAR Code:
program SimpleReflectionWalkerEx;
{.Include SRL\SRL\Misc\Smart.Scar}
{.Include SRL\SRL.Scar}
{.Include SRL\SRL\Reflection\Reflection.Scar}
Procedure SetupSmart;
Begin
smartSetupEx('world167', True, True, False);
Wait(1000);
SetTargetDC(SmartGetDC);
end;
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :=''; //Your Username
Players[0].Pass :=''; // Your password
Players[0].Nick :=''; //3-4 letters of your username.
Players[0].Active:=True;
end;
function LoadPath: TPointArray;
begin
SetLength(Result, 30);
Result[0] := Point(3225, 3218);
Result[1] := Point(3234, 3219);
Result[2] := Point(3240, 3226);
Result[3] := Point(3251, 3226);
Result[4] := Point(3259, 3233);
Result[5] := Point(3260, 3240);
Result[6] := Point(3256, 3248);
Result[7] := Point(3251, 3255);
Result[8] := Point(3250, 3264);
Result[9] := Point(3247, 3271);
Result[10] := Point(3242, 3278);
Result[11] := Point(3238, 3288);
Result[12] := Point(3238, 3299);
Result[13] := Point(3235, 3308);
Result[14] := Point(3228, 3310);
Result[15] := Point(3222, 3315);
Result[16] := Point(3220, 3322);
Result[17] := Point(3215, 3328);
Result[18] := Point(3212, 3332);
Result[19] := Point(3206, 3340);
Result[20] := Point(3203, 3350);
Result[21] := Point(3205, 3360);
Result[22] := Point(3211, 3364);
Result[23] := Point(3212, 3371);
Result[24] := Point(3211, 3377);
Result[25] := Point(3211, 3387);
Result[26] := Point(3211, 3396);
Result[27] := Point(3211, 3406);
Result[28] := Point(3210, 3416);
Result[29] := Point(3212, 3424);
end;
Procedure WalkThePath;
Var
I: Integer;
Path: TPointArray;
Begin
Path := LoadPath;
for i := 0 to High(Path) do
Begin
WalkToTile(Path[i], 3, 0);
end;
Wait(500+Random(300));
end;
Begin
SetupSRL;
SetupSmart; // Calls the SetupSmart procedure.
end.
Ok so this is the problem i followed the path make walk guide from reflection section, but when i press go i get this erros:
Line 75: [Hint] (21490:20): Variable '' never used in script D:\Program Files\SCAR 3.15\includes\SRL\SRL\Reflection\AntiRandoms\Molly .scar
Line 209: [Hint] (21624:20): Variable '' never used in script D:\Program Files\SCAR 3.15\includes\SRL\SRL\Reflection\AntiRandoms\Molly .scar
Line 8: [Error] (21892:44): Type mismatch in script D:\Program Files\SCAR 3.15\Scripts\Test\test.scar
help?