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.

java.lang.RuntimePermission" "accessClassInPackage.com.sun.activation.registries . some help !!

Featured Replies

 Blocked permission: ("java.lang.RuntimePermission" "accessClassInPackage.com.sun.activation.registries")
[INFO][Bot #1][06/10 11:29:06 PM]: Terminating script Rock_bot...
[INFO][Bot #1][06/10 11:29:06 PM]: Script Rock_bot has exited

this message is show after hop method (hoptop2pworld()) :

public void hopworld(int ww) {
    hopping = true;
    rotation=0;
    currentNode=null;
    log("hop to world " +ww);
    if(lookup()==0){
        getWorlds().hopToP2PWorld();
    }else {
        getWorlds().hop(lookup());
        Sleep.sleepUntil(() -> myPlayer().exists() && myPlayer().isVisible(),random(30000, 40000));
        if(fromTable){
            wait = new Timer(random(11000,15000));
        }else wait = new Timer(random(40, 70)*115);
        log("wait time is : " + wait.getRemaintime());
    }

}

some help !!

8 hours ago, abouhanafy87 said:

 Blocked permission: ("java.lang.RuntimePermission" "accessClassInPackage.com.sun.activation.registries")
[INFO][Bot #1][06/10 11:29:06 PM]: Terminating script Rock_bot...
[INFO][Bot #1][06/10 11:29:06 PM]: Script Rock_bot has exited

this message is show after hop method (hoptop2pworld()) :

public void hopworld(int ww) {
    hopping = true;
    rotation=0;
    currentNode=null;
    log("hop to world " +ww);
    if(lookup()==0){
        getWorlds().hopToP2PWorld();
    }else {
        getWorlds().hop(lookup());
        Sleep.sleepUntil(() -> myPlayer().exists() && myPlayer().isVisible(),random(30000, 40000));
        if(fromTable){
            wait = new Timer(random(11000,15000));
        }else wait = new Timer(random(40, 70)*115);
        log("wait time is : " + wait.getRemaintime());
    }

}

some help !!

well like it says, blocked permissions. You are doing somnehting in osbot that's not allowed or breaks the privacy policy.
Probably doing something in the lookup() method? :)

If you are loading worlds from a file make sure the file is inside the OSBot/data folder, everything other file outside of that will be blocked.
If you are loading from something else, you might have to do it differently

Edited by Khaleesi

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.