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.

limited to 1 local script?

Featured Replies

this was driving me nuts lol, i could not get the bot to find my script, until i figured out it only allows up to 1 local script, so i just deleted the other jar i had in there

Pretty sure this had to be limited based on status,vip,sponsor etc because I have 6 or 7 local scripts that are functional.

Just buy vip..

this was driving me nuts lol, i could not get the bot to find my script, until i figured out it only allows up to 1 local script, so i just deleted the other jar i had in there

It has to do something with the scripts' core. if the mainclass in a script is called main.java and in a second script the mainclass is called the same --> one of those two will only appear.

  • Author

this is off topic but i also have another question and i dont want to make another topic, 
are references to entities still valid after the entity changes (ie. when you chop down a tree and becomes a tree stump that entity changes) , so basically if i could still interact with the same tree instance after it respawns

this is off topic but i also have another question and i dont want to make another topic, 

are references to entities still valid after the entity changes (ie. when you chop down a tree and becomes a tree stump that entity changes) , so basically if i could still interact with the same tree instance after it respawns

As long as you're calling them by String (entity name), then yes, after respawn your interaction will still work :). Just make sure you use a null check else if you cut them all down problems shall arise.

  • Author

As long as you're calling them by String (entity name), then yes, after respawn your interaction will still work smile.png. Just make sure you use a null check else if you cut them all down problems shall arise.

if i instantiate it like so

 

ent= getObjects().closest(new Area(...,tree id);

 

and it is not null, i chop it, it respawns, will this still be valid

if i instantiate it like so

 

ent= getObjects().closest(new Area(...,tree id);

 

and it is not null, i chop it, it respawns, will this still be valid

That's correct, this is the entity declaration I use in my Willow Cutter:

	Entity tree = objects.closest("Willow");

It seems to work perfectly fine with respawned trees. I'd highly advise you avoid using the trees ID's as they're prone to changing on the fly, especially after updates.

  • Author

That's correct, this is the entity declaration I use in my Willow Cutter:

Entity tree = objects.closest("Willow");
It seems to work perfectly fine with respawned trees. I'd highly advise you avoid using the trees ID's as they're prone to changing on the fly, especially after updates.
Im still pretty new when it comes to osbot scripts ( and rs bots in general) but I'll definitely keep that in mind

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.