Jump to content

DidYouSeeMyShoes

Members
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

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

DidYouSeeMyShoes's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. I just started programming about 10 days ago (3~ days into OsBot), so I don't understand a lot of the stuff in the API (how to use conditional sleeps, or classes in general). Is there a way I can add a sleep condition to this to sleep until storeSlot[j] != null, the condition for continual click is true, or literally anything to pause it that isn't sleep(xxxx)? if (iLoop && jLoop) { InventorySlotDestination emptySlot = new InventorySlotDestination(getBot(), storeSlot[i]); InventorySlotDestination fullSlot = new InventorySlotDestination(getBot(), storeSlot[j]); getMouse().continualClick(fullSlot, new Condition() { @Override public boolean evaluate() { getMouse().move(emptySlot, true); return getInventory().getMouseDestination(i).getBoundingBox().contains(getMouse().getPosition()); } }); }
×
×
  • Create New...