Jump to content

nickeb0i

Members
  • Posts

    38
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by nickeb0i

  1. Did you add it in C:\Users\Username\OSBot\scripts?
  2. Thanks bro, appreciate it!
  3. BoltMaker Uses feathers with any unf bolts to make bolts. Supports Bronze bolts (unf), Iron bolts (unf), Steel bolts (unf), Silver bolts (unf), Mithril bolts (unf), Adamant bolts (unf), Runite bolts (unf), Unfinished broad bolts Download PM me if you find any bugs or if something isn't working.
  4. nickeb0i

    webWalking

    Alright, thanks MGI.
  5. nickeb0i

    webWalking

    I'm using getWalking().webWalk(WCAREA1.getRandomPosition());
  6. nickeb0i

    webWalking

    I get this error [iNFO][bot #1][01/20 07:40:25 em]: WebWalkingEvent; Could not execute! next = Walk => [x=3013, y=3332, z=0]; ready = { [] } when trying to walk this area Area(3022, 3314, 3018, 3318)
  7. I don't want one but thank you for doing things like this
  8. Thank you so much Now it works, just gonna figure out how to do a walking path and a GUI.
  9. Thank you, how do I fix this case FISH: Entity spot = objects.closest("Fishing spot"); if (spot != null) { inventory.interact("Use", "Small Fishing Net"); if (inventory.isItemSelected() == true) spot.interact(); } so it recognizes fishing spot as a NPC?
  10. Thank you very much, been looking for this
  11. It doesn't even get to the point where it should go to the fishing spot and fish?
  12. Are you sure? I think you mean if it's in a range within the minimap?
  13. Hello I'm new around here and I'm trying to learn how to script. I want to give something to the community but I have to learn to code first ;) My problems: I have to have a small fishing net in my inventory or it wont open bank and get one If I have a small fishing net it opens bank then closes then opens and continues like that private enum State { FISH, BANK, WAIT }; private State getState() { Entity stall = objects.closest("Fishing spot"); if (inventory.isEmpty() && !inventory.contains("Small fishing net")) return State.BANK; if (stall != null && inventory.contains("Small fishing net")) return State.FISH; return State.WAIT; } @Override public int onLoop() throws InterruptedException { switch (getState()) { case FISH: Entity spot = objects.closest("Fishing spot"); if (spot != null) { inventory.interact("Use", "Small Fishing Net"); if (inventory.isItemSelected() == true) spot.interact(); } break; case BANK: Entity bank = objects.closest("Bank booth"); if (!inventory.contains("Small fishing net")) getBank().withdraw("Small fishing net", 1); if (bank != null) { bank.interact("Bank"); sleep(random(500, 700)); getBank().depositAllExcept("Small fishing net"); } break; case WAIT: sleep(random(500, 700)); break; } return random(200, 300); }
×
×
  • Create New...