i keep getting a slot 0 is incorrect slot error from this.
any idea why? i can't figure it out.
it doesn't happen everytime just occasionally
Simba Code:
procedure cleanherbs;
var
slot: integer;
begin
if not isLoggedIn then
exit;
if not TabBackpack.isOpen then
TabBackpack.open;
mouseB := randomRange(0, 3000);
antiB := randomRange(0, 500);
case random(10) of //select 1 of 3 inv slots to use
0..7: slot := 1;
8..9: slot := 6;
10: slot := 2;
end;
tabbackpack.mouseSlot(slot,Mouse_left); //clicks inv slot
wait(gaussRangeInt(0,100));
repeat
if productionScreen.isOpen then //verifies production screen open
break;
wait(gaussRangeInt(0, 500));
until productionScreen.IsOpen;
wait(gaussRangeInt(0, 400));
productionScreen.clickStart; // Starts cleaning herbs
antiban;
mouseOffClient(4);
wait(gaussRangeint(14000,19000));
tabBackPack.mouseSlot(28,MOUSE_MOVE);
while not isMouseOverText(['lean toadflax']) do
begin
wait(gaussRangeInt(0,1500));
if ismouseOverText(['lean toadflax']) then
break;
end; // while doing antiban
end;