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.

Troubles with walking on a ship

Featured Replies

Hey,

Ive been working on a fishing trawler script, but I cant seem to figure out how to walk on the ship.

The script is finished, but when I wanted to reposition the character after his contribution was reached, I hit a wall.

The positions I get from Explv's Location Assistant can't be found by webwalk or walk.

Anyone know what the right approach is here?

Thanks in advance.

Edited by BoBP

The best way would be to interact with a tile or to use getWalking().walk to the tile. I personally prefer:

Position yourTargetTile = new Position(…,…,…);

and then in your onLoop do yourTargetTile.interact(“Walk here”);

 

or the easy way is just getWalking().walk(yourTargetTile)

 

and to find the coordinates for the tile you must use entity debugger tool in osbot right-side panel and hover over the tile you want to explore.

if the area is instanced then you will need to find an anchor object (any object that is always there for every game e.g. ladders), get its x/y and then find the difference in x/y to the tile you want to walk to.

  • Author
13 minutes ago, Czar said:

if the area is instanced then you will need to find an anchor object (any object that is always there for every game e.g. ladders), get its x/y and then find the difference in x/y to the tile you want to walk to.

This seems like something that could work.

I'l give that a try. Thanks!

15 minutes ago, BoBP said:

This seems like something that could work.

I'l give that a try. Thanks!

Use local coordinates instead of world coordinates as it's always on the same place ina  certain region :)
To go from local to world again, script.getMap().getBaseX() and Y

Edited by Khaleesi

  • Author

Both approaches worked.

 

Thanks!

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.