Jump to content

Chris

Scripter II
  • Posts

    8358
  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    100%

Everything posted by Chris

  1. getWidgets().getWidgetContainingText("Click on the flashing backpack icon to the right hand side") != null though this is how I use it for tutorial island @Override public void run() throws InterruptedException { RS2Widget w = getWidgets().get(548, 54); WidgetDestination m = new WidgetDestination(getBot(),w); ClickMouseEvent g = new ClickMouseEvent(m); if(w != null && w.isVisible()) { execute(g); //w.interact("Inventory"); sleep(500 + random (100, 600)); } } or do fix it your way if (!getTabs().getOpen().equals(Tab.INVENTORY)) getTabs().open(Tab.INVENTORY);
  2. that comes with the newer engine package $24.99
  3. Topic: http://osbot.org/forum/topic/85420-%E2%98%9E-alpha-trinity-aio-giants-alpha-%E2%98%9E-multiple-locations-safe-spotting-potion-support-multiple-giants/ POLL: http://strawpoll.me/6144979 Have a different price in mind? Post below friends! When you vote think about the the price when I add more locations. The script is not complete yet
  4. Yeah we can do this later. I also have school in an hour.
  5. Yes or just in the Chop case between each tree
  6. Looks okay to me. You said it works for 2 trees? Can you throw in some log statements inside the case and run it for me?
  7. Have you tried adding logs log("Can I reach this statement?"); and also what does your getState look like? You should also look into the InteractionEvent API. it handles visibility checks etc. Real easy to use http://osbot.org/api/org/osbot/rs07/event/InteractionEvent.html EXAMPLE SNIPPET: public boolean interact(final Entity entity, final String option) { InteractionEvent IE = new InteractionEvent(entity, option); IE.setOperateCamera(false); IE.setWalkTo(false); IE.setHover(true); if(IE != null) { execute(IE); //other checks } } // if (interact(tree,"Chop")) ///
  8. What platform and game type?
  9. Thanks I can use this in Trinity Giants . You read my mind keepo OT: Nice work babe
×
×
  • Create New...