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.

Bobrocket

Members
  • Joined

  • Last visited

Everything posted by Bobrocket

  1. Here's a good read for you: https://rs-hacking.com/resources/macroingdetection.pdf It's legitimacy is questionable, but it gives us good ideas of what to do. Some summary points: Bots lack accuracy and precision, which humans possess. (look at graph below) Low accuracy = far from the true value; high accuracy = close to true value Low precision = values very spread out; high precision = values close together Even when doing random(x, y) when taken enough times, the mean of random(x, y) is still going to be around (x + y) / 2.
  2. typeKey() still has the delay afaik (hence why my SmartKeyboard is still pretty slow). Also, when pressing enter, you want to send 13 & 10 in rapid succession (\r\n): getKeyboard().typeKey((char)13); getKeyboard().typeKey((char)10);
  3. Welcome! Always nice to see more scripters joining
  4. Empty object will not throw errors when calling methods (thus making get...Finder.findClosest().interact/attack/pickpocket safe to use). Not null checking also allows a more understandable code base - "wouldn't an entity exist if it isn't null?".
  5. NPC dwarf = getNPCFinder().findClosest("Dwarf"); if (dwarf.exists()) dwarf.attack(); else log("wtf"); :/ :/ :/ :/ :/
  6. Someone had the source for an instant typer once upon a time, not sure how it was done but try looking into KeyEvents?
  7. I know it's useless to reply at this point, it's been a long time. I'm not sure why I didn't say this in the first place, but in any data type present in OmniAPI, #exists() will define whether or not the object is both there and available to be interacted with (for example, in widgets it will check if the child isn't null and if the widget is visible). No need for nasty instanceof checks, no need for null checks either ;) if (getNPCFinder().findClosest("Dwarf").exists()) { getNPCFinder().getLastFound().attack(); } else { log("not there :("); } Or, in your case: NPC monsterX = getNPCFinder().findClosest("Monster X"); if (monsterX.exists()) monsterX.attack(); else if (regionB.contains(myPlayer())) walk(new Path(regionA)); Might be something to look in to ;)
  8. As far as other APIs are concerned, they are typically made to bridge the gap between no knowledge and full knowledge (at least mine is). There are a lot of things that OSBot's API does that it shouldn't do, for example: getNpcs().closest("Dwarf").interact("Attack"); Will break your script if there is no "Dwarf" NPC. Little shameless self plug here, but my API allows this (eg no script breaking) getNPCFinder().findClosest("Dwarf").attack(); What you might notice in the change between .NET to Java that there isn't as much type checking (ie you do a lot of default(type) in .NET for a lot of classes whereas you don't really in Java). You also have to use the .equals(object) method in Java, instead of using == in .NET. Lastly, Java tends to use methods for public modifiers (eg .getItem() vs .Item). Good luck!
  9. Here's a pic I found of me 2 years ago Enjoy
  10. You start with the ! (not) operator if (!myPlayer().getPosition().equals(new Position(x, y, z)) { //not there }
  11. if (myPlayer().getPosition().equals(new Position(x, y, z))) { //there } else { //not there }
  12. Back in 2011-2013, a few friends and I were writing a game. Granted, we didn't get too far, and its "legacy" remains unnoticed. Some screenshots of showing the evolution of the game: November 2011 First "build" if you will. Late November 2011 Random map generation; no specific algorithm, just pure random. Late December 2011 We had moved from pure VB.NET w/ GDI+ to C# with XNA. Was better for everyone in the end. Jan/Feb 2012 (Sorry for low-res, it was a thumbnail that was cached) - we had made better progress on the map editor and more tiles etc. We also had a better map generating algorithm than before. If I get my hands on any other screenshots, I'll post them
  13. So, I want to write a game. A small, 2D game. Looking for ideas on what it can/should/would be. I was thinking of a little roguelike game, no clue tho
  14. Bobrocket replied to Deceiver's topic in Gallery
  15. Authed. Sorry it took me so long, I never got a notification! Authed. Enjoy!
  16. I hope my home boy using omnipocket for thieving

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.