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.

Dark Magician

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by Dark Magician

  1. Hit me up, I have Skype, and have done lessons here before.
  2. It's because you need to have sleep functions / return random values. Also a big help is to run the console, and find if there are any errors while running the script. This can cause the client to freeze like you have said.
  3. Hit me up, I've already given Skype lessons before on this site.
  4. Good to see you back, I am also from 2011 Script Writer.
  5. Just updated, much better break manager now.
  6. Wow very interesting gossip going on around here.
  7. Just message an admin, to have the topic moved.
  8. Good read, my interact method in my scripts randomly finds a spot within the model's bounding box, thus randomly moving the mouse either 0 or 15 in either direction randomly choosing a spot.
  9. Made sure the script won't be lured + it can now dtermine safe spots from any Sulfer vent in the cavern! I thought well HG Magician = 20-60 range How about i fill that gap of 60-99.
  10. TzHaar Magician Has the ability to maneuver around Sulfter vents for pures. Has all the functionality of HG Magician. ........................................................................................................................................................................................................................... ................................................................................................................ ...................................................................................................... ............................................................................................ .................................................................................. ........................................................................ .............................................................. .................................................... .......................................... ................................ ...................... ............ .. .
  11. Good job on the release, but the download link is down.
  12. Thanks G, also your rap skills ain't bad.
  13. Thank you very much! I've actually never used lambda exporession before, so will try it out, seems much better! Again will defiantly look into all the things you posted.
  14. Thanks a lot! Awesome work.
  15. Sorry I may have overreacted. I need to learn how to take constructive criticism. Anyways been working on a new paint.
  16. I see. I guess when the world explodes it may matter.
  17. I would make it, If someone donated an account for the cause.
  18. Doesn't really matter. Gets the job done, no complaints here.
  19. NPC Filter + check if another player is interacting with it. public boolean isPlayerInteracting(NPC npc) { for (Player p : players.getAll()) { if (p.getInteracting() != null && p.getInteracting() == npc || p.getInteracting() != null && p.getInteracting().getPosition() == npc.getPosition() || p.getInteracting() != null && p.getInteracting().isInteracting(npc)) { return true; } } return false; } public boolean walkTile(Position p) throws InterruptedException { if(this.myPosition().distance(p) > 13) { Position fail = new Position((p.getX() + this.myPosition().getX()) / 2 + random(-3, 3), (p.getY() + this.myPosition().getY()) / 2 + random(-3, 3), this.myPosition().getZ()); this.walkTile(fail); } this.mouse.click(new MiniMapTileDestination(this.bot, p), false); int var3 = 0; while(this.myPosition().distance(p) > 2 && var3 < 10) { sleep(500L); if(!this.myPlayer().isMoving()) { ++var3; } } return var3 != 10; } public boolean isNpcValid(NPC npc) { if (npc != null && map.canReach(npc)) { int id = npc.getId(); if (id != -1) { for (NPC i : getNpcs().get(npc.getX(), npc.getY())) { if (i.getId() == id) return true; } } } return false; } public void interact(NPC n, String action) throws InterruptedException { if (map.isWithinRange(n, 7)) { status = "Interacting with " + n.getName(); double x = n.model.getBoundingBox(n.getGridX(), n.getGridY(), n.getZ()).getCenterX(); double y = n.model.getBoundingBox(n.getGridX(), n.getGridY(), n.getZ()).getCenterY(); mouse.move((int) x, (int) y); if (mouse.getEntitiesOnCursor() != null && mouse.getEntitiesOnCursor().contains(n) && mouse.click(true)) { if (menu.isOpen() && menu.selectAction(action)) { sleep(random(900, 1200)); } else { mouse.moveRandomly(); } } else { camera.toEntity(n); } } else if (n.getPosition().isOnMiniMap(this.client.bot)) { status = "Walking to " + n.getName(); walkTile(n.getPosition()); } else if (localWalker.walk(n)) { status = "Walking to " + n.getName(); sleep(random(900, 1200)); } } NPC yak = getNpcs().closest(new Filter<NPC>() { @Override public boolean match(NPC npc) { return npc != null && npc.exists() && npc.getName().contains("Yak") && npc.isAttackable() && !npc.isUnderAttack() && npc.getHealth() != 0 && !isPlayerInteracting(npc) && map.isWithinRange(myPlayer().getPosition(), npc, 7); }}); if (isNpcValid(yak)) { interact(yak, "Attack"); }
  20. if (getDialogues().isPendingContinuation()) { getDialogues().clickContinue(); return random(900 , 1200); }
  21. Scotty is... weak as, just like drinking acid. Na scratch the tape. Re-mastered. Snatch your date, oh wait hows your day? OSBot's number 1 rap master. Script writer, code harder than Dragon's armour. At school right now, acting drama. Scotty watch closely as I activate my super power. Scotty your odd socially... awkward. While I'm walking a slaughter spree.
  22. Wow got some mad skills brah.
  23. Rules: Post rhyme about the person above you! Botre, na more like pottery. I'm the real MC, the center piece, scripting Entities to be enemies, so please defend at least. How you like it, ripe or sour? Rifle power, snipe you from the Efile tower.

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.