Jump to content

Precise

Lifetime Sponsor
  • Posts

    1854
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    100%

Everything posted by Precise

  1. this doesn't check if it is visible ^_^
  2. shoot me a pm if you have any other questions ^_^
  3. http://osbot.org/osbot2_api/org/osbot/rs07/api/Camera.html Have a look through the api glad I could help.
  4. you are throwing a NullPointerException. to resolve, change it to if(Door != null && Door.exists) { } to check if it is visible do Door.getPosition.isVisible()
  5. which line is 63? because that is where the error is occurring.
  6. i can agree with some but http://osbot.org/osbot2_api/org/osbot/rs07/api/DoorHandler.html
  7. good luck man! looks great
  8. i don't see why you are blaming scripters. We don't have control over this, it was the developers. Go and flame them if you are so cranky.
  9. skills.getStatic(Skill.ATTACK); skills.getDynamic(Skill.ATTACK); sorry dynamic changes and static stays the same
  10. sure, ill cancel it for now. pm me when you want it again
  11. post on script thread an ill give it to you ;)
  12. The first 5 people to follow the rules will get a 24 hour trial of Precise Air Orbs! Make 200k+/h with Low Requirements! Follow these rules are you're good to go: 100+ post count Post on this thread Post on script thread: http://osbot.org/forum/topic/51483-easy-money-precise-air-orbs-200kh-25k-xph-magic-easy-money Enjoy!
  13. this is the last of OSBot 1 scripts. you'll be seeing OSBot 2 scripts next
  14. You have to null check the child interface as well.
  15. thank you @Maxi! lets hope we get more speedy updates like this ;)
  16. it does? It checks whether it is at the same location as the closed door.
  17. Good work! Hope to see the equipment fix soon ;)
  18. okay, how about this? private boolean selectOpenMenuOption(String name) throws InterruptedException { sA.log("Selecting Menu Option"); if (sA.client.isMenuOpen()) { List<Option> options = sA.client.getMenu(); for (int i= 0; i < options.size(); i++) { if (options.get(i).action.equalsIgnoreCase(name)) { return sA.client.moveMouseTo(new RectangleDestination(sA.client.getMenuX(), sA.client.getMenuY()+19+(i*15), sA.client.getMenuWidth(), 15), false, true, false); } } } return false; } private boolean rightClick(RS2Object object) throws InterruptedException { if (object != null && sA.canReach(object)) { return sA.client.moveMouseTo(object.getMouseDestination(), false, true, true); } return false; } public boolean interactWithRightClick(RS2Object object) throws InterruptedException{ if(rightClick(object)) { return selectOpenMenuOption(object.getDefinition().getActions()[0]); } return false; }
×
×
  • Create New...