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. I'll rework watchtower dragons after my exams. current pathing relies on webwalking atm so ill just have to write my own pathing I'll also add extra measures to make sure the prayer gets turned off.
  2. FREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE NO
  3. I'll work on some fixes Monday night I have an exam to worry about atm sorry
  4. check if the mirror client is up to date. I don't handle the mirror mode and i dont use any custom code for the hopper
  5. injection or mirro?
  6. Chris replied to crezzy's topic in Others
    can also add coins and tokens wealth += i.getId() == 995 ? i.getAmount() : i.getId() == 13204 ? (i.getAmount() * 1000) : (getPrice(i.getId()) * i.getAmount());
  7. Chris replied to crezzy's topic in Others
    import java.awt.*; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.text.NumberFormat; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.osbot.rs07.api.model.Item; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "", name = "Bank Evaluator", info = "Determines the value of bank", logo = "", version = 1) public class Main extends Script { private int wealth = 0; private long startTime; private long endTime; private static final Pattern pattern = Pattern.compile("(?:\"overall\":)([0-9]+)"); private static int getPrice(int id) throws MalformedURLException, IOException { String url = "http://api.rsbuddy.com/grandExchange?a=guidePrice&i=" + id; BufferedReader reader = new BufferedReader( new InputStreamReader(new URL(String.format(url, id)).openConnection().getInputStream())); String line; while ((line = reader.readLine()) != null) { Matcher m = pattern.matcher(line); if (m.find() && m.groupCount() > 0) { int overallPrice = Integer.parseInt(m.group(1)); if (overallPrice == 0) break; return overallPrice; } } reader.close(); return 0; } @Override public void onPaint(Graphics2D paint) { paint.setColor(Color.ORANGE); paint.drawString("Amount of time took to get bank wealth: " + formatT(endTime), 10, 310); paint.drawString("Amount of items found in bank: " + formatIntegers(getBank().getItems().length), 10, 325); paint.drawString("Bank amount: " + formatIntegers(wealth), 10, 340); } private String formatT(final long ms) { long s = ms / 1000, m = s / 60, h = m / 60; s %= 60; m %= 60; h %= 24; return String.format("%02d:%02d:%02d", h, m, s); } @Override public void onStart() { startTime = System.currentTimeMillis(); if (getBank().isOpen()) { for (Item i : getBank().getItems()) { if (i != null){ try { wealth = wealth + (getPrice(i.getId()) * i.getAmount()); } catch (IOException e) { e.printStackTrace(); } } } endTime = System.currentTimeMillis() - startTime; } } private String formatIntegers(int num) { return NumberFormat.getInstance().format(num); } @Override public int onLoop() throws InterruptedException { return 1000; } } made some changes hope u like
  8. report the thread and put in comments to transfer the thread
  9. there are no bug reports on it so yes.
  10. i cleared my inbox so u would have to pm me again
  11. run the script then check the logger for id it says it
  12. I checked the code yesterday and it loots if the bolts are on the ground stack of 2 or greater. it wont loot it if your inventory is full. I'll have to do some testing after my security exam tomorrow.
  13. Contacts on my profile or meet chatbox
  14. Because you're a beginner in java and osbot scripting. PLus states are garbage to learn from
  15. dont use states its trash
  16. pull caps clean 1 by 1 clean the casing happens every time after my kawaii anime sessions
  17. ekks deee!
  18. https://youtu.be/pb0fGJXS2Qg
  19. by not using breaks. I have not implemented anything for break handler
  20. Doing some testing at brutal dragons..managed to grab a visage! my internet cut out though...so i have to add it manually to the database :'( Full logs
  21. cli

    Chris replied to Norscax's topic in General Help
    java -jar ..................... TIMEOUT 3 java -jar .................. TIMEOUT 3 //repeat

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.