Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Worthy

Combat#selectAttackAction throws an uncaught NPE

4 posts in this topic

Description of the bug (be specific): Calling Combat.selectAttackAction(s) may randomly cause an NPE and blow up the entire script

How often the bug occurs: Sometimes

Triggers of the bug (if known): Could be if you supply a name to change attack styles which doesn't exist, but I have users reporting that even when the correct name is supplied it still blows up

Java version: 

  • Java Version: 1.8.0_91 64bit

Max Heap Size: 386MB

TRiBot client version:

  • TRiBot Version: TRiBot Release 9.303_6

Looking Glass (yes/no): Yes, but it occurs on both LG and non LG

Operating System: Windows 10

Script Name:

TRiBot Old-School or RS3: 07

Client Debug:

Bot Debug:

46e37c6b7be97c8b1cec7a6f19828123.png

Screenshots (if any): above

1 person likes this

Share this post


Link to post
Share on other sites

Yep, I experienced this. I was too lazy to post the bug so I simply wrote my own method...

Share this post


Link to post
Share on other sites
16 hours ago, fleq6 said:

Yep, I experienced this. I was too lazy to post the bug so I simply wrote my own method...

Using Interfaces I presume?

I don't want something that may be subject to change in the future, such as interface IDs.

Share this post


Link to post
Share on other sites
29 minutes ago, Worthy said:

Using Interfaces I presume?

I don't want something that may be subject to change in the future, such as interface IDs.

Yes, using interfaces. You're right, the downside is that it's subject to change.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.