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. 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) } }
  2. Chris replied to Rudie's topic in Spam/Off Topic
    rudieeee
  3. 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
  4. Chris replied to Gellie's topic in Spam/Off Topic
    I love making free quality scripts for Osbot
  5. ill use my hand before i use a script m8
  6. Thanks for fast updates dad
  7. inb4 password = hunter2 backwards
  8. http://lmgtfy.com/?q=How+to+get+to+the+users+folder+on+mac
  9. public enum City { LUMBRIDGE(3222, 3218, 0), AL_KHARID(3293, 3174, 0), DRAYNOR(3093, 3244, 0), PORT_SARIM(3023, 3208, 0), KARAMJA(2948, 3147, 0), CRANDOR(2851, 3238, 0), RIMMINGTON(2957, 3214, 0), VARROCK(3210, 3424, 0), DIGSITE(3354, 3402, 0), FALADOR(2964, 3378, 0), GRAND_EXCHANGE(3161, 3486, 0), BARBARIAN_VILLAGE(3082, 3420, 0), EDGEVILLE(3093, 3493, 0), BURTHORPE(2926, 3559, 0), CATHERBY(2813, 3447, 0), CAMELOT(2757, 3477, 0), SEERS_VILLAGE(2708, 3492, 0), WEST_ARDOUGNE(2529, 3307, 0), EAST_ARDOUGNE(2662, 3305, 0), TREE_GNOME_STRONGHOLD(2461, 3443, 0), POLLNIVNEACH(3359, 2910, 0), SOPHANEM(3274, 2784, 0), CANIFIS(3506, 3496, 0), PORT_PHASMATYS(3687, 3502, 0), MORT_TON(3489, 3288, 0), TZHAAR(2480, 5175, -2), APE_ATOLL(2755, 2784, 0); private int x, y, z; City(int x, int y, int z) { this.x = x; this.y = y; this.z = z; } public Position construct() { return new Position(x, y, z); } } ?
  10. http://explv.github.io/#
  11. Chris replied to Krys's topic in Price Check
    50M
  12. Chris replied to Alek's topic in Releases
    Thanks for the quick updates. I will find some missing links when I get the spare time
  13. you are supposed to wait 1-2 weeks for a git acc. iirc. Making shitposts about it will just extend the wait time.
  14. beat bans by botting on 3 accounts!
  15. Chris replied to Muffins's topic in Spam/Off Topic
    hehehe banned = scam xd nice brah hehexd

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.