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
  • Try asking for help in the chatbox
  • Snippet #1 - Disable Aid Fool!


    Recommended Posts

    Just a little one to get started.

    I couldn't see an obvious native method to disable aid. Hopefully I'm not reinventing the wheel.

    public void DisableAid(){
        if((getPlayerSettings().getConfig(427) & 1) == 1){
            WidgetChild aidToggle = getWidgets().getWidgetChild(261, 94);
            if(aidToggle != null){
                log("DisableAid() >> Disabling Aid");
                aidToggle.interact("Toggle Accept Aid");


    Link to comment
    Share on other sites

    Nice to see a snippet from you! Have a look at my version I made from your's, perhaps you notice some neat things about our API.

        public boolean disableAid(){
            if ((getPlayerSettings().getConfig(427) & 1) == 0)
                return true;
            if (!getTabs().open(Tab.OPTIONS))
                return false;
            WidgetChild aidToggle = getWidgets().getWidgetChild(261, 94);
            return aidToggle != null
                    && aidToggle.isVisible()
                    && aidToggle.interact("Toggle Accept Aid")
                    && sleepUntil(() -> (getPlayerSettings().getConfig(427) & 1) == 0, 2000);


    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.