
Originally Posted by
bmbmb
it keeps on needlessy switching fishing spots by mine but otherwise it works quite smoothly
the script detects when character is fishing by pixelshift, in your case threshold is too low so it thinks that character stopped fishing while it is still fishing.
you can:
1. equip weapon shield and cape to make pixelshift more pronounced
2. change pixelshift threshold value in the script
below is procedure WhileFishing, I use threshold value for pixelshift 35, it works fine with hands empty and no cape or Ava's accumulator on, also there is a Writeln command with output of pixelshift value in debug window, so you can adjust this value manually for your settings.
Simba Code:
Procedure WhileFishing;
begin
if not findnormalrandoms then
begin
wait(randomrange(2000,2500));
repeat
PBox := IntToBox(245, 130, 285, 195);
repeat
APShift := AveragePixelShift(PBox, 1, 2500);
Writeln('pixel shift A= ' + IntToStr(APShift));
if (APShift>=35) then
AntiBan;
until ((APShift<35) or (InvFull));
Writeln('pixelshift A done');
if (InvFull) then
begin
writeln('Inv is full');
SquellDepo;
break;
end else
begin
if (AveragePixelShift(PBox, 250, 2500)<550) then
begin
Writeln('PixelShift B done');
wait(randomrange(10,150));
if not startfishing then
break;
end;
end;
until(InvFull);
end else
begin
writeln('found random event');
Logout;
TerminateScript;
end;
end;