progamerz Posted January 1, 2016 Share Posted January 1, 2016 Hello can some1 help me fix this? if (mine != null){ if (mine.isVisible()){ if (getMap().canReach(mine)) { mine.interact("Mine"); sleep(2000); } }else { getLocalWalker().walk(mine); } } at the (getlocalwalker().walk(Mine)) it strikes out the walk can some1 help me fix it? Quote Link to comment Share on other sites More sharing options...
Acerd Posted January 1, 2016 Share Posted January 1, 2016 (edited) http://osbot.org/forum/topic/89606- Changelog: -Added Walking class -Deprecated LocalWalker class -Re-wrote WalkingEvent -Added WebWalker file handler to booter -Various Mirror Mode performance improvements Scripters: Hold off on using WebWalkEvent (deprecated), it will undergo pretty large changes. if (mine != null && mine.isVisible() && getMap().canReach(mine)){ mine.interact("Mine"); sleep(2000); } else { getWalking().walk(mine); } Edited January 1, 2016 by Assnerd 1 Quote Link to comment Share on other sites More sharing options...
progamerz Posted January 1, 2016 Author Share Posted January 1, 2016 http://osbot.org/forum/topic/89606- Changelog: -Added Walking class -Deprecated LocalWalker class -Re-wrote WalkingEvent -Added WebWalker file handler to booter -Various Mirror Mode performance improvements Scripters: Hold off on using WebWalkEvent (deprecated), it will undergo pretty large changes. if (mine != null && mine.isVisible() && getMap().canReach(mine)){ mine.interact("Mine"); sleep(2000); } else { getWalking().walk(mine); } TYVM worked Quote Link to comment Share on other sites More sharing options...
Joseph Posted January 1, 2016 Share Posted January 1, 2016 http://osbot.org/forum/topic/89606- Changelog: -Added Walking class -Deprecated LocalWalker class -Re-wrote WalkingEvent -Added WebWalker file handler to booter -Various Mirror Mode performance improvements Scripters: Hold off on using WebWalkEvent (deprecated), it will undergo pretty large changes. if (mine != null && mine.isVisible() && getMap().canReach(mine)){ mine.interact("Mine"); sleep(2000); } else { getWalking().walk(mine); } No need for checking an object visibility cause that's what interaction event does for us. And object.interact (action) come from interactionEvent Quote Link to comment Share on other sites More sharing options...