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.

Cant get getWalking().walkPath(path) to work for me

Featured Replies

Position[] path = {
    		    new Position(3225, 3219, 0),
    		    new Position(3233, 3218, 0),
    		    new Position(3235, 3223, 0),
    		    new Position(3232, 3227, 0),
    		    new Position(3227, 3232, 0),
    		    new Position(3223, 3239, 0),
    		    new Position(3220, 3246, 0),
    		    new Position(3217, 3255, 0),
    		    new Position(3215, 3260, 0),
    		    new Position(3214, 3270, 0),
    		    new Position(3214, 3270, 0)
    		};
    	
    	getWalking().walkPath(path);

gives me the error: "The method walkPath(List<Position>) in the type Walking is not applicable for the arguments (Position[])" on .walkPath but if i try to add the path as anything but an array it will throw thousands of errors at me.

 

Cant use Webwalker so trying to get this path to work is necessary for me but idk what im supposed to do. 

The tutorial Alek posted seems to be outdated 

 

Creating a path like in Explvs tutorial (

which would look like this: 

List<Position> path = new ArrayList<>();
        path.add(new Position(3225, 3219, 0));
        path.add(new Position(3233, 3218, 0));
        
        
        getWalking().walkPath(path);

and give the error: "The type List is not generic; it cannot be parameterized with arguments <Position>" on "List" but no error on the getWalking() part

1. Walk path only accepts List<Position> as its parameter not Position[], because its the new walking system not the one from 2014

2. You have to

import java.util.List;

not

import java.awt.List;

Because awt.List is a display element and util.List is a generic type for collections

Edited by Vilius

  • Author
7 minutes ago, Vilius said:

1. Walk path only accepts List<Position> as its parameter not Position[]

2. You have to


import java.util.List;

not


import java.awt.List;

Because awt.List is a display element and util.List is a generic type for collections

thank you so much! <3

finally it works 

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.