Issue: -- TRSBankscreen.__openBankBooth() -- TRSBankscreen.__openBankBooth() result = False

  1. issueid=442 06-27-2015 04:51 PM
    SRL Member
    -- TRSBankscreen.__openBankBooth() -- TRSBankscreen.__openBankBooth() result = False
    TRSBankscreen.__openBankBooth() keeps failing, even when the bank booth is on screen

    -- TRSBankscreen.__openBankBooth()
    -- TRSBankscreen.__openBankBooth() result = False

    90% of the time it'll fail.

    Code:

    Simba Code:
    function openBank: boolean;
    Var
      clicked, open: boolean;
    begin
      result:=false;
      case random(50) of
        1..10: clicked:=bankscreen.open(BANK_NPC_GREY);
        11..50: clicked:=bankscreen.open(BANK_BOOTH);
      end;
      open:=bankscreen.isOpen(2500);
      if(clicked) and (open) then
        result:=true;
    end;

    function doBanking: boolean;
    begin
      result:= false;
     if(openBank) then
     begin
      case USER_BANKPRESET of
      1: bankscreen.clickButton(BANK_BUTTON_PRESET_1);
      2: bankscreen.clickButton(BANK_BUTTON_PRESET_2);
      end;
      bankscreen.close();
      if(not bankscreen.isOpen(2500)) then
        if(TabBackpack.isItemInSlot(1)) then
          exit(true);
     end
     else
      //errorOut(2, 'doBanking');
    end;

    Using the NPC works perfectly fine.

    I'm at Falador Bank, here's a pic: http://i.gyazo.com/827b0c0965253d9f66f6327443995abd.png
Issue Details
Issue Number 442
Project SRL Bugs and Suggestions
Status Confirmed
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




  1. 08-10-2015 09:28 AM
    Issue Changed by The Mayor
    • Status changed from Unconfirmed to Confirmed
+ Reply