Skip 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 Without Static IDs?

Featured Replies

Apparently there's a way to make a mining script without static IDs and I'm supposed to ask here for ideas. Any suggestions appreciated. :)

  • Author
7 minutes ago, Chris said:

yeah with colors?

Ill try it thanks

Get rock name then determine is it's mine-able by its color

 

 

Edit: Didn't see @Chris aka bb post

Edited by Polymorphism

  • Author
12 minutes ago, Polymorphism said:

Get rock name then determine is it's mine-able by its color

 

 

Edit: Didn't see @Chris aka bb post

whats the best way to get color of an object?

  • Author
1 minute ago, Polymorphism said:

Using the colorpicker in the osbot api

https://osbot.org/api/org/osbot/rs07/api/ColorPicker.html

 

Basically you'll get the model of the rock -- get yourself any point inside the model (not the position) and use the method #colorAt(x,y) or #colorAt(Point p) to determine if its mine-able

 

It'll some debugging to determine what color you should be checking for

wouldn't this give different results depending on which part of the rock its on? like shadows and shit?

5 minutes ago, Cloxygen said:

wouldn't this give different results depending on which part of the rock its on? like shadows and shit?

Not sure, never had a reason to use it myself. The game could display colors and shadows separately meaning that it wouldn't matter which part of the rock you grabbed regardless of its shadow or visibility. Maybe someone like @Chris or @Token or @Xerion could provide further info regarding that.

22 minutes ago, Cloxygen said:

wouldn't this give different results depending on which part of the rock its on? like shadows and shit?

Yes but the difference between the shadows is less than the difference between rune and iron. :p

9 hours ago, Cloxygen said:

Apparently there's a way to make a mining script without static IDs and I'm supposed to ask here for ideas. Any suggestions appreciated. :)

 

8 hours ago, Polymorphism said:

Using the colorpicker in the osbot api

 

8 hours ago, Chris said:

#modifiedcolours

 

Do not use ColorPicker.

And I already have a snippet in the snippets section:

 

Nah no point making a mining script lelelelel

  • Author

Thanks

21 hours ago, Explv said:

 

 

 

Do not use ColorPicker.

And I already have a snippet in the snippets section:

 

This helped a lot. Thank you

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.