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
  • [Free] SomAgilityPyramid - 160k+ gp/hr - 25k+ xp/hr - Banking


    osrssom

    Recommended Posts

    2:13:41 AM: [ERROR] Exception has occurred while running! Please report error to developer if problem persists:
        java.lang.NullPointerException
        at c.f(c.java:170)
        at c.onLoop(c.java:79)
        at org.dreambot.api.script.AbstractScript.run(AbstractScript.java)
        at java.lang.Thread.run(Unknown Source)

     

    Link to comment
    Share on other sites

    52 minutes ago, edvinasli20 said:

    Acc stats: 27hp

    35agility

     

    Starting script in Nardah bank, food: trout

    Takes waterskins (have 100 in bank)

    takes trout (have 100 in bank)

    closes bank

    open bank

    deposits all inv and repeat action, so didnt work for me

    Strange, the only thing that could cause this is the script not registering that you have enough food in your inventory when you close the bank. Are you entering "Trout" or "trout" for the food type?

    Link to comment
    Share on other sites

    15 hours ago, osrssom said:

    Strange, the only thing that could cause this is the script not registering that you have enough food in your inventory when you close the bank. Are you entering "Trout" or "trout" for the food type?

    you can ensure the input string will always be formatted to OSRS naming conventions like so:

    //Ensures itemName follows OSRS naming conventions
    private static String itemNameFormatting(String itemName)
    {
        StringBuilder formatted = new StringBuilder();
        String lower = itemName.toLowerCase();
        boolean upperCase = true;
        for(int i = 0; i < lower.length(); i++)
        {
            char letter = lower.charAt(i);
            if(upperCase)
            {
                String upper = "" + letter;
                formatted.append(upper.toUpperCase());
                upperCase = false;
            }
            else
            {
                if(letter == ' ')
                    upperCase = true;
                formatted.append(letter);
            }
        }
        MethodProvider.log("Formatted itemName: " + itemName + " to: " + formatted);
        return formatted.toString();
    }

    If you want to add extra polish you can add a Document Filter to the textfield and force it to not accept numbers (or if wanting numbers, not except letters)

    Link to comment
    Share on other sites

    On 11/6/2021 at 9:56 AM, booknar said:

    Hi man, theres a huge delay in each movement, atleast 15 seconds from each obstacle. can you please change this asap?

    Will look into it further tomorrow. 

    Link to comment
    Share on other sites

     

    On 11/6/2021 at 3:56 PM, booknar said:

    Hi man, theres a huge delay in each movement, atleast 15 seconds from each obstacle. can you please change this asap?

    Let the script run in fixed - classic layout & it will be faster.

    Edited by TehMadIndian
    Link to comment
    Share on other sites

    5 hours ago, TehMadIndian said:

    Is the script registering choc-ice as a valid source of food?

    If you enter the food name correctly and the item's first object is "Eat" it will work.

    5 hours ago, TehMadIndian said:

     

    Let the script run in fixed - classic layout & it will be faster.

    Wow, is this why people keep commenting this and I haven't been able to figure out the issue? Didn't know anybody botted in resizable.

    Link to comment
    Share on other sites

    Seems to be working great in general without any major setbacks. Though, I'd recommend adding either a timer switch or using "run" when going past the pushing blocks as it walked infront of the block 3 times in a row which doesn't look very human like. Additionally, adding the option of eating the other half of the Summer pie (Agility boosting food) would be a nice addition as it seems to get an error when adding both the "Summer pie" and "Half a summer pie" to the GUI. Awesome script though!!

     

    Link to comment
    Share on other sites

    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
    ×
    ×
    • 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.