I'm working on a simple powerfisher to get me 76 fishing. It all compiles but i have a problem while running it.
First of all this is the procedure:
SCAR Code:
procedure FindFish;
var
Spot: TNPCArray;
begin
if StillFishing then
begin
Exit;
end;
if FindFishingSpot(x, y) then
begin
if IsUpText('ure') then
begin
Mouse(x, y, 5, 5, True);
NoRandoms;
AntiBan(50);
if(GetAnimation = 623) then
begin
FFDebug('We are fishing.');
Exit;
if not FindFishingSpot(x, y) then
begin
Relocate;
end;
if not(GetAnimation = 623) then
begin
FFDebug('Unable to fish..');
CheckInventory;
AntiBan(50);
end;
end;
end;
end;
end;
The StillFishing function is just to check if we are still fishing. It was meant to stop this procedure when it see's that it the character is fishing. But instead, after it finds out it is fishing, it clicks the fishing spot again. Can anybody tell me what i'm doing wrong?