Jump 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.

JPHamlett

Members
  • Joined

  • Last visited

Everything posted by JPHamlett

  1. I have 100+ accounts all in lumbridge that have completed Tutorial Island. All have unregistered emails and have been rested. What do they go for?
  2. I am trying to login to the bot via CLI. When I run the command java -jar "osbot 2.6.8.jar" -login JPHamlett:pass I get the error Exception in thread "main" java.lang.IllegalArgumentException Any idea why? Solved. I was using Java 11
  3. JPHamlett posted a topic in Others
    JPHamlett Quester Currently supported quests Cook's Assistant Sheep Shearer Romeo & Juliet I will add more as time goes on Current bugs: Unknown Change Log: Initial Commit
  4. How would I go about detecting if the player is in a cutscene? I am working on a Romeo & Juliet solver
  5. Even though I can see it on the screen? I also tried the ID from the client and got the same result Edit: Interesting If I do api.log(api.getNpcs().filter(new IdFilter<>(2691)).get(0).getName()); I get this output [INFO][Bot #1][08/10 09:38:17 AM]: [INFO][Bot #1][08/10 09:38:18 AM]: [INFO][Bot #1][08/10 09:38:18 AM]: [INFO][Bot #1][08/10 09:38:20 AM]: [INFO][Bot #1][08/10 09:38:20 AM]: [INFO][Bot #1][08/10 09:38:21 AM]: [INFO][Bot #1][08/10 09:38:21 AM]: [INFO][Bot #1][08/10 09:38:23 AM]: [INFO][Bot #1][08/10 09:38:23 AM]: [INFO][Bot #1][08/10 09:38:24 AM]: [INFO][Bot #1][08/10 09:38:24 AM]: [INFO][Bot #1][08/10 09:38:26 AM]: [INFO][Bot #1][08/10 09:38:26 AM]: [INFO][Bot #1][08/10 09:38:27 AM]: [INFO][Bot #1][08/10 09:38:27 AM]: [INFO][Bot #1][08/10 09:38:29 AM]: [INFO][Bot #1][08/10 09:38:29 AM]: [INFO][Bot #1][08/10 09:38:30 AM]: [INFO][Bot #1][08/10 09:38:30 AM]: [INFO][Bot #1][08/10 09:38:32 AM]: [INFO][Bot #1][08/10 09:38:32 AM]: [INFO][Bot #1][08/10 09:38:33 AM]: [INFO][Bot #1][08/10 09:38:33 AM]: [INFO][Bot #1][08/10 09:38:35 AM]: [INFO][Bot #1][08/10 09:38:35 AM]: [INFO][Bot #1][08/10 09:38:36 AM]: [INFO][Bot #1][08/10 09:38:36 AM]: [INFO][Bot #1][08/10 09:38:38 AM]: [INFO][Bot #1][08/10 09:38:38 AM]: [INFO][Bot #1][08/10 09:38:39 AM]: [INFO][Bot #1][08/10 09:38:39 AM]:
  6. I have the following code package Tasks; import org.osbot.rs07.api.Quests; import org.osbot.rs07.api.map.Area; import org.osbot.rs07.script.MethodProvider; public class GetMilk extends Task { Area area = new Area(x1, y1, x2, y2); public GetMilk(MethodProvider api) { super(api); } @Override public boolean activate() { return !api.getQuests().isComplete(Quests.Quest.COOKS_ASSISTANT) && api.getInventory().getItem("Bucket") != null; } @Override public void execute() { if (!area.contains(api.myPosition())) { api.getWalking().webWalk(area.getRandomPosition()); return; } api.getNpcs().closest("Dairy cow").interact(); } } The walking works, however my script starts spamming NPE when It gets to the Dairy Cow part. Any ideas why this is happening?
  7. I am creating a tutorial island bot The source code is here: https://github.com/JPHamlett1993/OSBot/tree/master/src When I start the script I get the error message [INFO][08/03 05:13:51 PM]: Started bot #1 Failed to start script [Tutorial Island]
  8. Solved it. Can't figure out how to close this post
  9. I have my setup like this crp11070m:Scripts me$ pwd /Users/me/OSBot/Scripts crp11070m:Scripts me$ ls TutorialIsland.class TutorialIsland.jar However when I restart OSBot my local script is not there. Here is my script package TutorialIsland; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "Tutorial Island", author = "JPHamlett", version = 1.0, info = "Will do tutorial island for you", logo = "") public class TutorialIsland extends Script { private final int RUNESCAPE_GUIDE_ID = 3308; public void interactWithRunescapeGuide() { getNpcs().closest(RUNESCAPE_GUIDE_ID).interact("Talk-to"); while (getDialogues().inDialogue()) { getDialogues().clickContinue(); } } @Override public int onLoop() throws InterruptedException { if (getNpcs().closest(RUNESCAPE_GUIDE_ID).isOnScreen()) { interactWithRunescapeGuide(); } sleep(1000000); return 0; } } How do I add this script to my available scripts?

Account

Navigation

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.