I seem to be getting a bug with the ring of dueling. According to what you say the code below "should" work.
gearItems.add(new RequiredItem("Ring of dueling(1)", 1, 7));
But it doesn't detect any other charges besides whatever the initial value is.
Hey everyone! I did some light researching to reveal that there wasn't a way to be able to type in game without enabling all input. So to help myself get more familiar with java I wrote this little snippet to be able to type while all input is disabled!
I am still currently working on disabling and enabling the JFrame for when the client is minimized or is not the focused window. I currently have the GetState() working but the onLoop does not work correctly. I am still tinkering with things as I am learning.
I hope this is helpful to somebody!
EDIT: fixed an error I didn't realize I didn't fix. Also now detects when the JFrame and client is not the main focus. It will turn off the JFrame while the client is in the background.
InputOverride override = new InputOverride(ScriptInstance, alpha);
in your onLoop add InputOverrideInstance.onLoop();