roguehippo Posted October 19, 2016 Share Posted October 19, 2016 i was just wondering what the code would be for skipping a dialogue with the space bar instead of having to click on "click here to continue" Quote Link to comment Share on other sites More sharing options...
Muffins Posted October 19, 2016 Share Posted October 19, 2016 I believe it's coded to do it automatically? Could be wrong tho 1 Quote Link to comment Share on other sites More sharing options...
Aiban Posted October 19, 2016 Share Posted October 19, 2016 getDialogues().clickContinue(); Quote Link to comment Share on other sites More sharing options...
roguehippo Posted October 19, 2016 Author Share Posted October 19, 2016 but would getDialogues().clickContinue(); use the mouse curser to do this, i already have this implemented and i wanted to make it faster by using space bar Quote Link to comment Share on other sites More sharing options...
Chris Posted October 19, 2016 Share Posted October 19, 2016 use the keyboard class Quote Link to comment Share on other sites More sharing options...
Keven Posted October 19, 2016 Share Posted October 19, 2016 but would getDialogues().clickContinue(); use the mouse curser to do this, i already have this implemented and i wanted to make it faster by using space bar I am pretty sure it uses space to do it. 2 Quote Link to comment Share on other sites More sharing options...
progamerz Posted October 19, 2016 Share Posted October 19, 2016 but would getDialogues().clickContinue(); use the mouse curser to do this, i already have this implemented and i wanted to make it faster by using space bar Randomly uses spacebar or mouse clicks. Quote Link to comment Share on other sites More sharing options...
Explv Posted October 19, 2016 Share Posted October 19, 2016 (edited) i was just wondering what the code would be for skipping a dialogue with the space bar instead of having to click on "click here to continue" // Using Keyboard class if (getDialogues().isPendingContinuation()) { getKeyboard().typeKey((char) VK_SPACE); } // Using ClientKeyEventHandler class (presses the key instantly) if (getDialogues().isPendingContinuation()) { getBot().getKeyEventHandler().generateBotKeyEvent(KEY_TYPED, System.currentTimeMillis(), 0, VK_UNDEFINED, (char) VK_SPACE); } Edited October 19, 2016 by Explv 2 Quote Link to comment Share on other sites More sharing options...