deviney
05-31-2007, 02:54 PM
Hello again people,
Its me Deviney!
Just spent all yestarday figuring what was up with scar/SRL. when i finnaly got the SRL setup script to run correctly, i was chuffed lol.
I then though i would make a script but now i seem to get an error saying:
Failed when compiling
Line 59: [Error] (14813:10): Unknown identifier 'FindItemColor' in script C:\Program Files\SCAR 2.03\includes\srl/srl/skill/Fishing.scar
am using srl v 3.7 and scar divi 2.6
heres the script
program fishinglobbys;
{.include srl/srl.scar}
{.include SRL/SRL/skill/fishing.scar}
var fishy: Integer;
procedure findfish;
begin
fishy := BitmapFromString(1, 2, '88B0E9A8C8FF');
if(FindBitmap(fishy,x,y))then
begin
Mouse(x,y,2,2,true);
Writeln('found fish!');
end;
end;
begin
findfish
end.
Its me Deviney!
Just spent all yestarday figuring what was up with scar/SRL. when i finnaly got the SRL setup script to run correctly, i was chuffed lol.
I then though i would make a script but now i seem to get an error saying:
Failed when compiling
Line 59: [Error] (14813:10): Unknown identifier 'FindItemColor' in script C:\Program Files\SCAR 2.03\includes\srl/srl/skill/Fishing.scar
am using srl v 3.7 and scar divi 2.6
heres the script
program fishinglobbys;
{.include srl/srl.scar}
{.include SRL/SRL/skill/fishing.scar}
var fishy: Integer;
procedure findfish;
begin
fishy := BitmapFromString(1, 2, '88B0E9A8C8FF');
if(FindBitmap(fishy,x,y))then
begin
Mouse(x,y,2,2,true);
Writeln('found fish!');
end;
end;
begin
findfish
end.