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
  • Wintertodt animations


    ImLife

    Recommended Posts

    Bumping this

    will give 25$ to anyone with a code snippet or tips leading to a solution for dodging wintertodt brazier breaking and wintertodt dodge snowfall.

    Link to comment
    Share on other sites

    @ImLife

     

    Hey mate,

    //this solution was already given to you by someone else, just add the dodging logic.

    Tile playerTile = Players.getLocal().getTile();
    List<GraphicsObject> graphicsObjects = Client.getGraphicsObjects();
    for (GraphicsObject graphicsObject : graphicsObjects)
    {
        if (graphicsObject != null && graphicsObject.getTile().equals(playerTile)) {
            log("about to take damage");
            //add your dodging logic here
            break;
        }
    }
    
    
    //all u have to do for the brazier breaking is check for a unique characteristic of the projectile being fired, in this case it's the height.
    
    List<Projectile> projectiles = Client.getProjectiles();
    for (Projectile projectile : projectiles) {
        if (projectile.getID() == 501 && projectile.getHeight() == -1268 ) {
            log("brazier is about to break");
            //add your dodging logic here
                break;
        }
    }
    

     

    you might want to filter out which brazier the projectile is going to as well, its a pretty easy fix

    Link to comment
    Share on other sites

    8 hours ago, Deep Slayer said:

    @ImLife

     

    Hey mate,

    //this solution was already given to you by someone else, just add the dodging logic.

    Tile playerTile = Players.getLocal().getTile();
    List<GraphicsObject> graphicsObjects = Client.getGraphicsObjects();
    for (GraphicsObject graphicsObject : graphicsObjects)
    {
        if (graphicsObject != null && graphicsObject.getTile().equals(playerTile)) {
            log("about to take damage");
            //add your dodging logic here
            break;
        }
    }
    
    
    //all u have to do for the brazier breaking is check for a unique characteristic of the projectile being fired, in this case it's the height.
    
    List<Projectile> projectiles = Client.getProjectiles();
    for (Projectile projectile : projectiles) {
        if (projectile.getID() == 501 && projectile.getHeight() == -1268 ) {
            log("brazier is about to break");
            //add your dodging logic here
                break;
        }
    }
    

     

    you might want to filter out which brazier the projectile is going to as well, its a pretty easy fix

    Ahh, jesus christ... its the height of the projectile 🥲
     

    Dm me that paypal link

    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.