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.

Entity Attributes change upon Resurgence?

Featured Replies

An Entity is a general representation of an object in-game, it seems.

Through a GUI, I would have a user select objects containing a specified interaction, which would then be stored as Entities for later use.

Considering an Entity has basic info on the model, its height, size, position, and extends other interfaces that contain its actions, id, and such, I assumed that it would be a safe way of storing them.

When the process continues, however, and the resource depletes and returns, the user no longer targets the object to gather resources.

So the question here is, how is one meant to store objects so that, once it disappears and returns, it still notices it as the same object. Would this entail creating a custom Object with Position and id attributes solely?

Your understanding of Entity is not correct. An entity is not a representation, it's a reference to the generic object in game. This means when the entity is destroyed, so is the reference. When a new entity is created, so is a new reference. This is not so readily apparent because in Java everything is a value, and there is no way to represent a reference. Also an Entity is an interface between all the entities, ensure you arent object slicing if you are storing the object as an entity versus NPC, RS2Object, etc. I italicized some key words that you can Google if you need a further explanation. 

  • Alek locked and unlocked this topic

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.