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.

Because object IDs change!?

Featured Replies

Because object IDs change is there a way to interact with an object through objects position?

 

why not use the name? try PositionFilter or something called that

I believe you can just do #get(x, y) and retrieve a List<RS2Object/Entity/NPC>? Not entirely sure, if not you can just use a filter and then in the match just check if the positions match.

I believe you can just do #get(x, y) and retrieve a List<RS2Object/Entity/NPC>? Not entirely sure, if not you can just use a filter and then in the match just check if the positions match.

 

Not sure if this would work, but definitely worth a shot

  • Author

why not use the name? try PositionFilter or something called that

 

I could use the name for woodcutting and I do but for mining every Rock object is called Rock.

 

Plus I have not got a clue how to use the filters

I could use the name for woodcutting and I do but for mining every Rock object is called Rock.

 

Plus I have not got a clue how to use the filters

Use color to detect the right rocks or just filter the positions of the right rocks.

Edited by iJodix

I could use the name for woodcutting and I do but for mining every Rock object is called Rock.

 

Plus I have not got a clue how to use the filters

 

PositionFilter<RS2Object> posFilter = new PositionFilter(pos);

NameFilter<RS2Object> nameFilter = new NameFilter("Rock");

 

RS2Object rock = getObjects().closest(posFilter, nameFilter);

 

_____

Alternatively, make your own filter that suits all of your needs (position / name / color etc. etc.)

 

  • Author

PositionFilter<RS2Object> posFilter = new PositionFilter(pos);

NameFilter<RS2Object> nameFilter = new NameFilter("Rock");

 

RS2Object rock = getObjects().closest(posFilter, nameFilter);

 

_____

Alternatively, make your own filter that suits all of your needs (position / name / color etc. etc.)

 

 

Cheers for the example mate!

 

I have put something together that will interact with the object in a 1x1 area.

Since when? Object ID's do not change.

 

If you're talking about objects specific to the player such as hunter spots then you can determine what the object is based on specific Varbits. 

  • Author

Since when? Object ID's do not change.

 

If you're talking about objects specific to the player such as hunter spots then you can determine what the object is based on specific Varbits. 

 

Object IDs change when Runescape updated.

Object IDs change when Runescape updated.

 

I don't know what game you're playing but I've written a few scripts in the last month and none of them have broken using object ID's.

  • Author

I don't know what game you're playing but I've written a few scripts in the last month and none of them have broken using object ID's.

 

Yeah I noticed that they were the same after I posted this sorry. but I do think they change

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.