Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Auron

Members
  • Joined

  • Last visited

Everything posted by Auron

  1. 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; }
  2. 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.
  3. 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.
  4. I saw something similar in Script request forum. That's a top idea. Do ya know what, I'm gonna do it. Thanks
  5. 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?
  6. 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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.