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.

Polymorphism

Members
  • Joined

  • Last visited

Everything posted by Polymorphism

  1. This isn't a bad write up, very descriptive too There are many people who lack to knowledge on how data tracking works and this will certainly assist them
  2. From what I've read, webwalker does not current or plan on ever supporting the stronghold Thank you @Chris, this is a big help, did you collect this yourself, or may I ask for credits(if due), please
  3. I am planning an API that will traverse the stronghold (a mid-long term project ofc), but before I start I will need all of the answers. If you guys would be so kind as to post any collection of answers, I would love you forever This is srs! Note: I will begin collecting them myself if need be, but i'm sure someone has that info laying around
  4. In my case it's simply for drawing the outside of an area vs all tiles of the area. My script uses a max travel distance , so in my case all i gotta do is draw tiles that are so far away. But this will be a bit different if the radius (circles I know, but relative enough) is unknown
  5. For my situation this worked, but still looking for something that is universal for Polygon Area. safeArea = new Area(new Position(sX - is.maxDistance, sY - is.maxDistance, sZ), new Position(sX + is.maxDistance, sY + is.maxDistance, sZ)); safeTiles = safeArea.getPositions(); bounding = new Position[safeTiles.size()]; for (int i = 0; i < safeTiles.size(); i++) { if (safeTiles.get(i).distance(startPosition) == is.maxDistance) bounding[i] = safeTiles.get(i); }
  6. Yeah, mine is a variable Polygon area which is dynamically generated based on player position and settings. That's where my issue comes into play.
  7. I've tried all sorts of different way to get this. What I'm look for is the outside tiles of an Area or Position[] I hate to ask on here, but I really could use this help if anyone has any input. Thank you ahead of time.
  8. I added a shit ton of items with updated ids. itemIdNames.php now outputs all ids and names in the format below without new lines id:name; Also, clicking on the 2 small code boxes will navigate you to that url
  9. This explains the need i had to just scrape jagex's website.
  10. This seems like the intellij equivalent of what I posted. Although I'm not sure if what I posted would work, never tried it with source files. Just know of it from experience
  11. I've had the need to write both of these in a script currently under development. RSBuddy's price API didn't seem to update often enough (or just not return the proper data). The PriceLookup API uses Jagex's JSON API for their website. The Item ID to/from Name API uses a (relatively modern) list of IDs and Names which I added to database. Simply change the function being executed in the URL and enter the proper argument. Downloads can be found on my website below http://polycoding.com/osb/ Old School RuneScape Id to/from Name API Get an item's ID from its name. http://polycoding.com/osb/itemIdNames.php?getId=ITEM_NAME Get an item's name from its ID. http://polycoding.com/osb/itemIdNames.php?getName=ITEM_ID Polycoding Old School RuneScape Grand Exchange Price Lookup Usage public PriceLookup prices = new PriceLookup(); System.out.println(prices.getPriceById(1333)); //print price for Rune Scimitar by inputting ID System.out.println(prices.getPriceByName("rune scimitar")); //print price for Rune Scimitar by inputting name System.out.println(prices.getId("rune scimitar")); //getting the ID of Rune Scimitar using Polycoding API
  12. No problem, I have been thinking the same thing honestly. Gonna follow to see if someone has a viable answer.
  13. I don't use Intellij very much, so I'm not 100% sure but give them links a read and try https://www.jetbrains.com/help/idea/2016.3/configuring-module-dependencies-and-libraries.html#add_module_dependency https://blog.jetbrains.com/idea/2010/08/quickly-create-jar-artifact/
  14. The following post is for eclipse Untested, but here's an idea. (seriously not sure if it'll work, never done it before) When you get ready to export and what all them libraries to go with your script jar, open them in the project window and Export..Jar file On the export (not as runnable jar) screen in eclipse tick the checkbox for each of the projects which is a library (given you have the source code). You'll probably have to change your dependencies from external jars to include those projects for your api(s)
  15. So assuming threshold=1 would be exact position or threshold=0 would be? I'm giving this a go, still new to this API so haven't learned the ins and outs
  16. In one of my scripts, there is a safespot tile the player should be moved back to under certain conditions. I have the conditions laid out properly, as the webwalking event is firing (also another issue, seems to take it at least 2 seconds to start walking) It's obvious that the final destination had not been reached but it's sitting there indefinitely saying it had been, causing the script to hang a flood the logger. (the safespot is that tucked away corner of the bones) Below is some code, please don't nag about the sleeping. Dynamic sleeping is irrelevant in this snippet
  17. Meh, looks overcomplicated to hell. You'd still have to parse out the quantity by going with substring and trim. I found it easier on my eyes to do it this way, and the speed difference is so little it's laughable. Now if we were doing like 20k of these in one go this would be done a little different.
  18. Takes a little bit of regex but it's simple to do. Instead of adding the item name to a list, in my loop() I do if valuableLootName !empty then force loot the one item, then resume normal function. String tmpLootName = ""; if (msg.contains("aluable drop")) { tmpLootName = msg.replace("<col=ef1020>", "").replace("</col>", "") .replaceFirst("(.{0,15})", "").replaceFirst("(\\d x)", "") .replaceFirst("\\(([^\\)]+)\\)", "").trim(); log("DROP MESSAGE: " + tmpLootName); valuableLootName = tmpLootName; }
  19. holy hell, mustve sucked writing this up. Gotta be only of the only efficient ways to do it though
  20. This is awesome, I love webwalking lol. Thank you!
  21. Good to know, do you know how it'll react to not having the key to get to hill giants in edge dung
  22. does it handle doors, ladders, etc? is the stronghold of security mapped for webwalking? if so, do the bot take care of the questions? if not, whats the best method to take care of navigating the stronghold & answering the questions. I believe that's it for now...
  23. Instead of checking your health, check if youre under attack. Also use dynamic sleep, not that while static sleep crap
  24. This? " [OPEN] SDN Upload Requests " http://osbot.org/forum/forum/181-open-sdn-upload-requests/

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.