Bot Tom Frag 2 Share Posted April 5, 2020 Howdy, Was running a bunch of accounts through their normal routine and came across the inventory.getSelectedItemIndex() hook misbehaving. All of my scripts have remained the same, yet after last Thursday's update (26th of March), using the hook would cause a nullPointer exception and would hang. This hook used to return -1 for no item selected, and a number (0-27) corresponding to the inventory position selected. Now it's returning -1 as expected when nothing is selected, but if something is selected it's returning a number in the millions. Haven't seen any mention of this anywhere so figured I'd post to make sure you guys are aware of this.@Nuclear Nezz I haven't seen any mention of this anywhere on the forums, so I'm assuming its a bug. Let me know if this is intended and I'm missing something. Thanks Link to comment Share on other sites More sharing options...
Nuclear Nezz 1969 Share Posted April 6, 2020 On 4/5/2020 at 1:54 AM, Bot Tom Frag said: Howdy, Was running a bunch of accounts through their normal routine and came across the inventory.getSelectedItemIndex() hook misbehaving. All of my scripts have remained the same, yet after last Thursday's update (26th of March), using the hook would cause a nullPointer exception and would hang. This hook used to return -1 for no item selected, and a number (0-27) corresponding to the inventory position selected. Now it's returning -1 as expected when nothing is selected, but if something is selected it's returning a number in the millions. Haven't seen any mention of this anywhere so figured I'd post to make sure you guys are aware of this.@Nuclear Nezz I haven't seen any mention of this anywhere on the forums, so I'm assuming its a bug. Let me know if this is intended and I'm missing something. Thanks Sounds like the hook is broken. My apologies, I haven't had the time to run through everything as thoroughly as I'd like. I'll try to take a look at it today. Bot Tom Frag 1 Link to comment Share on other sites More sharing options...
Nuclear Nezz 1969 Share Posted April 11, 2020 On 4/5/2020 at 1:54 AM, Bot Tom Frag said: Howdy, Was running a bunch of accounts through their normal routine and came across the inventory.getSelectedItemIndex() hook misbehaving. All of my scripts have remained the same, yet after last Thursday's update (26th of March), using the hook would cause a nullPointer exception and would hang. This hook used to return -1 for no item selected, and a number (0-27) corresponding to the inventory position selected. Now it's returning -1 as expected when nothing is selected, but if something is selected it's returning a number in the millions. Haven't seen any mention of this anywhere so figured I'd post to make sure you guys are aware of this.@Nuclear Nezz I haven't seen any mention of this anywhere on the forums, so I'm assuming its a bug. Let me know if this is intended and I'm missing something. Thanks Sorry for the extraordinary time it took for this to be fixed, but it should be working correctly now. Bot Tom Frag 1 Link to comment Share on other sites More sharing options...
Bot Tom Frag 2 Author Share Posted April 11, 2020 1 hour ago, Nuclear Nezz said: Sorry for the extraordinary time it took for this to be fixed, but it should be working correctly now. No worries, had a temporary work-around while it was broken. Thanks for your support! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now