• Log in or sign up for an account here: https://www.sythe.org/login

Needing some Simba RS3 help

fredecus

Apprentice
Joined
Jan 17, 2010
Sythe Gold
9
Messages
884
Location
Alabama
EDIT: Since no one posts I am looking for someone that will be able to help me one on one through skype. I can pay.


This is my second day learning SRL and pascal script. I am working on a very simple function that opens the bank and withdraws the second preset by pressing the 2 key.

Code:
procedure withdrawItems();
begin
 if not isLoggedin() then
  exit;

 if isLoggedin() then
  begin
    writeLn('1');
    bankScreen.open(bankType);
    wait(randomRange(300,750));
    writeLn('2');
  end;


if (bankScreen.isOpen()) then
  begin
    writeLn('3');
    SendKeys('2', 300, 0);
  end;
end;

My problem is that once the bank is open, there is up to a 10 second wait time before the '2' is printed. What is causing this wait time? I used writeLn's to debug and see where it was hanging. Should I just try to re-install everything?

Again, just to be clear my script prints "1" in the debug, pauses for up to 10 seconds, then prints the "2", "3", and uses sendKeys quickly after.

Also, I know I can use BANK_PRESET_2 but I found that it was withdrawing preset 1 at times. Maybe this is a clue that a reinstall is needed?
 
Runescape Gamblingrunescape gambling
Back
Top