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.

Two questions

Featured Replies

1. What is the fastest way to make the client type a string? I've read all the previous topics but it looks like the API's changed.

 

2. How do I write a text file and read it? I'm used to another clients API.

You want to write a text file and read from that file within the script or just read it manual?

  • Author

You want to write a text file and read from that file within the script or just read it manual?

 

Write a file containing my GUI variables and read that file again. 

  • Author

Don't think it's in Osbot API..

 

Why do you need a clients API for that?

it's basic Java, you can make it yourself in 5 minutes..

 

Khaleesi

 

Oh with the other bot I use you have to use Util.getWorkingDirectory().toString() to get the directory to write to. Is that not needed for OSBot?

 

Also anyone know how to make the keyboard write faster :3

Also how can I change the account on a bot without having to add a new one.

Edited by jacksonadams861

Oh with the other bot I use you have to use Util.getWorkingDirectory().toString() to get the directory to write to. Is that not needed for OSBot?

 

Also anyone know how to make the keyboard write faster :3

Also how can I change the account on a bot without having to add a new one.

 

I'm confused, are you trying to get the working directory or trying to write a file in the working directory? If you're coming for a bot that has API to create files, you might want to unlearn everything you gained while you were there. 

 

https://docs.oracle.com/javase/7/docs/api/java/io/File.html

  • Author

I'm confused, are you trying to get the working directory or trying to write a file in the working directory? If you're coming for a bot that has API to create files, you might want to unlearn everything you gained while you were there. 

 

https://docs.oracle.com/javase/7/docs/api/java/io/File.html

 

I know how to write files with java... I just wanted to know if you had to write files to a certain working directory. Or if we can write files to anywhere.

I know how to write files with java... I just wanted to know if you had to write files to a certain working directory. Or if we can write files to anywhere.

 

Anywhere.

 

I'd store data in the osbot data dir. 

  • Author

Anywhere.

 

I'd store data in the osbot data dir. 

 

Okay thank you, and how about making the keyboard type faster. Any ideas? 

Okay thank you, and how about making the keyboard type faster. Any ideas?

 

So far I have seen there is no method to change the rate of chars written. Only mouse speed can be adjusted.

Write a file containing my GUI variables and read that file again.

 

You could use http://ini4j.sourceforge.net/ too. Pretty simple. Works like a charm. 

 

 

 public static void setIni() throws IOException
         {
                 Wini ini = new Wini(new File(Data.ini.getAbsolutePath()));
                 ini.put("Settings", "Version", Data.MAJOR_VERSION + "." + Data.MINOR_VERSION);
                 ini.put("Settings", "Theme", "org.pushingpixels.substance.api.skin.SubstanceGraphiteGlassLookAndFeel");
                 ini.put("Settings", "Download", Data.DOWNLOAD_FILES);
                 ini.put("Account", "Username", "");
                 ini.put("Account", "Password", "");
                 ini.store();
                 
         }
Something I made a while back. Perhaps you could use something of it and have a example.

Edited by Psvxe

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.