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.

Mining: rock type / empty-not empty detection?

Featured Replies

Hello!

 

I am trying to make miner. Some time ago I classified rock ids by ore types, but those ids are changing frequently.

So, how can I determine what ore is in rock and is it empty? So Runescape updates don't break my ids?

 

I can switch to model ids, but then how to detect if rock empty or not?

 

Thanks,

dark_xor.

Hello!

 

I am trying to make miner. Some time ago I classified rock ids by ore types, but those ids are changing frequently.

So, how can I determine what ore is in rock and is it empty? So Runescape updates don't break my ids?

 

I can switch to model ids, but then how to detect if rock empty or not?

 

Thanks,

dark_xor.

 

Try checking models or vertices.

 

If the code below fails, try checking colours:

 

replace 70 with whatever the rocks vertices would be:

Entity rocks = closestObjectForName("Rocks");
 
if(rocks.getVertices() = 70){
        handleDeadRock();
} else {
        Mine();
}

Edited by Zappa

  • 2 weeks later...
  • Author

Tried vertices count, it is same for both empty or full rocks. How can I return vertex colors of Model? Without color I cannot determine neither rock type nor if it empty.

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.