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.

Learning java and script writting

Featured Replies

Hello, 

i'm new to java and script writting and have been following an tutorial on youtube. 

if(!client.getInventory().isFull()) {

Im trying to use this to get my inventory but it doesnt seem to work. On the youtube vid i am following (marked the right spot) it will auto fill in with getInventory from the api. But it doesnt do that for me. Is this video to out dated to use or am i doing something wrong ? I Implemented the script manifest etc.

i

getInventory method will be available from your Script subclass (via MethodProvider). The tutorial there seems outdated

This guide may be a little outdated.

1) Make sure you have the osbot jar set as a dependency for the project.

2) Try just using getInventory().isFull() instead.

  • Author

Alright thanks for clearing that up, will be looking for more recent guides and tutorials. 

  • Author
30 minutes ago, Team Cape said:

Learn Java first.

I wanted to see some code in action before following the class acadamy class. 

I think this will give me a better understanding of what's going on when following those classes. 

 

Edit: typo

Edited by zwaffel

What @Team Cape said. After that check these links, I am sure they will help you.

https://osbot.org/forum/forum/250-tutorials/ The osbot api, you will find everything you need.

https://osbot.org/forum/forum/250-tutorials/ So many tutorials out on how to code for osrs.

1 minute ago, zwaffel said:

I wanted to see some code in action before following the code acadamy class. 

I think this will give me a better understanding of what's going on when following those classes. 

 

 

 

Edited by inababila

6 minutes ago, zwaffel said:

I wanted to see some code in action before following the class acadamy class. 

I think this will give me a better understanding of what's going on when following those classes. 

 

Edit: typo

nah. i've helped at least 60 people that want to learn both "at the same time". all of them quit - literally 100%. if you actually want to do it, forget about this for just a week and learn java.

  • Author

Alright i will take your advice. Thank you. 

45 minutes ago, Team Cape said:

nah. i've helped at least 60 people that want to learn both "at the same time". all of them quit - literally 100%. if you actually want to do it, forget about this for just a week and learn java.

I learned both at the same time :boge: 

1 hour ago, Team Cape said:

i love u fam but didnt u used to have scripter 1

Yah I messaged Alek and requested it to be removed because I released some scripts on another client and didn't realise cross scripting was allowed :feels:

3 minutes ago, HeyImJamie said:

Yah I messaged Alek and requested it to be removed because I released some scripts on another client and didn't realise cross scripting was allowed :feels:

c u........

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.