Jump to content

Swizzbeat

Members
  • Posts

    7986
  • Joined

  • Last visited

  • Days Won

    58
  • Feedback

    100%

Community Answers

  1. Swizzbeat's post in OSBOT 2 was marked as the answer   
    It's an NPC.
  2. Swizzbeat's post in interacting with a rectangle? was marked as the answer   
    public boolean selectMenuOption(String option) {
    if (sI.menu.isOpen()) {
    List<Option> options = sI.menu.getMenu();
    for (int i = 0; i < options.size(); i++) {
    if (options.get(i).action.equalsIgnoreCase(option)) {
    return sI.mouse.click(new RectangleDestination(sI.bot, sI.menu.getX(), sI.menu.getY() + 20 + (i * 15), sI.menu.getWidth(), 15));
    }
    }
    }
    return false;
    }

  3. Swizzbeat's post in get farthest (or minimum distance) visible main screen tile in a given direction? was marked as the answer   
    I'm pretty sure the game map is 16 by 16, so the farthest position to the right would be:
    new Position(myPosition.getX() + 16, myPosition().getY(), myPosition().getZ()); Farthest position below:
    new Position(myPosition().getX(), myPosition().getY() - 16, myPosition().getZ()); etc...
  4. Swizzbeat's post in area-based vs path-based walking? was marked as the answer   
    Objects get loaded.
  5. Swizzbeat's post in common GUI was marked as the answer   
    Swing is the library, but JFrame is what you're going to want to look at.
  6. Swizzbeat's post in Displaying a png in the client was marked as the answer   
    Image image = ImageIO.read(new URL("www.pornhub.com/banner"));

×
×
  • Create New...