Hey guys, I am having some problems while using SRL banking - sometimes it takes the function even 10 or more times to detect the uptext and click the chest/NPC. I've been experiencing the exact same issue using several banking locations (SW, CW, GROTTO, SHANTAY).. and also BLUE_NPC.
This is how it looks like
https://vid.me/V0X5
This is my simba banking code:
Simba Code:
function banking: boolean;
var
t: TTimeMarker;
time, shift, slot: integer;
b, area: TBox;
begin
b := mainScreen.getBounds();
shift := getPixelShiftAverage(b, 100, 2000);
t.start;
time := gaussRangeInt(80000, 120000);
repeat
if (t.getTime > time) or (not isLoggedIn) then
exit;
getRightAngle;
findNormalrandoms;
disableSRLDebug := False;
if bankScreen.Open(players[currentPlayer].integers[2]) then
begin
disableSRLDebug := true;
break;
end;
chooseOption.close;
case random(10) of
0..8: slot := 2;
9..10: slot := 7;
end;
// Check if any backpack item is clicked - which might stop us from banking
if ((tabBackpack.countDTM(clickedHerb)) > 0) or ((tabBackpack.countDTM(clickedPot)) > 0) then
begin
writeln('--- Found clicked item, clicking cancel ---');
tabBackpack.mouseSlot(slot, MOUSE_MOVE);
fastclick(MOUSE_RIGHT);
chooseOption.select(['Cancel']);
end;
mainScreen.setAngle(MS_ANGLE_HIGH);
if (t.getTime > time) or (not isLoggedIn) then
exit;
wait(gaussRangeInt(100, 300));
until bankscreen.isOpen or (t.getTime > time);
result := true;
end;