mattertatter Posted August 22, 2015 Share Posted August 22, 2015 So I'm writing my first script and so far everything works great except when it is supposed to walk to the bank it doesn't. I looked back through my code and it says that "the method client.moveMouse(new MiniMapTileDestination, boolean) is undefined for the type Client. private boolean walkTile(Position p) throws InterruptedException { client.moveMouse(new MiniMapTileDestination(bot, p), false); sleep(random(150, 250)); client.pressMouse(); any help would be great, thanks! Quote Link to comment Share on other sites More sharing options...
Bobrocket Posted August 22, 2015 Share Posted August 22, 2015 getMouse().move(MouseDestination); getMouse().click(false); http://osbot.org/api/ - Look at the Mouse class Quote Link to comment Share on other sites More sharing options...
omni4life Posted August 22, 2015 Share Posted August 22, 2015 So I'm writing my first script and so far everything works great except when it is supposed to walk to the bank it doesn't. I looked back through my code and it says that "the method client.moveMouse(new MiniMapTileDestination, boolean) is undefined for the type Client. private boolean walkTile(Position p) throws InterruptedException { client.moveMouse(new MiniMapTileDestination(bot, p), false); sleep(random(150, 250)); client.pressMouse(); any help would be great, thanks! My advise would be to walk using the method outlined within this tutorial . To do it, simply add Divine Utility (found under the 'Other' section of the SDN) to your list of scripts and collect the full path you wish you walk. Once you have the path, all you need to is add it to the top of your script and use: localWalker.walkPath(path); Best of luck with it! Feel free to message me or reply if you need a hand getting it working. I also believe that earlier this week I saw a post saying that Web Walking should be implemented within about a week so all of these methods will likely become obsolete at that time. Quote Link to comment Share on other sites More sharing options...