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.

Questions about Tut island scriptm

Featured Replies

I'm trying to do tut island script but I'm new on scripting and have some questions...

Some class doesnt have the open() method, like Inventory and others...
so how do I open it? I'm stuned at this part =(

I'm trying to do tut island script but I'm new on scripting and have some questions...

Some class doesnt have the open() method, like Inventory and others...

so how do I open it? I'm stuned at this part =(

You open the tab, look at the Tabs class.

worst ways interact with the widgets

For opening tabs you do not need to use widgets, it's inefficient especially when there is a method  dedicated for opening tabs such as the inventory

 

For tutorial island though, you should look into configs as they are really helpful and will make your life easier

Don't start with a tutorial island script as your first script. There have been so many tutorial island scripts (even made by experienced scripters), and they almost always turn out with spaghetti code that breaks. 

For opening tabs you do not need to use widgets, it's inefficient especially when there is a method

hence the "Worst case" lol

You could always create your own method such as

 mouse.click(x,y,false); 

to open a tab once you've checked if its open or not. Will do the same thing as open(); api.

Edited by Juggles

Don't start with a tutorial island script as your first script. There have been so many tutorial island scripts (even made by experienced scripters), and they almost always turn out with spaghetti code that breaks. 

 

spaghetti code ftw

I'm trying to do tut island script but I'm new on scripting and have some questions...

Some class doesnt have the open() method, like Inventory and others...

so how do I open it? I'm stuned at this part =(

 

You can look at my tut code if you want?

 

https://github.com/OSBot-Transporter/OSBot/tree/master/src/com/acescripts/scripts/overloadaio/tutorialisland

Don't start with a tutorial island script as your first script. There have been so many tutorial island scripts (even made by experienced scripters), and they almost always turn out with spaghetti code that breaks. 

is that a challenge :^ )

 

just saying, you should have a structure like

Task -> TutorialTask -> List<Node>

a node should only -really- do one thing (eg chop tree). your nodes do like 17825129 things

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.