Jump to content

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


Recommended Posts

Posted

 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 !!

Posted (edited)
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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...