Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sebastian

Members
  • Joined

  • Last visited

Everything posted by Sebastian

  1. Alright, let me know if you encounter any issues and need help. I'm almost 24/7 online on this forum. But for now, i'm going to sleep.
  2. Have found something. Haven't digged into it tho. Maybe this is something you like?
  3. You can search for a Content Management System (CMS). And design your way around it. If you need help with CSS. Feel free to pm me. EDIT: For a CMS to work you need an apache server. e.g. Xampp (for windows) or Lampp for linux / osx.
  4. Trinity fixed the issue. God bless haha. But the problem now is. I'm cutting yew logs at varrock castle. There are 3 tree's. 2 standing next to each other, and one is a bit away. We tried to let the character walk to another yew tree, if the tree's i'm standing at are null. This is the code we have so far. But everything we tried didn't work. case CHOP: Entity treeToChop = getObjects().closest(tree); if (treeToChop != null){ if (treeToChop.getPosition().distance(myPosition()) <= 5){ //checks distance to your player if (treeToChop.isVisible()){ if (treeToChop.interact("Chop down")){ new ConditionalSleep(2500) { @Override public boolean condition() throws InterruptedException { return myPlayer().isAnimating(); } }.sleep(); } } else { getCamera().toEntity(treeToChop); } } else { log("Walking"); getLocalWalker().walk(treeToChop); //walks if farther than 6 tiles } } else { log("Tree is null"); }
  5. Hey! Thanks for the reply. I will try this after dinner. Thing is, i have a GUI. Works on willows and oaks. But the yew he cant find. Even tho i'm standing next to it. Maybe insert the id of the yew instead of the name? And for the lower case vars. Thanks, really apriciate it!
  6. Alright, thanks. Will contact you later this day.
  7. Will do. Problem is that i'm free from school in 5 mins. Can i come back later this day?
  8. Have set a log for every tree type. Willow and Oak logs perfectly. But the Yew log doesn't show up.. so i'm guessing it doesn't read that peace of code.. [INFO][Bot #1][11/30 02:09:51 PM]: Started script : SBWoodcutter [INFO][Bot #1][11/30 02:09:52 PM]: Chopping Oak tree [INFO][Bot #1][11/30 02:09:56 PM]: Script SBWoodcutter has paused! [INFO][Bot #1][11/30 02:09:58 PM]: Script SBWoodcutter has resumed! [INFO][Bot #1][11/30 02:09:58 PM]: Chopping Oak tree case CHOP: Entity Yew = objects.closest("Yew"); Entity Willow = objects.closest("Willow"); Entity Oak = objects.closest("Oak"); if (Willow != null) { if (Willow.isVisible()) { Willow.interact("Chop down"); log("Chopping Willow tree"); } else { sleep(random(500, 700)); } } else if (Oak != null) { if (Oak.isVisible()) { Oak.interact("Chop down"); log("Chopping Oak tree"); } else { sleep(random(500, 700)); } } else if (Yew != null) { if (Yew.isVisible()) { Yew.interact("Chop down"); log("Chopping Yew tree"); } else { sleep(random(500, 700)); } } break;
  9. Will do. Just put some logs in every case? Like: "Going to bank", "Chopping willows" bla bla?
  10. I will look into interactionEvent. But i find it very difficult to understand the api somehow.. private State getState() { Entity treeE = objects.closest(tree); if (inventory.isFull()) return State.BANK; if (treeE != null && treeE.isVisible()) if (!myPlayer().isAnimating()) return State.CHOP; return State.WAIT; } private enum State { CHOP, WAIT, BANK, // DROP };
  11. Hi Osbot scripters! I have been f*cking around with this all morning. I have no idea what i'm doing wrong. removing the } else { wont work either.. Oaks and Willows are working. Yews are not.. EDIT: Tried Else if statements. Didn't work either. case CHOP: Entity Yew = objects.closest("Yew"); Entity Willow = objects.closest("Willow"); Entity Oak = objects.closest("Oak"); if (Willow != null) { if (Willow.isVisible()) { Willow.interact("Chop down"); } else { sleep(random(500, 700)); } } else if (Oak != null) { if (Oak.isVisible()) { Oak.interact("Chop down"); } else { sleep(random(500, 700)); } } else if (Yew != null) { if (Yew.isVisible()) { Yew.interact("Chop down"); } else { sleep(random(500, 700)); } } case CHOP: Entity Willow = objects.closest("Willow"); if (Willow != null) { if (Willow.isVisible()) { Willow.interact("Chop down"); } else { sleep(random(500, 700)); } } else { Entity Oak = objects.closest("Oak"); if (Oak != null) { if (Oak.isVisible()) { Oak.interact("Chop down"); } else { sleep(random(500, 700)); } } else { Entity Yew = objects.closest("Yew"); if (Yew != null) { if (Yew.isVisible()) { Yew.interact("Chop down"); } else { sleep(random(500, 700)); } } } }
  12. Sebastian replied to Give me nats's topic in Archive
    Same problem here.
  13. Very awesome! Gratz on release bro!
  14. Thanks Vilius
  15. Welcome! Enjoy your stay!
  16. Very nice! Perfect for 'People are awesome' video's in my opinion! EDIT: Yep, tried watching the video above with your music. Syncs almost perfect lol.
  17. Welcome to the forums. Enjoy your stay!
  18. Nope. didn't too.. and i'm from 1993..
  19. Let us know if you fixed anything!
  20. I have a macbook too. Since the newest update of OSX my laptop had the same problem as yours. I think that you can only fix this by setting up a new osx on your macbook. I did that and i have no problems anymore whatsoever. Good luck tho!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.