Jump to content

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


abouhanafy87

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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