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.

need help

Featured Replies

I'm trying to create a simple mining script but I'm not sure how to find the ore

 

would Entity ore = objects.closest(object id) work? I think it only takes strings

 

sorry if this question is confusing... thanks for the help

Entity ore = objects.closest("Copper Rock"); or what ever the exact name of the rock is smile.png but if you use the enitity hover debug you can find the int and make an int of the object id.

 

int copperrock = 2090; 

 

Entity ore = objects.closest(copperrock); 

 

 

Edited by DubzieBug

  • Author

Entity ore = objects.closest("Copper Rock"); or what ever the exact name of the rock is smile.png but if you use the enitity hover debug you can find the int and make an int of the object id.

 

int copperrock = 2090; 

 

Entity ore = objects.closest(copperrock); 

so Entity ore = objects.closest("Copper Rocks") would work even though they're just called rocks in game?

so Entity ore = objects.closest("Copper Rocks") would work even though they're just called rocks in game?

I haven't made a mining script so i don't know the actual names but you can just get the int via the entity hover debug option on osbot then use that int instead of a string.

 

so just say the id is 1111 

 

int bronzerocki = 1111;

 

Entity bronzerock = objects.closest(bronzerocki);

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.