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.

-allow nointerface

Featured Replies

Hi guys, i am new to this community and dunno limitations for free users. When i try run OSBot client with "-allow nointerface" arg it log in and my test script works around 1 minute, then exit with error code 0. In normal mode it works fine. It is because i am not VIP user?

P.S. Does OSBot have discord? The old invite link (https://discord.gg/osbot) do not works for me.

Edited by vztot

The invite link is at the top of the page

I'm not aware of any restrictions on CLI arguments for non-VIP users, it's most likely something else which requires further debugging in the script code

  • Author

Here is my exec string:

Quote

java -jar OSBot\ 2.5.59.jar -login vztot:xxxxx -data 0 -allow nointerface,lowcpu,lowresourse,norender -bot 001@xxx.xxx:xxxxx:0000 -world 456 -script OSBotTest:test -debug 5005
 

And here is my script code:

Quote

import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;

@ScriptManifest(name = "OSBotTest", author = "vztot", version = 1.0, info = "", logo = "")

public class Main extends Script {

    @Override
    public void onStart() {
        log("Script started...");
    }

    @Override
    public int onLoop() {
        log("Looping...");
        return 1000;
    }
}

 

Bot works 55-65 seconds every time and then:

 

Cant find out.

Screenshot from 2019-10-27 13-49-34.png

Edited by vztot

1 hour ago, vztot said:

Here is my exec string:

And here is my script code:

 

Bot works 55-65 seconds every time and then:

 

Cant find out.

Screenshot from 2019-10-27 13-49-34.png

It's working fine for me, correct your lowresourse typo and try port 0

d6gr7l2.gif

  • Author
Quote

correct your lowresourse typo...

What typo? If u mean " , " here says that -allow permissions are separated by " , ". Or i should add "-allow" to every permission?

 

Quote

...try port 0

Ok. I'll use "-debug 0".

 

I made a few changes in .sh files and script. Lets look:

We have 2 exec strings that should run OSBot in normal state and nointerface. The strings:

normal.sh:

Quote

#!/bin/bash
java -jar OSBot\ 2.5.59.jar -login vztot:XXXXX -data 0 -allow lowcpu,lowresourse,norender -bot 001@osbot.com:XXXXX:0000 -world 455 -script OSBotTest:test -debug 0

nointerface.sh:

Quote

#!/bin/sh
java -jar OSBot\ 2.5.59.jar -login vztot:XXXXX -data 0 -allow nointerface,lowcpu,lowresourse,norender -bot 002@osbot.com:XXXXX:0000 -world 455 -script OSBotTest:test -debug 0

 

OSBot script (changed):

Quote

import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;

@ScriptManifest(name = "OSBotTest", author = "vztot", version = 1.1, info = "", logo = "")

public class Main extends Script {

    long startTime;

    @Override
    public void onStart() {
        System.out.println("Script started...");
        startTime = System.currentTimeMillis();
    }

    @Override
    public int onLoop() {
        System.out.println("Looping... " + (System.currentTimeMillis() - startTime)/ 1000 + " sec.");
        return 1000;
    }

    @Override
    public void onExit(){
        System.out.println("TTL Runtime: " + (System.currentTimeMillis() - startTime)/ 1000 + " sec.");
    }
}

 

 

 Lets see what is happening in my case:

https://streamable.com/vpibg

 

We see that normal.sh is working fine but nointerface.sh is closed with error code 0. What it could be?

P.S. nointerface is logged in 100% cos i hear sound of tutisland

Edited by vztot

1 hour ago, vztot said:

What typo? If u mean " , " here says that -allow permissions are separated by " , ". Or i should add "-allow" to every permission?

 

Ok. I'll use "-debug 0".

 

I made a few changes in .sh files and script. Lets look:

We have 2 exec strings that should run OSBot in normal state and nointerface. The strings:

normal.sh:

nointerface.sh:

 

OSBot script (changed):

 

 

 Lets see what is happening in my case:

https://streamable.com/vpibg

 

We see that normal.sh is working fine but nointerface.sh is closed with error code 0. What it could be?

P.S. nointerface is logged in 100% cos i hear sound of tutisland

By typo I mean the word is spelled resource not resourse, which may be the reason why it selects world 3155 in the stdout. Also disable the remember username feature. Change the flag order according to requirements in that table so that every flag is preceded by its required flags. If all else fails, try the oracle jdk as OSBot does not support open jdk (I don't know if that deprecation message appears by default with oracle jdk when starting OSBot or from additional flags that you may have used).

If nothing works. it's best to ask the developers if there is any problem with nointerface in tutorial island as this is a special context, but it's highly unlikely.

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.