
hilarion4
Members-
Posts
7 -
Joined
-
Last visited
hilarion4's Achievements
-
-
private void takeBreak() { Logger.log("Executing anti-ban Take a break"); this.getRandomManager().disableSolver(RandomEvent.LOGIN); Tabs.logout(); Mouse.moveOutsideScreen(true); Sleep.sleep(20*60*1000, 24*60*1000); this.getRandomManager().enableSolver(RandomEvent.LOGIN); }
-
hilarion4 reacted to a post in a topic: Would someone help me with anti-ban features?
-
wooow thank you very much!!!
-
im making a switch function and Id like to add click objects, bump mouse, price check, and click players. I've seen this features but idk how to write the code correctly. Ive learned the check stats for example: Skills.open(); Sleep.sleep(300, 2 * 1000); Skills.hoverSkill(Skill.MINING); Sleep.sleep(300, 2 * 1300); Tabs.open(Tab.INVENTORY); Could u help me? thanks.
-
Hi, since I have starting codes Im managing to make awesome flawless scripts! except, not so flawless, while testing, I realized I mustto add many anti-ban features as I can! Could someone help me with that?
-
hilarion4 reacted to a post in a topic: Would someone help tell me why this script only do once?
-
Thank you very much!!!
-
Im new and im trying to code some dreamt scripts. here's my code. import org.dreambot.api.methods.item.GroundItems; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.utilities.Logger; import org.dreambot.api.utilities.Sleep; import org.dreambot.api.wrappers.interactive.NPC; import org.dreambot.api.wrappers.items.GroundItem; import org.dreambot.api.script.Category; import org.dreambot.api.methods.interactive.NPCs; @ScriptManifest(name = "Chicken Killer", description = "My script description!", author = "Developer Name", version = 1.0, category = Category.COMBAT, image = "") public class teste extends AbstractScript { GroundItem pena = GroundItems.closest("Feather"); NPC chicken = NPCs.closest("Chicken"); private int state = 0; @Override public int onLoop() { if (state == 0) { matar(); } if (state != 0) { coletar(); } return 0; } private void matar() { if (chicken != null) { chicken.interact("Attack"); Logger.log("Atacou"); Sleep.sleep(4000,5000); state++; } } private void coletar() { if (pena != null) { pena.interact("Take"); Logger.log("Pegou"); state = 0; } } }