SuperDirk250 0 Share Posted September 24, 2019 I made my first basic woodcutter script. I completed tutorial island by myself on 2 accounts. The 1st account i used to actually learn and make the script. When i was done with the basics i immediatly tried to make it more complex to not get picked up as a bot as fast. After i went to bed and woke up, the account was banned. The 2nd Account i used the more advenced script and tried to improve on it with more randomised timers and random clicks. i programmed and used it in total for about 2 hours, i logged out and checked the account status. It was already banned. Is this the fault of my script? Or the fact that i am using free services to hide my ip? I used a free VPN windscribe for the 1st account. A free soc5 proxy for the 2nd account that worked and was pretty fast. I know the code is a bit messy but i am still experementing import org.dreambot.api.methods.Calculations; import org.dreambot.api.methods.map.Area; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.script.Category; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.wrappers.interactive.GameObject; import java.util.Arrays; import java.util.List; @ScriptManifest( author = "Dirk", description = "1st bot", category = Category.WOODCUTTING, name = "1st bot", version = 3) public class Main extends AbstractScript { private List<String> boomLijst = Arrays.asList("Tree", "Dead tree", "Oak"); @Override public void onStart() { log("Starting...."); } @Override public void onExit(){ } @Override public int onLoop() { int wandelRandmom = Calculations.random(0,6); GameObject tree = getGameObjects().closest(gameObject -> gameObject != null && gameObject.hasAction(("Chop down")) && gameObject.getID() != 1278 && boomLijst.contains(gameObject.getName())); if(!getInventory().isFull() && wandelRandmom != 5) { if(tree.interact("Chop down")) { log("Geklikt op een boom"); do { sleep(2000); }while(getLocalPlayer().isMoving() && !getLocalPlayer().isAnimating()); sleepUntil(() -> !getLocalPlayer().isAnimating() , 50000); randomRest(); } } else if (getInventory().isFull()) { getInventory().dropAll(); } else { log("WALKING"); Area nearMe = tree.getSurroundingArea(3); getWalking().walk(nearMe.getRandomTile()); sleep(214, 1200); } return 0; } private void randomRest(){ int timer = Calculations.random(0, 10); int wachtWaarde = 0; if(timer == 0 || timer == 1 || timer == 2 || timer == 3) { wachtWaarde = Calculations.random(345, 786); } else if(timer == 4 || timer == 5 || timer == 6) { wachtWaarde = Calculations.random(620, 1832); } else if(timer >= 7 && timer <= 8) { wachtWaarde = Calculations.random(332, 4278); } else { wachtWaarde = Calculations.random(3256, 7842); } log("" + wachtWaarde); } } Link to comment Share on other sites More sharing options...
Soldtodie 76 Share Posted September 24, 2019 Don't use free proxys. But keep in mind that you can't bot 10h straight everyday without getting banned. Link to comment Share on other sites More sharing options...
depwession 26 Share Posted September 24, 2019 I don't currently have the time to go over the inefficiencies of your script though I'm sure someone will. But the free VPN and free socks5 are most likely your problem. Idk if your script is also easily detectable but right now using these proxies/vpn's aren't giving you the chance to see if your script's antipattern works properly. Link to comment Share on other sites More sharing options...
SuperDirk250 0 Author Share Posted September 24, 2019 When using a paid proxy, how do you figure out a way to make it as undetectable as possible? Link to comment Share on other sites More sharing options...
Soldtodie 76 Share Posted September 24, 2019 There isn't a perfect antiban (not public). Just don't use static sleeps and don't use scripts everyday for long periods without breaks. Just switch skills and scripts. Link to comment Share on other sites More sharing options...
SuperDirk250 0 Author Share Posted September 24, 2019 So that randomRest method is useless? What should i use instead of sleeps then? Link to comment Share on other sites More sharing options...
Soldtodie 76 Share Posted September 24, 2019 I don't know if it's useless. Just change your patterns(sleeps, skill, speed...) all time long. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.