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.

How to start?

Featured Replies

So I'm kinda interested in starting developing scripts since it would be pretty good to practice Java as well. It's been so long since the last time I used it. Anyhow, I watched this video but I don't know how to get those osbot scripts and stuff (can't import osbot things). It doesn't really show how to do it but I also checked http://osbot.org/forum/topic/60538-setup-instructions-to-start-scripting-very-easy/ tutorial. It didn't seem to work for me either. I use Eclipse btw. Eclipse has automatic compiling so the compiled java file is there and I copied it to src folder but nothing changed. I also tried http://osbot.org/forum/topic/58775-a-beginners-guide-to-writing-osbot-scripts-where-to-get-started-by-apaec/ which was a little bit more helpful but I still can't do any osbot imports.

 

May I please get some help so I could start this? :)

The scripting API has changed from when that video was made, API is the new API for OSBot 2. Also there are tons of tutorials in the scripting section with guides from various scripters taking you through the steps of making your first script ^_^

  • Author

The scripting API has changed from when that video was made, API is the new API for OSBot 2. Also there are tons of tutorials in the scripting section with guides from various scripters taking you through the steps of making your first script happy.png

 

The problem isn't not knowing how to make a script, it's just that I don't know how to import the osbot api script thingies. When I try to import something it obviously gives me an error because it can't find the osbot stuff D:

The problem isn't not knowing how to make a script, it's just that I don't know how to import the osbot api script thingies. When I try to import something it obviously gives me an error because it can't find the osbot stuff D:

Did you configure your project's build path to include the jar containing the library?

Edited by fixthissite

  • Author

Did you configure your project's build path to include the jar containing the library?

Yeah the osbot.jar client is there :s which is why this is so weird

You have to set the osbot.jar to your external path whenever you create the project.

On top of your script you have to import the classes in the API, example:

import org.osbot.rs07.script.MethodProvider;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;

If you got that set you can start of by writing your script, your first line should be:

@ScriptManifest(name="scriptname", author="name", info="", logo="", version=1)
  • Author

You have to set the osbot.jar to your external path whenever you create the project.

On top of your script you have to import the classes in the API, example:

import org.osbot.rs07.script.MethodProvider;import org.osbot.rs07.script.Script;import org.osbot.rs07.script.ScriptManifest;
If you got that set you can start of by writing your script, your first line should be:
@ScriptManifest(name="scriptname", author="name", info="", logo="", version=1)

Yeah. But again, imports from osbot api don't work for some reason

 

 

Oh my god lol. It didn't work cus I typed just osbot instead of the .org x.x and it was so confusing since I used the video's imports as well and couldn't see any difference with the current ones. My bad lol. thank you everyone!

Edited by Jaacobbi

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

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.