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.

Explv's Scripting 101

Featured Replies

23 hours ago, Explv said:

Let me know if I have missed anything

You know teaching people to use superclass Entity instead of subclasses like RS2Object, NPC, etc. is not really good is it? :doge:

  • Author
7 minutes ago, Vilius said:

You know teaching people to use superclass Entity instead of subclasses like RS2Object, NPC, etc. is not really good is it? :doge:

And why would that be?

 

3 minutes ago, Explv said:

And why would that be?

 

:doge:

  • Author
3 minutes ago, Vilius said:

:doge:

 

The thing is, if you knew basic Java, like I state as the prerequisite to this tutorial, you would know that in order to use the methods contained in NPC, GroundItem etc. that are not found in the Entity superclass, then you would use the relevant subclass name when storing the instance.

I never mention in this tutorial that you should exclusively use Entity and not the subclass name, I am merely showing the relationship between the different types.

How should i attain a basic knowledge of java before learning this =D

17 hours ago, CMDrake said:

How should i attain a basic knowledge of java before learning this =D

Code academy learn java for starters

Going to follow this it seems to be updated every few days and its at the stage I need (: thanks mate

Genuinely curious as to why you make every class and method final. I guess its just strange to me because I've never seen it before. Is there any benefit to a practice like this when making scripts?

 

Also great work. Love the layout of the tutorial. Its concise, yet complete.

Edited by TheWind

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.