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.

Setting Up Eclipse

Featured Replies

Here, you're going to learn how to set up your Eclipse for the following:

  • Automatically compile and save your scripts to script folder folder each time you save your work.
  • Share the same script files across many projects.
  • Recompile everything in the event of script conflicts or corruptions.

Let's start:
 

Automatically compile and save your scripts to script folder folder each time you save your work

1. Open Eclipse and navigate to Window > Preferences.

K7IeXwS.png

2. Navigate to General > Workspace > Linked Resources

gb20l2G.png

3. Click "New..." and create a new resource, then give the new path a name and set the location to OSBot script folder

kfTyjjs.png

4. Click "Ok" and the new resource will be listed

Pv9d3fZ.png

5. Navigate to Java > Compiler > Building, then under "Output Folder" untick the "Scrub output folders when cleaning projects"

9ZhUfKY.png

6. Apply and close your preferences then make a new script project

p78b1km.png

7. Name the project and click "Next"

yIbbTaT.png

8. Where it says "Default output folder:" click browse

Hvc0ma2.png

9. Very important: select the project! Then click the "Create New Folder..." button

WDXvwfK.png

10. Open the advanced options and select the variable you created earlier.

9jK5lMO.png

11. Select the new folder path and click "OK"

9akK437.png

Your OSBot folder will now be used to compile and save your scripts directly to.

W9ZB8dS.png

12. Time to test. Click on the "Libraries" tab, then click the "Add External JARs..." button and add OSBot, then click "Finish".

gCL9eeO.png

13. Create a new script

9ptgikI.png

14. Add a script manifest and some code

OmqXo80.png

15. Launch OSBot and check to see if your script appears in the list

9bu72Mi.png

 

 

Share the same script files across many projects

1. Create a new framework project

P0cWrGG.png

2. Right click your script project, go to "Properties", click on the "Projects" tab and add your framework to the list

BvGMxo6.png

 

 

Recompile everything in the event of script conflicts or corruptions

Note: you should only really need to do this if you've been messing with the files in OSBot/scripts without using Eclipse, or if you've got multiple Eclipse workspaces all outputting to the same folder, or you've deleted some Eclipse projects that are being used by other projects.

1. Go to "Project" and "Clean..."

R94wQBD.png

2. Select all (or some) of the projects you want to totally recompile

P6aa8RZ.png

Edited by liverare

Wow, fantastic. I never really dug into any of the helpful features eclipse offers. This is much more efficient than what I was doing before!

Create an account or sign in to comment

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.