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.

Chris

Scripter II
  • Joined

  • Last visited

Everything posted by Chris

  1. Chris replied to BARO1's topic in Introductions
    hi
  2. Chris replied to Realist's topic in Spam/Off Topic
    gg the autist is banned
  3. @Asuna My friend added you
  4. Skype: osbotsinatra1 HAND DONE PLS need asap post here before adding me will keep ordering from you if you give a good price
  5. Chris replied to Maldesto's topic in Spam/Off Topic
    sending packets now cu
  6. Chris replied to Zach's topic in Releases
    nice work!
  7. @@Mio Art god
  8. the leechers just download m8. they dont read the thread so ur safe
  9. Skype is (also on my profile): osbotsinatra1 I am EST time so. im at work alrdy
  10. :bwah:
  11. Chris replied to Rxd's topic in Spam/Off Topic
    ono /s
  12. import org.osbot.rs07.api.filter.Filter; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "Gearz Flesh Crawler Killer", author = "Gearfighter", version = 1.0, info = "", logo = "") public class GearzFleshCrawlerKiller extends Script { @Override public void onStart() { log("Time to kill some Flesh Crawlers"); } @Override public void onExit() { } @Override public int onLoop() throws InterruptedException { //NPC fleshCrawler = npcs.closest("Flesh Crawler"); //try building a filter NPC fleshCrawler = npcs.closest(new Filter<NPC>() { @Override public boolean match(NPC npc) { return npc.exists() && npc.getName().equals("Flesh Crawler") && npc.isAttackable() && npc.getHealthPercent() > 0; } }); if (!getCombat().isFighting() || myPlayer().getInteracting() == null){ if (fleshCrawler != null) { if (fleshCrawler.isVisible()) { fleshCrawler.interact("Attack"); } } } return random(600, 900); } // The amount of time in milliseconds before the loop starts over @Override public void onPaint(Graphics2D g) { // This is where you will put your code for paint(s) } }
  13. Chris replied to Rudie's topic in Spam/Off Topic
    rudieeee
  14. import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "You", info = "My first script", name = "Tea thiever", version = 0, logo = "") public class main extends Script { @Override public void onStart() { log("Let's get started!"); } private enum State { FISH, COOK, DROP } private State getState() { if(inventory.isEmptyExcept(310, 17794, 309, 17795, 123, 17796) && !myPlayer().isAnimating()) return State.FISH; if(inventory.isFull()) return State.COOK; return State.DROP; } @Override public int onLoop() throws InterruptedException { switch(getState()) { case FISH: //Entity fishingSpot = objects.closest("Fishing Spot"); Wrong. Fishing spots are tied to NPCs //You meant to do: NPC fishingSpot = getNpcs().closest("Fishing Spot"); if (fishingSpot != null) { //ALWAYS NULL CHECK BEFORE INTERACTING..Keep this in mind. logic: if it exists -> interact fishingSpot.interact("Lure"); //sleep } break; case COOK: //Entity fire = objects.closest("fire"); This is okay to do since Object,NPC,etc extend Entity //but should do it like this. RS2Object fire = getObjects().closest("Fire"); RS2Widget cookMenu = widgets.get(307, 4); //I am going to throw some code in here for you. It will be your job to find it in the API docs and understand the methods I am implementing. if (cookMenu != null && cookMenu.isVisible()) { cookMenu.interact("Cook All"); //sleep } else { if (getInventory().isItemSelected()) { if (fire != null) { fire.interact("Use"); //sleep...look into ConditionalSleep } } else { //item is not selected..select something inventory.interact("Use", "Trout"); //sleep } } break; case DROP: inventory.dropAll(331, 332, 333, 334, 25976); break; } return 600; //just return a server tick 600ms } @Override public void onExit() { log("Thanks for running my first script!"); } @Override public void onPaint(Graphics2D g) { } } Try this
  15. Chris replied to Gellie's topic in Spam/Off Topic
    I love making free quality scripts for Osbot
  16. ill use my hand before i use a script m8

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.