Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • [solved] Script works on 2 out of 3 PCs on the same exact account


    dreww

    Recommended Posts

    same exact account, same exact setup, same settings on dreambot, java up to date

    runs fine on 2 out of 3 PCs but gets an unknown exception when trying to use an item on 1 PC

    anyone know what the issue here might be?

    Link to comment
    Share on other sites

    6 minutes ago, Milasoft said:

    Can you post the error?

    It constantly spams this NPC thing regardless of whether it's stuck or not, so I don't think it's relevant. The Exception happens whenever it tries to use the item. This is all it says.

    Mhbv9QF.png

    Link to comment
    Share on other sites

    can you scroll to the right or no?

    if not, can you save this as a .bat file and run it through there so it will show the full error.

    cd C:\Users\YOURUSERNAME\DreamBot\BotData
    java -Xdebug -jar client.jar

    if you are on windows that is..

    Link to comment
    Share on other sites

    10 minutes ago, Milasoft said:

    can you scroll to the right or no?

    Didn't realize it said much more other than contact the developer, my bad. It has a NullPointerException when I click the item, but the item is there.

    Link to comment
    Share on other sites

    21 minutes ago, Milasoft said:

    Can you post the code for the interaction? 

    public int onLoop() {
            if (!READY) {
                if (!getLocalPlayer().getTile().equals(START_TILE)) {
                    getWalking().walkExact(START_TILE);
                    return 3000; //check again in 3 seconds
                } else {
                    getInventory().get("MY ITEM").interact(); //changed to hide method :P
                    getWalking().walkExact(CLICK_TILE);
                    READY = true;
                    return 0;
                }
            } else {
                //do other stuff
            }
            return 300; //loops every half tick
        }

     

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.