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.

Clicking Tiles ~ RSTile?

Featured Replies

Hello,

 

I have been looking around the API for some kind of "hack" that would allow me to click on RSTile's effectively without having any object collision in the way, IE Ground Items.

 

I am tracking down Rockcrabs and my script works effectively enough to the point of going to there location, then clicking where the are using

mouse.click(false);

Now this has it's share of problems being that it doesn't check that if there are items in the way.

 

Now the problem with rock crabs is that you aren't actually able to walk to there location using crab.interact("Walk here"); Since it's a tile.

 

Unless if I have missed something in the API and there's a massive chance I have, is there a method or even a class that handles RSTile's and actually interacts with them, again by walking here.

If you need to interact with a rockcrab fishing spot, use the Npcs class, eg.

getNpcs().closest(fishing spot name or ID).interact("catch");

obv. with some added null checks and what have you. Interacting with an NPC will execute an InteractionEvent, which will walk to the npc as needed.

 

If you really just need to interact with a position ("RSTile"), you could do it by coordinates

new Position(x, y, z).interact(bot, "Walk here");

alternatively to walk to the position, use the Walking class, which has a number of methods that accept positions and areas.

Edited by FrostBug

  • Author

If you need to interact with a rockcrab fishing spot, use the Npcs class, eg.

getNpcs().closest(fishing spot name or ID).interact("catch");

obv. with some added null checks and what have you.

 

If you really just need to interact with a position ("RSTile"), you could do it by coordinates

new Position(x, y, z).interact(bot, "Walk here");

alternatively to walk to the position, use the Walking class, which has a number of methods that accept positions and areas.

 

 

Ahhh alright, I actually haven't been able to dive too far into all the Classes and never looked over the entire method library for it. I'll give it a go but it looks like what I needed, thank you.

 

Ahhh alright, I actually haven't been able to dive too far into all the Classes and never looked over the entire method library for it. I'll give it a go but it looks like what I needed, thank you.

 

 

You'll find most of the things you need available from the MethodProvider

 

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.