thatguycalledrob Posted September 16, 2017 Posted September 16, 2017 I'm trying to use (one of) the following methods: Quote mouse.moveSlightly(); mouse.moveRandomly(); in my script, but IntelliJ is1 giving me "cannot resolve method" error on compiling. The API thinks that it exists, and other methods in the API are working no problem, however, when I decompile the Mouse.Class module, I can't find either method. I am still learning (only a few days in!), so am I making some horrible error, or has this method been removed/changed? -Rob
HeyImJamie Posted September 16, 2017 Posted September 16, 2017 Most likely deprecated, don't really need to use them anyway and if you're so desperate you can make your own pretty easily.
Fruity Posted September 16, 2017 Posted September 16, 2017 (edited) was removed iirc (few months ago) Edited September 16, 2017 by Fruity
Juggles Posted September 16, 2017 Posted September 16, 2017 deprecated. Use simple java to make your own if you'd like mouse.moveRandom(random(x,x),random(y,y)); mouse.moveSlightly(random(x,x),random(y,y));
Ayylmao420 Posted September 16, 2017 Posted September 16, 2017 getMouse().move(new RectangleDestination(getBot(), GraphicUtilities.CANVAS_CLIP));
Alek Posted September 16, 2017 Posted September 16, 2017 Compile against the latest version of OSBot.