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.

Snuts

Members
  • Joined

  • Last visited

  1. Here's a small snippet I use for reading accounts from a file, you should be able to take from it what you need. private void readAccounts() { // The name of the file to open. String fileName = "accounts.txt"; // This will reference one line at a time String line = null; try { // FileReader reads text files in the default encoding. FileReader fileReader = new FileReader(getDirectoryData() + fileName); // Always wrap FileReader in BufferedReader. BufferedReader bufferedReader = new BufferedReader(fileReader); while((line = bufferedReader.readLine()) != null) { String[] lineInfo = line.split(":"); vars.addToAccounts(lineInfo); } // Always close files. bufferedReader.close(); vars.setCheckedFile(true); } catch(FileNotFoundException ex) { log("Accounts file not found, stopping script"); stop(false); } catch(IOException ex) { log("Error reading file, stopping script"); stop(false); } } Probably not the best way to do this but works none the less.

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.