S
SOCCERGREG
Guest
Code:
{.include SRL\Srl.scar}
Procedure MyRandoms;
Begin
FindNormalRandoms;
wait(10)
UseBoxSolver := True
wait(10)
UseCerterSolver := True
wait(10)
UseSandwichSolver :=True
FindMaze;
wait(10)
Solvepinball;
Wait(10)
if (FindFight) then
begin
RunAwayDirection('E');
Wait(8500 + random(3500));
RunBack;
end;
Wait(10);
FindTalk;
end;
Begin
activateclient;
Myrandoms;
end.
Everyone tells me to use this to find randoms, but I keep getting this error...
"[Runtime Error] : Exception: Access violation at address 006FE79D in module 'scar.exe'. Read of address 00000000 in line 315 in script C:\Program Files\SCAR 3.11\includes\srl\srl\core\Text.scar"
And then it opens text.scar to this part
Code:
procedure CloseWindow; //I've ben testing and everything leads to this procedure
begin //So is something wrong with this procedure???
if (FindBitmapMaskTolerance(CWindow, x, y, 400, 3, 515, 100, 0, 85)) then
Begin
Mouse(x + 8, y + 3, 3, 1, True);
Wait(400+Random(400));
End;
end;
Can someone help me fix this or find another way to find randoms in runescape?

