Jump to content

faovbot

Members
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

faovbot's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. Any idea on teleporting outside the house guys? Been reading through the API and I don't see any way around selecting a right click option with the spell cast function.
  2. Sorry this is my first script I'm trying simple things for now but I definitely will implement checks for each step. I CANNOT just change my house to teleport outside because that makes the left click option Outside house and the bot just right clicks and goes inside. Seems kinda counterproductive. Same thing for the GE but I'm not too worried about the bank location, there are other cities. I don't have a ring of wealth on this acc (low level ironman). Can anyone show me example code of right clicking on the spell or clicking on a house portal to exit the house? Thank you.
  3. Hi the goal is a very simple script. Start at GE -> teleport OUTSIDE of house with empty buckets in inventory. Fill buckets with sand and teleport back to the GE to deposit and repeat. However, there are no teleport to grand exchange or outside house options so I end up teleporting to varrock square or inside my house which is NOT what I want? Any ideas on how to solve this? My script so far: public final class FaovSand extends Script { @Override public final void onStart() { } @Override public final int onLoop() throws InterruptedException { getTabs().open(Tab.MAGIC); getBank().open(); getBank().withdrawAll("Bucket"); getBank().close(); if (getInventory().contains("Bucket")) { magic.castSpell(Spells.NormalSpells.TELEPORT_TO_HOUSE); } RS2Object sandpit = getObjects().closest("Sandpit"); getTabs().open(Tab.INVENTORY); getInventory().getItem("Bucket").interact("Use"); if (sandpit != null && sandpit.interact("Use")) { MethodProvider.sleep(5000); } long buckets = getInventory().getAmount("Bucket of sand"); log(buckets); if (getInventory().contains("Bucket of sand") && getInventory().getAmount("Bucket of sand") >= 26) { getTabs().open(Tab.MAGIC); magic.castSpell(Spells.NormalSpells.VARROCK_TELEPORT); } return 10000; } }
×
×
  • Create New...