To fix this:
Remove :
{.include srl/skill/woodcutting.scar}
^I dont know why it messes it up, but it does ^
Functions you want to use from woodcutting.scar, you can just paste into your script
![]()
@mormon yeah I did do that.
@nauman ok thanks I'll try that
Edit: no I still get the error.
I have the path include still on there, even though i dont use walkpath, i was trying it out, and it doesnt work if i remove it either
Use a countcolor on the white walls if its above 1000 then your at the noth tree if its below, your at the south tree![]()
hah well thanks alot I will definitely do that thank you
Edit: wow I actually fixed my findsymbol. It turns out it was a function from srl :S, in woodcutting, thats why you would not include woodcutting.scar . This is the procedure, and when I delete it, it can find and click the symbol, with it in my script, I cannot find the symbol. Anyone know what the dilleo is?
SCAR Code:function FindAxe: Boolean;
var
InvAxe, WieldAxe, Ix, Iy: Integer;
begin
if not LoggedIn then exit;
srl_LoadBitmaps([47, 48, 49, 50, 51, 52, 53, 54]);
GameTab(5);
for WieldAxe := 0 to 7 do
if FindBitmapToleranceIn(srl_GetBitmap(54-WieldAxe),Ix, Iy, 566, 285, 606, 327, 10) then
break;
GameTab(4)
for InvAxe := 0 to 7 do
if FindBitmapToleranceIn(srl_GetBitmap(54-InvAxe), Ix, Iy, MIX1, MIY1, MIX2, MIY2, 10) then
break;
if(InvAxe = 8)and(WieldAxe = 8)then
begin
Result := False;
Writeln('No axe was found.');
srl_FreeBitmaps;
Exit;
end;
EquipAxe := (WieldAxe - InvAxe < 0);
case Min(WieldAxe, InvAxe) of
0: WriteLn('Using Dragon axe');
1: WriteLn('Using Rune axe');
2: WriteLn('Using Addy axe');
3: WriteLn('Using Mith axe');
4: WriteLn('Using Black axe');
5: WriteLn('Using Steel axe');
6: WriteLn('Using Iron axe');
7: WriteLn('Using Bronze axe');
end;
Result := True;
srl_FreeBitmaps;
end;
There are currently 1 users browsing this thread. (0 members and 1 guests)