Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java 8 installed
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox


  • Content Count

  • Joined

  • Last visited

Everything posted by Leanche

  1. With the mouse clicks, you can either increase Sleep Time, or try using sleepUntil(() -> getMouse().click(new Rectangle(228, 195, 287, 196)), 5000);
  2. Hey, To check if player exists in yours area, you can iterate over every player in the area, just replace "name" with the name of a player you try to find. getPlayers().all().stream().anyMatch(player -> player != null && player.getName().equalsIgnoreCase(name))
  3. Each of these return boolean value, try using these inside an AbstractScript.sleepUntill(); Also you do not need to use getGrandExchange().searchItem(), before using getGrandExchange().addBuyItem(itemName), because addBuyItem will do that for you. So your code could look like this: Main.sleepUntil(() -> getGrandExchange().open(), 5000); Main.sleepUntil(() -> getGrandExchange().openBuyScreen(1), 5000); Main.sleepUntil(() -> getGrandExchange().addBuyItem("Raw shrimps"), 5000);
  • Create New...