![](https://osbot.org/forum/uploads/set_resources_22/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://osbot.org/forum/uploads/set_resources_22/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
nickeb0i
-
Posts
38 -
Joined
-
Last visited
-
Feedback
0%
Posts posted by nickeb0i
-
-
I'm interested.
-
Did you add it in C:\Users\Username\OSBot\scripts?
-
Very nice! Grats on release.
Thanks mate!
Nice man, congratulations on the release!
Thank you!
-
Code looks clean. Gz on release! (:
Thanks bro, appreciate it!
-
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
PM me if you find any bugs or if something isn't working.
-
do not use .getRandomPosition() because it might return a tile that is unreachable.
With new dev build you can and should use http://osbot.org/api/org/osbot/rs07/api/Walking.html#webWalk-org.osbot.rs07.api.map.Area...-
Alright, thanks MGI.
-
I'm using
getWalking().webWalk(WCAREA1.getRandomPosition());
-
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)
-
I don't want one but thank you for doing things like this
-
See updated post.
Thank you so much
Now it works, just gonna figure out how to do a walking path and a GUI.
-
See my updated post, there are more errors
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?
-
Fishing spot is an NPC.
Also use the built in bank method:
if(!getBank().isOpen()){ getBank().open(); new ConditionalSleep(5000) { @Override public boolean condition() throws InterruptedException { return getBank().isOpen(); } }.sleep(); }
Thank you very much, been looking for this
-
The fishing spot is a NPC, and not an object.
It doesn't even get to the point where it should go to the fishing spot and fish?
-
Where abouts are you fishing? You haven't created a path way to get to the bank.
Entity bank = objects.closest("Bank booth");
That will only pick up a bank thats within range of your camera angle
Are you sure? I think you mean if it's in a range within the minimap?
-
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); }
BoltMaker
in Resource Crafting
Posted
I gotta check it out![:doge:](https://osbot.org/forum/uploads/emoticons/new_doge.png)