Jump to content

abc3

Members
  • Posts

    74
  • Joined

  • Last visited

  • Feedback

    0%

1 Follower

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

abc3's Achievements

Iron Poster

Iron Poster (3/10)

21

Reputation

  1. Do you think a player will perfectly click 3 rocks in order with no mistakes for any more than a few minutes? No, because a human doesn't have perfect memory, a human makes mistakes, and the game can be unpredictable. You'd be better off just checking for rocks that are facing you or facing next to you first. That's more how real players mine. Then if none are immediately close you mine the other rock.
  2. Doing it your way is way more bot like, clicking the same rocks in the same order forever. A player just clicks the closest rock when it spawns. More random is better. Also your script should be stateless. I.e. we don't keep track of what we have done, we simply read the game state and decide what to do each time.
  3. Don't invest a lot of money into it until you have enough practice and know how to make it back
  4. import org.osbot.rs07.utility.ConditionalSleep; import java.util.function.BooleanSupplier; public class Sleep extends ConditionalSleep { private final BooleanSupplier condition; public Sleep(final BooleanSupplier condition, final int timeout) { super(timeout); this.condition = condition; } public static boolean sleepUntil(final BooleanSupplier condition, final int timeout) { return new Sleep(condition, timeout).sleep(); } @Override public final boolean condition() { return condition.getAsBoolean(); } } Usage Sleep.sleepUntil(() -> !Sleep.sleepUntil(api.myPlayer()::isAnimating, random(4000, 8000)), random(20000, 40000)) Sleep until haven't animated for 4-8 seconds, returns boolean whether condition was met or timed out
  5. Look at the ConditionalSleep class, it uses a loop but allows interruption You basically want a nested condition, sleep until you haven't animated for x seconds (sleep until the nested sleep fails)
  6. Injection is the best option at the moment
  7. Switching tabs is still broken
  8. Any script using the broken hooks is broken... now take your meds
  9. The client is broke, whether you use a premium script or not...
×
×
  • Create New...