March 27, 20178 yr Just now, volcom3d said: How? I forgot how but i did it a few months ago when I made 3 tick cooking
March 27, 20178 yr Author 1 minute ago, Chris said: here https://osbot.org/api/ Yes i know I checked!! But it isnt clear... Is it the move(int x, int y) function?
March 27, 20178 yr On 6/7/2016 at 11:49 AM, Explv said: No, this feature was removed. If you need to move the mouse instantly then you can use: final void moveMouseInstantly(final MouseDestination mouseDestination) { Rectangle boundingBox = mouseDestination.getBoundingBox(); moveMouseInstantly(random((int) boundingBox.getMinX(), (int) boundingBox.getMaxX()), random((int) boundingBox.getMinY(), (int) boundingBox.getMaxY())); } final void moveMouseInstantly(final int x, final int y) { getBot().getMouseEventHandler().generateBotMouseEvent(MouseEvent.MOUSE_MOVED, System.currentTimeMillis(), 0, x, y, 0, false, MouseEvent.NOBUTTON, true); } And I'm sure if you spent some time making your own MouseEvent then you could have it at whatever speed you want. However, the setMouseSpeed feature was removed for a reason.
March 27, 20178 yr 4 minutes ago, volcom3d said: Thanks! Just to add though, that method I wrote uses the random method to choose a point to move the mouse to. That isn't very human like, although nor is moving the mouse instantly. Edited March 27, 20178 yr by Explv
March 27, 20178 yr Author Allright I'm just gonna stick with Advertising other bots isn't allowed.. Thanks guys
Create an account or sign in to comment