-
Posts
37 -
Joined
-
Last visited
-
Days Won
2
Zenarchist last won the day on September 26 2022
Zenarchist had the most liked content!
About Zenarchist
Profile Information
-
Gender
Male
-
Location
: Australia
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Zenarchist's Achievements
-
Bruhuh reacted to a post in a topic: Generic Anti-Ban System
-
BeeMan42069 reacted to a post in a topic: Generic Anti-Ban System
-
Damian666 reacted to a post in a topic: Generic Anti-Ban System
-
crazykid080 reacted to a post in a topic: Generic Anti-Ban System
-
Hmm reacted to a post in a topic: Generic Anti-Ban System
-
RipperX reacted to a post in a topic: Generic Anti-Ban System
-
RipperX reacted to a post in a topic: Generic Anti-Ban System
-
lousy reacted to a post in a topic: Generic Anti-Ban System
-
GrainOfSand reacted to a post in a topic: Generic Anti-Ban System
-
MrJooj reacted to a post in a topic: Generic Anti-Ban System
-
Peace out everybody! Good luck with your coding journey.
- 18 replies
-
- antiban
- antipattern
-
(and 1 more)
Tagged with:
-
And here is my entire heavily-commented Helper class package for anyone who is curious and looking for ideas. Just put all of these into a package named Zen, then import Zen.* and call the constructor Zen(script) in your AbstractScript's start method to gain access to the generic helper methods, GUI and the AntiBan systems in your own scripts. This class contains features like generic shift-dropping methods, inventory slot pattern randomization, various widget IDs and coordinates etc. Basically it is just a custom library for simplifying any actions that are performed repeatedly across multiple scripts. Zen.java: ZenGUI.java: ZenAntiBan.java: Script Example:
- 18 replies
-
- antiban
- antipattern
-
(and 1 more)
Tagged with:
-
Long story short, I have decided to retire early from my OSRS scripting career and I feel bad leaving all this work I've done behind. So I figure I'll release the source code to everyone and maybe someone can learn something from it and then it isn't a complete waste of time lol. Features: Easy to use, robust anti-pattern system that randomizes various activities while botting. The current code will: Examine random entities (objects, npcs, ground and inventory items etc) Check a random stat (you can tell it which stats to check with antiban.setStatsToCheck(Skill.ATTACK, Skill.DEFENCE);) Type something random (gibberish) Move the mouse to a random location (and sometimes click the left or right button) Walk to a random location nearby Chop a random tree nearby Click on a random entity (object, npc, item etc.) Go AFK for a while (turns off autologin and random solvers temporarily) Open your inventory Open your stats menu Open your magic menu Open your combat menu (only if you have included Melee stats in your Stats to Check) Move the mouse off-screen for a while Move the camera randomly Trigger a "DO_RANDOM" flag for custom script-specific anti-pattern measures (eg. drop junk early etc.) It also includes ChatBot code (for retrieving CleverBot API responses). I will also include the code to my script-helper class just for anyone who is curious and maybe wants to steal some of my helper methods (such as randomized slot-pattern item dropping and general convenience methods). The way it was designed is to be used as a final callback after your usual script logic is performed. When your character is idling or between actions, call antiban.antiBan() to perform any of the given actions at random. Enjoy guys have fun. Script Example: package ZenTester; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.script.Category; import org.dreambot.api.script.ScriptManifest; import java.awt.*; @ScriptManifest(category = Category.MISC, name = "ZenTester", author = "Zenarchist", version = 1.0, description = "For testing") public class Main extends AbstractScript { // Declare anti-ban instance private ZenAntiBan antiban; @Override public void onStart() { // Initialize anti-ban instance antiban = new ZenAntiBan(this); } @Override public int onLoop() { // Check for random flag (for adding extra customized anti-ban features) if(antiban.doRandom()) log("Script-specific random flag triggered"); // Call anti-ban (returns a wait time after performing any actions) return antiban.antiBan(); } @Override // Draw anti-ban info to the screen public void onPaint(Graphics g) { g.drawString("Anti-Ban Status: " + (antiban.getStatus().equals("") ? "Inactive" : antiban.getStatus()), 10, 100); } } ZenAntiBan.java:
- 18 replies
-
- antiban
- antipattern
-
(and 1 more)
Tagged with: