Jump to content

BETA v1.7.21


Laz

Recommended Posts

Found something.

 

For some reason banking isn't working my script, I say

Entity bankbooth = closestObjectForName("Bank booth");
      if (bank.isOpen()) {
        bank.depositAllExcept(this.AXES);
      }else if (bankbooth.isVisible() && BANK_BOOTHS.contains(bankbooth)) {
        bankbooth.interact("Bank");
        sleep(random(700, 900));
      } else {
        this.client.moveCameraToEntity(bankbooth);
      } 

And it just sits there moving left and right constantly.

In order to try and combat this I used:

 Entity banker = closestNPCForName("Banker");
      if (bank.isOpen()) {
        bank.depositAllExcept(this.AXES);
      }else if (banker.isVisible()) {
    	  banker.interact("Bank");
        sleep(random(700, 900));
      } else {
        this.client.moveCameraToEntity(banker);
      }

And now it finds a banker, but it's the wrong one (it clicks the male banker at the back of the bank instead of the closest banker who is female, they both have different IDs)

 

Any help is appreciated.

 

P.S:

banker.png
 
bankers.png

 

Regards,

Graphical

Edited by Graphical
Link to comment

Sandwich Lady might not be working.

 

[iNFO ][07/18/13 08:59:17 PM]: [Debug] Climbing Over Wall 1
[iNFO ][07/18/13 08:59:19 PM]: for angle 266 turn right? false
[iNFO ][07/18/13 08:59:19 PM]: Turning left
[iNFO ][07/18/13 08:59:23 PM]: [Debug] Climbing Over Wall 2
[iNFO ][07/18/13 08:59:25 PM]: Activating random : Sandwich Lady Solver
[iNFO ][07/18/13 08:59:25 PM]: java.lang.InterruptedException: sleep interrupted
[iNFO ][07/18/13 09:00:19 PM]: Exited random : Sandwich Lady Solver
[iNFO ][07/18/13 09:00:20 PM]: [Debug] Swinging On Rope...
Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...