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 2709 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
Archived
This topic is now archived and is closed to further replies.