Everything posted by Auron
-
Tutorial Island Completer v1.0 [+Other Features]
Haha, yeah man I know all your troubles. Thanks for the offer, but I've finished now lol. But it would be good to hear your opinion on some things. In particular clicking continue on interactions, wow that was fun to get around. Also I noticed the way your of deciding which step you were on is a bit hacky. I used the progression bar widget to see which step I was on. Here's my method: private int getState() { for (int i = 1; i < 21; i++) { if (s.widgets.get(371, i) != null && s.widgets.get(371, i).getTextColor() == 0) { if (debug) s.log("Getting state" + (i - 1)); return i - 1; } } return -1; }
-
Tutorial Island Completer v1.0 [+Other Features]
Dude I'm literally developing a VERY similar thing hahaha. At the moment it does exactly this. I'm planning on adding loads of other things though Good job with the tut island, I know how annoying it can be.
-
Help with my Chicken Killer
Eclipse does tell to import if you hover over the red text. Ctrl+shift+o is a useful shortcut to sort out all imports, super useful. Another useful shortcut in eclipse is ctrl+shift+f which formats your code to make it more readable. As for the code, I'd split it up into logical steps: if (not in combat) NPC chicken = findChicken(); attack(chicken); else Sleep or do anything you would do in combat As for a findChicken method, something like this. private NPC findNPC(NPC... exceptions) { @SuppressWarnings("unchecked") NPC chicken = getNpcs().closest(new Filter<NPC>() { @Override public boolean match(NPC npc) { return npc.getName().equals("Chicken") && !npc.isUnderAttack() && (npc.getHealthPercent() > 0) } }); return chicken; } And for attack, maybe private void attack(NPC chicken) throws InterruptedException { if (chicken != null) { if (map.canReach(chicken)) { if (chicken.isVisible()) { chicken.interact("Attack"); } else { s.camera.toEntity(chicken); } } } } I think it's just a good habit overall to split your steps into methods, leads to cleaner code and makes it so you can reuse it often.
-
Auron's Chicken Killer - most advanced chicken killer ever? [Train for desired stats] [Intelligent fighting, looting & burying] [Target 0 ban rate]
I saw something similar in Script request forum. That's a top idea. Do ya know what, I'm gonna do it. Thanks
-
Auron's Chicken Killer - most advanced chicken killer ever? [Train for desired stats] [Intelligent fighting, looting & burying] [Target 0 ban rate]
Impossible eh? Well let's see how close we can get Damn, time for a rewrite Ty it's nice to know the script will be useful Adding more locations is very straightforward. I just wanted to avoid the need for any food so I could concentrate on other things, much like the target user of the script. However, can seagulls hit when your ~20 defence?
-
Auron's Chicken Killer - most advanced chicken killer ever? [Train for desired stats] [Intelligent fighting, looting & burying] [Target 0 ban rate]
Status: Ready to apply for SDN Hey all, my name's Auron and this is my first script, a possibly ridiculously over-complicated chicken killer. Why so many features for just a little script? I was experimenting. I had one aim: to make the most human fighter I could possibly make with zero bans. Of course there are always ways to make it better, and I would love to hear feedback on additional features, however small, to make it more human-like. I'm most likely going to be using many of these features in another project, but for now I'd like to demonstrate them as a chicken killer. This script is perfect for fresh accounts - start from Lumbridge castle and say you want 20/20/20 stats and that's what it will do! Features: Input desired stats and script will stop once acquired Feather looting Bone burying Antiban/Antipattern Chance of hovering over next chicken when current chicken is about to die Chance of right clicking and hovering over 'attack' for next chicken Won't always find closest next chicken (typical bot behaviour) When competing over the same chicken with another player (for example both running to the same chicken), the script will choose a different chicken if they are going to get there first Chance of changing between valid combat styles upon leveling Random short afk breaks (simulating tabbing out, changing youtube video, replying to messages etc...) Loots in regular bursts Smarter looting More human-like bone burying Camera moving (arguably pseudo-antiban) Nearly all these chances are based on a random profile, which again is randomised every ~40 mins It's likely that some of the antiban features are entirely useless. But I don't think we can know for certain. I'd like to hear your opinion on the matter. Proggies