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.

Prolax

Members
  • Joined

  • Last visited

Everything posted by Prolax

  1. Hmm, still attacks the npc twice. Anything I can add? public final class ProlaxAutoFighter extends Script { @Override public final int onLoop() throws InterruptedException { if (!"Seagull".equals(myPlayer().getInteracting()) && !getCombat().isFighting()) { attackNpc(); } return random(100,300); } public void attackNpc(){ NPC seagull = getNpcs().closest(npc -> npc.getName().equals("Seagull") && npc.isAttackable()); if (seagull != null && !seagull.isUnderAttack() && !seagull.isAnimating() && seagull.interact("Attack")) { new ConditionalSleep(5000) { @Override public boolean condition() { return myPlayer().isInteracting(seagull) || !seagull.isAttackable(); } }.sleep(); } } }
  2. Thanks a lot, good to learn. Is this if statement in the onLoop enough? The script clicks twice on the npc though, when attacking. Not sure why atm. public final class ProlaxAutoFighter extends Script { @Override public final int onLoop() throws InterruptedException { if(!myPlayer().isUnderAttack() && !getCombat().isFighting()) { attackNpc(); } return random(100,300); } public void attackNpc(){ NPC seagull = getNpcs().closest(npc -> npc.getName().equals("Seagull") && npc.isAttackable()); if (seagull != null && !seagull.isUnderAttack() && seagull.interact("Attack")) { new ConditionalSleep(5000) { @Override public boolean condition() { return myPlayer().isInteracting(seagull) || !seagull.isAttackable(); } }.sleep(); } } }
  3. Prolax replied to Prolax's topic in Scripting Help
    Thanks for the info!
  4. Thanks for the info. Final method: public void attackNpc(){ NPC seagull = getNpcs().closest("Seagull"); if(!seagull.isVisible()){ camera.toEntity(seagull); } if(!getCombat().isFighting() && !myPlayer().isUnderAttack() && seagull.exists() && !seagull.isUnderAttack() && seagull.getHealthPercent() > 70){ seagull.interact("Attack"); new ConditionalSleep(2000,500) { @Override public boolean condition() throws InterruptedException { return getCombat().isFighting() || seagull == null; } }.sleep(); } }
  5. Prolax posted a topic in Scripting Help
    - How to implement 'Click here to continue' in your script? For example when you reached a level. - What is the best way to turn your camera when npc is not visible? camera.toEntity(target) ?
  6. Running ok now. Final method: What is a good way to turn camera to npc, when npc is not visible? public void attackNpc(){ NPC seagull = getNpcs().closest("Seagull"); if(!getCombat().isFighting() && !myPlayer().isUnderAttack() && myPlayer().getInteracting() == null && seagull.isAttackable() && seagull.exists() && seagull.isVisible()){ seagull.interact("Attack"); new ConditionalSleep(4000,500) { @Override public boolean condition() throws InterruptedException { return !seagull.exists() || seagull.isUnderAttack(); } }.sleep(); } }
  7. The actual problem is it sometimes spamclicks the npc 2-3 times. Probably something wrong with my conditional sleep public boolean condition() { return myPlayer().isAnimating() || !seagull.exists(); }
  8. I was only asking advice on this combat method. I deleted the other methods. I think states are not really needed, I'm just calling methods in my onLoop.
  9. My AutoFighter script is not running smooth. Is there something I can do to improve it? Here is the current script / method: public final class ProlaxAutoFighter extends Script { @Override public final int onLoop() throws InterruptedException { attackNpc(); return random(300,800); } public void attackNpc(){ NPC seagull = getNpcs().closest("Seagull"); if(!seagull.isVisible()) { camera.toEntity(seagull); } if(!myPlayer().isUnderAttack() && seagull.isAttackable() && seagull != null && seagull.exists()){ seagull.interact("Attack"); new ConditionalSleep(5000) { @Override public boolean condition() { return myPlayer().isAnimating() || !seagull.exists(); } }.sleep(); } } }
  10. Weath makes me wet. Haha. Ha.
  11. My Zulrah farm is on the list.
  12. Buy bonds on RuneScape on a few accounts.
  13. You can export into the osbot directory.
  14. Fruity NMZ?
  15. Mostly sand crabs, ankous. Didn't try NMZ.
  16. Highest I got on osrs on 3 different accounts: 96 str -> banned 90 str -> banned 94 fletch -> banned
  17. What you need help with? Scripts, account generator, database?
  18. You're probably stuck at 'Hello World'.
  19. Thanks for those random statistics. Mind sharing the source code of your calculators?
  20. Thanks for this great advice. You know a lot about it.
  21. Haven't staked in a while, not many stakers at 70-80 combat?
  22. 40 att 70 str 75 def 75 range 73 hp 1 pray The account would be 73 combat. I would range stake no arm, but with armadyl crossbow and dfs.
  23. Since when is Fifa a mmorpg?
  24. I buy of the chinese, 2 minutes work for 100m.

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.