inicki Posted August 20, 2015 Posted August 20, 2015 Daang, it looks like you really know your stuff, can't wait to see what comes out!
Dark Magician Posted August 20, 2015 Author Posted August 20, 2015 Yes finally got a good method working + script is nearly complete! public boolean interact(String name, String action, Entity e) { EntityDestination x = new EntityDestination(getBot(), e); mouse.move(x); if (!mouse.getEntitiesOnCursor().isEmpty()) { mouse.click(true); } else { mouse.moveOutsideScreen(); return false; } for (Option option : menu.getMenu()) { if (option != null) { if (option.name.contains(name)) { if (option.action.contains(action)) { return menu.selectAction(action); } } } } return false; }
Dark Magician Posted August 21, 2015 Author Posted August 21, 2015 V 1.0 is ready, just finalized walking back and forward from bank.