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.

InateractionEvent

Featured Replies

Could someone give me an example of this interaction event? I am struggling with what goes bewtteen the (). Also can i use a string such as an entity and action between here or do i have to create an event for each entity/action? I am doing it this way because i want to set the camera to not move during the interaction with each entity. InteractionEvent(Bot bot, Position position, java.lang.String... actions). Thanks in Advance

RS2Object ditch = getObjects().closest("Wilderness Ditch");
InteractionEvent interact = new InteractionEvent(ditch, "Cross");

if (ditch.isVisible()){
	execute(interact);
}

 

This a tip for all new to coding and want to see exaples of obscure code with bad docs.

  1. goto github.com
  2. login
  3. type the string of the package you are using your case "import org.osbot.rs07.event.InteractionEvent;" put osbot after 
  4.  click Code its under Repositories
  5. Look at the code and try to make it work.
  6. If you cant find anything try searching other keywords or using something else or rethink logic

 

Edited by Nbacon
Error

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.