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 make libraries

Featured Replies

When I started out with OSBot scripts, I used this guide which was very helpful - thanks @Token

 

I am still unfamiliar with intellij though really - I can output scripts, but that is about it - I am limited to a directory of classes, which has been OK so far

 

However, moving forward, I would like to make a library similar to the osbot.jar file whereby I can import my classes in a similar way

for example;


import org.osbot.rs07.api.ui.Skill;

import org.fanny.utils.whatever;

How do I go about this in intellij idea? This is a pretty major step to producing scripts faster and more accurately

15 hours ago, Fanny said:

When I started out with OSBot scripts, I used this guide which was very helpful - thanks @Token

 

I am still unfamiliar with intellij though really - I can output scripts, but that is about it - I am limited to a directory of classes, which has been OK so far

 

However, moving forward, I would like to make a library similar to the osbot.jar file whereby I can import my classes in a similar way

for example;


import org.osbot.rs07.api.ui.Skill;

import org.fanny.utils.whatever;

How do I go about this in intellij idea? This is a pretty major step to producing scripts faster and more accurately

Osbot has something called a dependency part that can be accessed from all scripts.

qUv8Ayx.png

  • Author
4 hours ago, Khaleesi said:

Osbot has something called a dependency part that can be accessed from all scripts.

qUv8Ayx.png

Wow that does look very neat.

Yeah, mine looks nothing like that.

r8ODYAf.jpeg

 

Not sure where I went wrong, the other classes are what should be my dependencies like you have it

Also my script is the entire project? You seem to be able to access individual projects from the same screen

Dunno about IntelliJ Idea, my setup is more like No Idea :D

Do you mean more packages to organise your classes better?

In intelliJ, Right click the project folder you want to add a new package > new > package

Then when you want to use a class from that package you just call it like

Import myPackage.classInPackage;

 

  • Author
On 9/16/2024 at 4:01 PM, Khaleesi said:

Ya I have 1 project with multiple modules, each script is a module

This is what I was looking for, thanks so much!

Working on my utils now, hopefully better and less effort scripts result

 

13 hours ago, dubai said:

Right click the project folder you want to add a new package > new > package

I had my environment set up so that each script is a project, when there should be one project with multiple modules for scripts - seems to work now, not tested it extensively yet

57 minutes ago, Fanny said:

This is what I was looking for, thanks so much!

Working on my utils now, hopefully better and less effort scripts result

 

I had my environment set up so that each script is a project, when there should be one project with multiple modules for scripts - seems to work now, not tested it extensively yet

Glad to hear! If you have any other questions let me know :)

9 hours ago, Fanny said:

I had my environment set up so that each script is a project, when there should be one project with multiple modules for scripts - seems to work now, not tested it extensively yet

Ah gotcha, easy fix :)

8 hours ago, Khaleesi said:

Glad to hear! If you have any other questions let me know :)

I have a question!!! How did you get that epic colourful display name badge thingo that changes colour :o

  • Author
On 9/16/2024 at 4:01 PM, Khaleesi said:

Ya I have 1 project with multiple modules, each script is a module

-Khaleesi
--Dependencies folder
--ScriptName1
--Scriptname2

Quick update:

Spent a lot of time fleshing out my utility scripts

Writing scripts is a breeze now, with all the complex logic handled in the utilities, no need for writing extensive checks on every action etc,

Thanks for this, 10X developer overnight :D

 

I just have a quick question; regards paid scripts, the guide says requires Scripter II, but it makes no indication of what that means or how to get it (but I see you have that badge)

I seem to recall someone mentioning a test or something, but IDK, would be interested to know?

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.