Jump to content

v1.7.98


Zach

Recommended Posts

1) 1.7.98

2) [ERROR][04/06/14 12:48:45 AM]: Error on executing script worker!
java.lang.NullPointerException
    at org.osbot.script.rs2.ui.Bank.getItems(bi:38)
    at org.osbot.script.rs2.ui.Bank.getAmount(bi:83)

3) When checking bank for item, script crashes. Take out the getBank.getAmount(int) line and the script runs fine.

 

This is all I took out -

if(client.getBank().getAmount(#)> #) {

 

And no, client.getBank().getItemForName(String).getAmount(int) does not work.

Link to comment

Just wondering. Can you make the bot log out after afk for 5-10 min? I got banned by a mod for being stuck in a random for a very long time because the bot kept me in there for hours. It was prison pete btw.

 

This, please. I'm going to start adding things like this to my scripts that I want running for long periods of time.

 

Newest version of OSBOT 1.7.98

Didn't even recognized Capn' Hands or whatever his name is, he ended up attacking me. I was there to talk to him myself because I was watching my computer, but still. Nothing showed up in the log. It didn't even recognize an event. 

 

I think this got me killed yesterday =\ I noticed myself in Lumbridge, but the log showed several SUCCESSFUL randoms, so a not-recognized would do the trick.

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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