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.

Client Does Not Want to Show My Local Scripts

Featured Replies

What are the proper steps to do this?

 

Unfortunately after placing the script in the OSBot script folder it does not want to appear in the Script Selector. :/

 

Picture of the situation:

http://puu.sh/kVfKG/c6b5c28081.png

Edited by Goku1

do you have a script manifest on your local scripts.?

 

  • Author

do you have a script manifest on your local scripts.?

Can you show me an example of what you are describing?

Can you show me an example of what you are describing?

@ScriptManifest(name = "ScriptName", author = "YourName", version = 1.0, info = "", logo = "") 
public class YourScript extends Script {

Edited by Stress

  • Author
@ScriptManifest(name = "ScriptName", author = "YourName", version = 1.0, info = "", logo = "") 
public class YourScript extends Script {

The first script listed in my pic is a free local woodcutter from the second one is a script of my own. This is how my script looks like with the manifest: http://puu.sh/kVkBw/cdf1628968.png

 

The first script listed in my pic is a free local woodcutter from the second one is a script of my own. This is how my script looks like with the manifest: http://puu.sh/kVkBw/cdf1628968.png

 

 

  1. The "logo" parameter in the Manifest should be not text, as it is an image, hence logo. :p
  2. As well, you have errors in your script, meaning it won't compile, correctly at least, while the errors exist.

The reason for the error is because your using old osb coding format. Before we needed to grab client instance to be able to grab our methods.

Instead now script is above method provider. And MP have all these class that are organized with methods.

You should read uo on the method prover class

  • Author

 

  1. The "logo" parameter in the Manifest should be not text, as it is an image, hence logo. tongue.png
  2. As well, you have errors in your script, meaning it won't compile, correctly at least, while the errors exist.

 

This is a simple tree woodcutter. I cannot get rid of the errors because of these options:

 

http://puu.sh/kVlJV/83773f04ea.png

 

http://puu.sh/kVlM2/0495d57901.png

 

http://puu.sh/kVlMY/26529bd576.png

 

What would be alternative options to handling this?

The reason for the error is because your using old osb coding format. Before we needed to grab client instance to be able to grab our methods.

Instead now script is above method provider. And MP have all these class that are organized with methods.

You should read uo on the method prover class

Is the new coding format easier than the old? I need the examples of the new methods converted from my powerchop script. 

This is a simple tree woodcutter. I cannot get rid of the errors because of these options:

 

http://puu.sh/kVlJV/83773f04ea.png

 

http://puu.sh/kVlM2/0495d57901.png

 

http://puu.sh/kVlMY/26529bd576.png

 

What would be alternative options to handling this?

Is the new coding format easier than the old? I need the examples of the new methods converted from my powerchop script. 

 

http://osbot.org/forum/topic/58775-a-beginners-guide-to-writing-osbot-scripts-where-to-get-started-by-apaec/

  • Author

I attempted to use that guide but it does not translate well to understand a simple woodcutter from a simple thiever. I managed to fix the issue of the scripts not showing up. I had .jar in a few of the scripts within the OSBot folder, along with multiple old versions of the OSBot folders scattered in my Pc. I deleted the client and everything related to OSBot and re downloaded and problem was fixed. Now I am having personal issues with my powerchops script. After starting the script, this is what it says in the log field: http://puu.sh/kVoj6/4c40353f39.png 

 

I can't grasp the knowledge on how to fix my three errors. Any tips? I just want it to be a simple regular tree cutter.

 

 

http://puu.sh/kVlJV/83773f04ea.png

 

http://puu.sh/kVlM2/0495d57901.png

 

http://puu.sh/kVlMY/26529bd576.png

Edited by Goku1

No need to define the inventory as something.

 

As in Apeac's tutorial, he simply used:

if (inventory.isFull()) {

Tree entity:

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

Camera:

Camera.toEntity(tree);

No need to define the inventory as something.

 

As in Apeac's tutorial, he simply used:

if (inventory.isFull()) {
Tree entity:

Entity tree = objects.closest("TREE_NAME");
Camera:

Camera.toEntity(tree);
Tell him to use the getter methods instead of the public fields.

Also op you didn't even look through the api. And if you remove the word client where you have most of the errors it should get rid of some errors

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.