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.

Viston

Trade With Caution
  • Joined

  • Last visited

Everything posted by Viston

  1. 2-2.5m for 1-30 agility, are people nuts?
  2. Viston replied to Fruity's topic in Spam/Off Topic
  3. Thank you, will do
  4. I appreciate your responds. Your piece of code works Also, just noticed that my code above checks useless stuff in the If statements lel
  5. But will that fix the issue with people splashing on NPCs? Because, isUnderAttack() seems to fix the issue with people normally attacking the NPC. But when people splash on NPCs, you can't see their HitBar, so it doesn't work
  6. So I'm trying to make the bot not attack the NPC that is under attack. I tried using !closestMonster.isInteracting() but no luck. NPC closestMonster = s.getNpcs().closest(Vars.radius, Vars.combatMonster); if (closestMonster != null && !closestMonster.isAttackable() && s.getInventory().contains(Vars.combatFood)) { s.getWalking().walk(closestMonster); } else if (closestMonster != null && !s.myPlayer().isUnderAttack() && s.getInventory().contains(Vars.combatFood)) { if (s.myPlayer().isAnimating()) { Vars.lastAnimation = System.currentTimeMillis(); } else if (closestMonster.interact("Attack") && System.currentTimeMillis() > (Vars.lastAnimation + 1000)) { Paint.status = "Attacking..."; Sleep.sleepUntil(() -> s.myPlayer().isUnderAttack(), 5000); } }
  7. Wasn't it easier to just write -100 in here?
  8. 1. Pictures of the account stats
  9. They don't take from your bank a penny, since they are not authorised without your consent. Your paypal balance will just be -. So to be able to use paypal again, you have to clear out your balance.
  10. Seriously
  11. Welcome, we are in the chatbox if you need anything
  12. Weebos
  13. I'm thinking it's because of your states. They all have the same if statements. I can't really identify the problem without logging each statement, and see where the issue is. If you want, I can help you via teamviewer.
  14. Are you sure that your inventory is not full before walking to the tree? Also, are you sure that the area you have selected for the yew trees isn't including the bank as well?
  15. Show me the code you have written
  16. Yes, in your WalkToTree method, say something like v if (!WC.contains(myPlayer.getPosition()) { getWalking.walk(yew); } In this, you are saying if the player isn't in the WC area, let's walk to it.
  17. Also, to make your player only cut the yew trees within the area you have selected, you have to do this v RS2Object yew = getObjects().closest(WC, "Yew"); As you can see, you are telling the bot to check the closest tree in the WC area, against the tree "Yew"
  18. You are just calling myPlayer. I think you need to do myPlayer.getPosition() Like this v if(!getInventory().isFull() && WC.contains(myPlayer.getPosition())){ return State.CUT; } Reason is, you want to check the yew area against your players current position.

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.