asdasdasd22 0 Share Posted August 10, 2020 I'm a scripter and just found out that after migrating my dreambot 2 script to dreambot3 the canvas.dispatchEvent wont work if keyboard input is disabled. In dreambot2 this worked eventhough the keyboard input was disabled. example snippet: canvas.dispatchEvent(new KeyEvent(canvas, KeyEvent.KEY_PRESSED, System.currentTimeMillis(), 0, KeyEvent.VK_SHIFT, KeyEvent.CHAR_UNDEFINED)); Version of Dreabot 3.0.0. Link to comment Share on other sites More sharing options...
asdasdasd22 0 Author Share Posted August 10, 2020 Oh and the beta build is 3 Link to comment Share on other sites More sharing options...
Pandemic 2426 Share Posted August 10, 2020 How are you getting the canvas? Link to comment Share on other sites More sharing options...
asdasdasd22 0 Author Share Posted August 11, 2020 Instance instance = Client.getInstance(); Canvas canvas = instance.getCanvas(); 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