Luxe 89 Author Posted April 19, 2024 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.
Deep Slayer 63 Posted April 20, 2024 @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 dann05021976 and Luxe 2
Luxe 89 Author Posted April 20, 2024 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
mangochut 0 Posted April 8 Just what I was trying to figure out over the past few days too XD You'd also want to capture an area around the brazier to see if your player is 1 square away (diagonals included) to make sure the player is inside it. @Luxe, I assume when you say food, you mean the potions? There shouldn't be any need to take food into WT anymore. I just setup my own solo WT bot if you wanna compare notes some time
Luxe 89 Author Posted April 23 On 4/8/2025 at 10:58 AM, mangochut said: Just what I was trying to figure out over the past few days too XD You'd also want to capture an area around the brazier to see if your player is 1 square away (diagonals included) to make sure the player is inside it. @Luxe, I assume when you say food, you mean the potions? There shouldn't be any need to take food into WT anymore. I just setup my own solo WT bot if you wanna compare notes some time this was before the update, but i got it working at that time. its outdated now and it was a private script
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now