mrfuzzball Posted May 23, 2019 Share Posted May 23, 2019 I got banned for using a very simple bucket filling script I made. I ran it for 6 hours and was banned sometime last night during the update. How can I make my bot less detectable?? Would adding random sleeps and random clicks change anything? How are more complex bots made that go undetected for long periods? Here's the code I used: import org.osbot.rs07.api.filter.Filter; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.Item; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.input.keyboard.TypeStringEvent; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; @ScriptManifest(author = "Teet", info = "V1", logo = "", name = "Bucket filler", version = 1.0) public class Main extends Script { @Override public void onStart() throws InterruptedException { super.onStart(); } private double getHpPercent() { double hpPercentage = getSkills().getDynamic(Skill.HITPOINTS) * 100 / getSkills().getStatic(Skill.HITPOINTS); return hpPercentage; } private void bank() throws InterruptedException { RS2Object bank1 = getObjects().closest(obj -> obj != null && obj.getName().equals("Bank chest") && getMap().canReach(obj)); if (!myPlayer().isAnimating()) { if (bank1 != null) { if (bank1.interact("Use")) { sleep(2000); log("reacting with bank"); bank.depositAll("Bucket of water"); sleep(1000); bank.withdrawAll("Bucket"); } } } } @Override public int onLoop() throws InterruptedException { RS2Object pond = getObjects().closest(obj -> obj != null && obj.getName().equals("Fountain") && getMap().canReach(obj)); if(!myPlayer().isAnimating()){ if(pond != null){ getWalking().walk(new Position(3221, 3212,0)); log("walking.... "); sleep(2500); getCamera().toEntity(pond); if(inventory.contains("Bucket") ){ if(!myPlayer().isAnimating()) { inventory.getItem("Bucket").interact("Use"); } mouse.moveOutsideScreen(); if(pond.interact()){ Item[] contents = inventory.getItems(); sleep(1000); boolean correctClick = inventory.contains("Bucket of water"); if(correctClick) { new ConditionalSleep(25000) { @Override public boolean condition() throws InterruptedException { return (!inventory.contains("Bucket")); } }.sleep(); }else{log("Player was not animating, retrying.."); } log("reacting with pond"); } } } } Item[] contents = inventory.getItems(); if( inventory.isEmpty() ) { bank(); } else if(contents[contents.length-1].getName().equals("Bucket of water")){ bank(); } return 0; } @Override public void onExit() throws InterruptedException { super.onExit(); } } Quote Link to comment Share on other sites More sharing options...
TheMcPker Posted May 23, 2019 Share Posted May 23, 2019 Im surprised this took 6hrs to be banned tbh 1 Quote Link to comment Share on other sites More sharing options...
Mordred Posted May 23, 2019 Share Posted May 23, 2019 You should implement the ultimate ANTI-Ban technique. Pm @Chris or @Malcolm for free access Quote Link to comment Share on other sites More sharing options...
mrfuzzball Posted May 23, 2019 Author Share Posted May 23, 2019 7 minutes ago, TheMcPker said: Im surprised this took 6hrs to be banned tbh Lol literally first time coding a script. Quote Link to comment Share on other sites More sharing options...
Charlotte Posted May 23, 2019 Share Posted May 23, 2019 You bot for 6hrs and you do the same repeated tasks over and over. And you want to make it less detectable Quote Link to comment Share on other sites More sharing options...
mrfuzzball Posted May 23, 2019 Author Share Posted May 23, 2019 (edited) 20 minutes ago, Charlotte said: You bot for 6hrs and you do the same repeated tasks over and over. And you want to make it less detectable Oh i'm not denying what I did was detectable lol. I'm just wondering if there is any way around it. I was thinking of maybe combining scripts in a randomized manner that would call on one script and begin a new task, and then after a randomized amount of time call on another script so that there is really no repetition. But from reading the ban avoidance thread it seems like there is no way to avoid ban. The weird thing to me is I've used many scripts on RSbot to level my accounts to max and I was never banned. These were free scripts I left running for 10 hours a day sometimes. That tells me there are ways of remaining undetected. That's what i'm asking about here. 31 minutes ago, Mordred said: You should implement the ultimate ANTI-Ban technique. Pm @Chris or @Malcolm for free access I'm guessing you're trolling. Thanks Edited May 23, 2019 by mrfuzzball Quote Link to comment Share on other sites More sharing options...
DaAlmyte Posted May 23, 2019 Share Posted May 23, 2019 Static sleeps Quote Link to comment Share on other sites More sharing options...
TheMcPker Posted May 23, 2019 Share Posted May 23, 2019 56 minutes ago, mrfuzzball said: Lol literally first time coding a script. Maybe practice before asking people to invest time in giving you the answers. You learn how to make scripts last longer by writing alot of scripts and exsperimenting with what works and what doesn't you can't expect to last super long if your new no matter how many small tips people give (people won't say their real tricks anyways) all tips you wil get here are either trolls or common bullshit that everyone already knows. No offence man just the truth Quote Link to comment Share on other sites More sharing options...
Dockerexe Posted May 23, 2019 Share Posted May 23, 2019 Start with random sleep times and go from there... 6 hours of botting with the exact same sleeping down to the ms is pretty damn obvious. Quote Link to comment Share on other sites More sharing options...
mrfuzzball Posted May 23, 2019 Author Share Posted May 23, 2019 (edited) 24 minutes ago, TheMcPker said: Maybe practice before asking people to invest time in giving you the answers. You learn how to make scripts last longer by writing alot of scripts and exsperimenting with what works and what doesn't you can't expect to last super long if your new no matter how many small tips people give (people won't say their real tricks anyways) all tips you wil get here are either trolls or common bullshit that everyone already knows. No offence man just the truth k 20 minutes ago, Dockerexe said: Start with random sleep times and go from there... 6 hours of botting with the exact same sleeping down to the ms is pretty damn obvious. I def agree. Ill try random sleeps and some other stuff Edited May 23, 2019 by mrfuzzball Quote Link to comment Share on other sites More sharing options...
Space Posted May 23, 2019 Share Posted May 23, 2019 Something that might also help is not botting for 6 hours straight collecting & or filling buckets. I dont even know if any venezuelans would be able to do that for 6 hours straight if they were getting $0.3 usd p/h Quote Link to comment Share on other sites More sharing options...
mrfuzzball Posted May 23, 2019 Author Share Posted May 23, 2019 2 minutes ago, Naynay said: Something that might also help is not botting for 6 hours straight collecting & or filling buckets. I dont even know if any venezuelans would be able to do that for 6 hours straight if they were getting $0.3 usd p/h LOL its ridiculous how venezuelans are gold farming hard core now. And I know bro. I'm literally in a testing phase rn trying to figure out how to make bots that can stay unbanned for some decent period. I'm testing it on very arbitrary tasks so that I can just get a feel of how fast/why we get banned. I'm now going to update the above script and will re-run the bot for another 6-10 hours tonight. results will be posted here. Stay tuned Quote Link to comment Share on other sites More sharing options...
GPSwap Posted May 23, 2019 Share Posted May 23, 2019 look into conditional sleeps f2p bans are basically daily and at the same time of day anyway so maybe you just had bad luck with when you started 1 Quote Link to comment Share on other sites More sharing options...
Midasz Posted May 24, 2019 Share Posted May 24, 2019 > sleep(2000); ??????? Quote Link to comment Share on other sites More sharing options...
metemeloshifu Posted April 17 Share Posted April 17 I guess u cant ask question on a forum lol To follow this if anyone comes, adding sleeps, mixing diff actions, going idle, disconnect after some hours. Quote Link to comment Share on other sites More sharing options...