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.

tivo444

Members
  • Joined

  • Last visited

Everything posted by tivo444

  1. Wow. Thanks! I can't believe I missed that.
  2. Hello This is probably just a dumb error on my part, but for some reason, this NPC object isn't working correctly. Here's my code: package nodes; import core.Node; import org.osbot.rs07.api.filter.Filter; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; /** * Created by ___ on 3/28/2016. */ public class Finding extends Node { NPC npc; NPC previous_npc; public Finding(Script script) { super(script); } public String status() { return "Finding new NPC to chat with..."; } /** * This method checks to make sure the conditions are true, if they are, it will start * the Finding node. (Located in the execute() method. * @return if the conditions are met or not. * @throws InterruptedException */ public boolean validate() throws InterruptedException { if (!script.getDialogues().inDialogue()) return true; return false; } public boolean execute() throws InterruptedException { npc = npcs.closest(new Filter<NPC>() { @Override public boolean match(NPC npc){ return npc != previous_npc && npc.hasAction("Talk-to"); } }); if(npc != null){ npc.interact("Talk-to"); } return true; } } I get an error on this line: npc = npcs.closest(new Filter<NPC>() { With "npcs" saying: Cannot resolve symbol: 'npcs'. I'm not sure why it isn't working, it has worked for me all other times. Any help would be appreciated. Thanks.
  3. Yes, but that's the problem. I don't know how to check the NPC ID. Also, the API is down for me, so I can't look it up.
  4. Hello. Is there a way to get an NPC's ID while in dialogue with them? Or at least their name? Thanks
  5. Yes. There are atleast 10 different "Guards"
  6. Ooohhhh you're right! Thank you let me try that!
  7. It's now printing out: org.osbot.rs07.api.ui.RS2InterfaceChild@19a61368.txt
  8. Hello. I'm trying to make it print the interface name In this case, the title of a quest. I want it to print out to a text, QUESTNAME.txt (Black Knight's Fortress.txt, Dragon Slayer.txt) etc; It only prints out as ".txt" However, the code doesn't seem to work. Even though it should. the parent and child ID's are all correct, the interface ID is correct. Why isn't this working? Thanks.
  9. Hello. I noticed that Jagex randomized the NPC ID's. No NPC's ID is what they should be. Is there any way to get the real ID of the NPC? Thanks
  10. I'm not quite sure how I would execute that. Where is it in the API?
  11. Is there a way that you can read text in the chatbox (When talking to an NPC). Like, if NPC says certain thing then, do this. Thanks.
  12. Sorry, I didn't know.
  13. I need a script made. I need it to, when I click Talk on an NPC, cycle through all the options, everything that the NPC could say, and print it out in a text file. I will pay if anyone is interested.
  14. I'm looking through it now, to make sure it's clean.

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.