Skip 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.

Token

Script Officer
  • Joined

  • Last visited

Everything posted by Token

  1. It's exactly what I said, you initialized wPump outside the Script methods
  2. You most likely attempted to initialize an instance of any OSBot class outside the methods defined in the Script class, eg: @ScriptManifest(name = "Lol", author = "Token", version = 1.0, info = "", logo = "") public class Lol extends Script { NPC x = npcs.closest("Guard"); // script won't start because of this NPC y; @Override public void onStart() throws InterruptedException { // something y = npcs.closest("Guard"); // but this is fine } @Override public int onLoop() throws InterruptedException { // something return 69; } } Post your code if that's not the case because this is definitely a programming error
  3. script.players.getAll().stream().filter(x -> script.myPlayer().equals(x.getInteracting())).findFirst().isPresent(); // there is a player ATTEMPTING to attack, not necessarily already attacked script.myPlayer().isHitBarVisible(); // only works if the attack triggered health bar display (not a splashed spell) script.projectiles.getAll().stream().filter(x -> script.myPlayer().equals(x.getTargetEntity())).findFirst().isPresent(); // a ranged/magic attack was launched against the bot Combining the 3 will give you a relatively good coverage on simple cases but unfortunately the topic of accurately determining combat is very complex. Imagine a player casts wind strike on you in the wilderness (he's interacting with you in this case) then quickly eats food (he's no longer interacting with you), the health bar is not visible but there is a projectile launched with your player as its target, if it hits then your health bar will be visible but if it splashes, your health bar will not be visible, the player is not interacting with you because the interaction was interrupted by eating and there is no projectile launched towards your player. But you are in combat with him for 8 seconds or whatever the timer is. The only way to determine if you really are under attack 100% is by caching this state once you detect an attacker and clearing the cache once the combat timer is up so if you want the maximum precision (eg pking scripts) you will have to multithread your script and dedicate a whole thread to managing the combat state and determining the opponent.
  4. Token replied to Token's topic in Construction
    The script will be updated shortly
  5. Token replied to Token's topic in Construction
    Authed Does it also happen if you start the script now that you are lvl 40/50? Authed
  6. Token replied to Token's topic in Construction
    Authed Yes
  7. I've avoided the whole chatbox
  8. Token replied to Token's topic in Construction
    It says you had one last week
  9. Wtf why am I banned
  10. Token replied to Token's topic in Construction
    Authed
  11. Token replied to Token's topic in Construction
    I'm afraid I chose to remove my own access to deleting expired auths from the database due to the large amount of people asking for multiple trials over and over again
  12. Token replied to Token's topic in Construction
    Yes if it's not there anymore
  13. Token replied to Token's topic in Construction
    24 hours since the start
  14. Token replied to Token's topic in Construction
    Authed
  15. Token replied to Token's topic in Construction
    Authed Authed
  16. Token replied to Token's topic in Construction
    That blonde moment lol
  17. Token replied to Token's topic in Construction
    It hasn't even expired
  18. Token replied to Token's topic in Construction
    Authed
  19. Token replied to Token's topic in Construction
    Authed
  20. Token replied to Token's topic in Construction
    Authed
  21. Token replied to Token's topic in Construction
    Anywhere OSBot's webwalker can walk (not in a house), it will automatically buy required supplies
  22. Token replied to Token's topic in Construction
    Where did you start the script?
  23. Token replied to Token's topic in Construction
    Post the logger contents
  24. Token replied to Token's topic in Construction
    No Authed
  25. No a kitten won't solve her problems, you should actually ask her what's wrong and try to fix that instead

Account

Navigation

Search

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.