Skip 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.

Interacting with stairs

Featured Replies

if (Stairsarea2thfloor.contains(myPlayer()));
        walking.walk(Stairsarea2thfloor);
????

 

 

i need to climb down

Interact with the staircase, or use webwalking instead.

Also what on earth is a "seconth floor" ?

 

EDIT:

Looking at your code again, I see that it's literal nonsense. Consider revising.

 

1.

if(true); what is this? why are you terminating your if statement with ;

 

2.

If you're already in the area, why do you need to walk to it?

Edited by FrostBug

  • Author

Interact with the staircase, or use webwalking instead.

 

Also what on earth is a "seconth floor" ?

 

i need to interact with staircase "climb down"

And its typo

i need to interact with staircase "climb down"

And its typo

RS2Object stairs = getObjects().closest(o -> o.getName().equls("Stairs) && o.hasAction("Climb-down"));

stairs.interact("Climb-down");

  • Author

Interact with the staircase, or use webwalking instead.

Also what on earth is a "seconth floor" ?

 

EDIT:

Looking at your code again, I see that it's literal nonsense. Consider revising.

 

1.

if(true); what is this? why are you terminating your if statement with ;

 

2.

If you're already in the area, why do you need to walk to it?

 

walking.walk(Stairsarea2thfloor);

        if (Stairsarea2thfloor.contains(myPlayer()));{

well still this dosent solve my problem how do i interact with stairs.

i need to interact with staircase "climb down"

And its typo

 

Terminating an if statement with ; like you're doing will make it an empty statement. The line below it will be executed regardless of the evaluation of the if-statement

 

walking.walk(Stairsarea2thfloor);

        if (Stairsarea2thfloor.contains(myPlayer()));{

well still this dosent solve my problem how do i interact with stairs.

 

If you don't learn some basic java before you start scripting, you're gonna have a very bad time

  • Author

Terminating an if statement with ; like you're doing will make it an empty statement. The line below it will be executed regardless of the evaluation of the if-statement

 

 

If you don't learn some basic java before you start scripting, you're gonna have a very bad time

 

well you dont make it any better 5/5 :)

well you dont make it any better 5/5 smile.png

 

You should be able to use that information to fix the problem, though.

if (Stairsarea2thfloor.contains(myPlayer()));

walking.walk(Stairsarea2thfloor);

????

i need to climb down

10/10

Not to be a douche here, but what's stated above is true. I highly recommend at least trying to get the basics of java. Look at some tutorials online (either video or text-based)  to get a better understanding of programming logic and 'rules'. Then try to look at some open-source scripts available and think of why some of the stuff that is in there is written that way, see if you can fully understand what every line of code does.

 

As easy it seems, having other people spoon-feed you code isn't going to teach you anything, at best you'll fix very small problems, not understand why it's fixed and run into something similar 10 minutes later.

What the guys said above. You cant just expect all the answers from other scripters

 

just use walking.webwalk

 

and just read some tutorials here. fuck the haters

webwalker is burning cpus, write ur own walkr

Edited by qverkk

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.