Okay so I went and looked at Coh3n's thread on a tutorial for this and I copied the code and tried it and it didn't work. Help out please?
Simba Code:
program FindSymbolExample;
{$include SRL/SRL.scar}
function WalkToWillows: Boolean;
var x, y : Integer;
begin
if not LoggedIn then
Exit;
SetRun(True);
SymbolAccuracy := 0.5;//Notice how I set the accuracy to 50%, so it will still work if it only finds half of the symbol.
Result := FindSymbol(x, y, 'fish');
if Result then
begin
Writeln('Found fishing symbol!');
Mouse(x, y, 4, 4, True);//Click the fishing symbol.
end else
begin
Writeln('Couldn''t find the fishing symbol');
Logout;//Logout and execute script if it can't find the symbol.
TerminateScript;
end;
SymbolAccuracy := 0.8;//Make sure you set the SymbolAccuracy back to the defaut accuracy, 0.8 or 80%.
end;
begin
ClearDebug;
SetupSRL;
ActivateClient;
if WalkToWillows then
Writeln('Walking to Willows!')
else
Writeln('Not walking to Willows.');
end.