August 7, 20214 yr Chops normal trees and drops the logs, you need to have a axe equipped or in the inventory.  This is my first script so please dont expect anything good.  Please report any bugs to me.  DOWNLOAD: https://github.com/BloodyNoah/Bloody-powerchopper SOURCE: https://github.com/BloodyNoah/BloodyTreeChopperSource Edited August 7, 20214 yr by BloodyNoah
August 7, 20214 yr Would be great if you included the sources so we can give you advices and help you 😃
August 7, 20214 yr Author 2 minutes ago, PICwarior381 said: Would be great if you included the sources so we can give you advices and help you 😃 Sure I am going to upload the source Â
August 7, 20214 yr Author 12 minutes ago, PICwarior381 said: Would be great if you included the sources so we can give you advices and help you 😃 Had some troubles with intellij so it has a own repo now:https://github.com/BloodyNoah/BloodyTreeChopperSource
August 7, 20214 yr Looks good but you might want to add some conditional sleeps for cutting the tree, otherwise it looks like its going to keep randomly clicking on the tree even if its still chopping it down. Â something like else if(tree != null && !myPlayer().isAnimating()){ log("Chopping..."); if(tree.interact("Chop down")){ new ConditionalSleep(10000, 600) { @Override public boolean condition() throws InterruptedException { return !myPlayer().isAnimating() && !myPlayer().isMoving() && !tree.exists(); } }.sleep(); } } Edited August 7, 20214 yr by skillerkidos1
August 7, 20214 yr Author 56 minutes ago, skillerkidos1 said: Looks good but you might want to add some conditional sleeps for cutting the tree, otherwise it looks like its going to keep randomly clicking on the tree even if its still chopping it down. Â something like else if(tree != null && !myPlayer().isAnimating()){ log("Chopping..."); if(tree.interact("Chop down")){ new ConditionalSleep(10000, 600) { @Override public boolean condition() throws InterruptedException { return !myPlayer().isAnimating() && !myPlayer().isMoving() && !tree.exists(); } }.sleep(); } } Â if(getInventory().dropAll("logs")){ new ConditionalSleep(10000, 600) { @Override public boolean condition() throws InterruptedException { return !getInventory().contains("logs"); } }.sleep(); } Yeah I saw that but I couldnt find out how to create them, thank you very much for your help 57 minutes ago, skillerkidos1 said: Looks good but you might want to add some conditional sleeps for cutting the tree, otherwise it looks like its going to keep randomly clicking on the tree even if its still chopping it down. Â something like else if(tree != null && !myPlayer().isAnimating()){ log("Chopping..."); if(tree.interact("Chop down")){ new ConditionalSleep(10000, 600) { @Override public boolean condition() throws InterruptedException { return !myPlayer().isAnimating() && !myPlayer().isMoving() && !tree.exists(); } }.sleep(); } } Â if(getInventory().dropAll("logs")){ new ConditionalSleep(10000, 600) { @Override public boolean condition() throws InterruptedException { return !getInventory().contains("logs"); } }.sleep(); } So you type in the bigger value first and the lower as 2nd? kinda weird but thank you.
August 7, 20214 yr 1 hour ago, BloodyNoah said: Yeah I saw that but I couldnt find out how to create them, thank you very much for your help So you type in the bigger value first and the lower as 2nd? kinda weird but thank you. first number is max time to sleep before waking up, 2nd number is how often it checks so 600 is every game tick Â
August 7, 20214 yr Author 2 hours ago, FuryShark said: This guide includes how to do interactions and conditional sleeps correctly Nice Thanks didnt thought scripters would be that nice to new onces. Cause thats like more competition. But thanks to everyone who helped Â
Create an account or sign in to comment