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.

Token

Script Officer
  • Joined

  • Last visited

Everything posted by Token

  1. Token replied to Token's topic in Others
    Authed Authed
  2. Token replied to Token's topic in Others
    Authed
  3. Just initialize it inside a method when you actually need it
  4. It's exactly what I said, you initialized wPump outside the Script methods
  5. 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
  6. Token replied to Token's topic in Others
    Authed Authed
  7. Token replied to Token's topic in Others
    There is no ETA
  8. Token replied to Token's topic in Others
    It was designed for goldfarming aka mass account creation, I wouldn't personally use it just for one account
  9. Token replied to Token's topic in Others
    Yes but there is no ETA
  10. Token replied to Token's topic in Others
    Unfortunately there is the problem of determining which is the best weapon and armour which requires a full item database dump and writing definitions for ~20k item ids in order to have a sound and complete solution to this
  11. 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.
  12. Token replied to Token's topic in Others
    Authed
  13. Token replied to Token's topic in Others
    Quests were always added based on API limitations, so if that allows it maybe
  14. Token replied to Token's topic in Construction
    The script will be updated shortly
  15. Token replied to Token's topic in Others
    The order is already randomized, the prices are defined based on rsbuddy's website so they aren't static either and they should change at least every 30 mins or so, but randomizing the quantity doesn't really make sense unless it's for runes or food where it can buy extras Authed Authed Authed Authed
  16. 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
  17. Token replied to Token's topic in Others
    Authed
  18. Token replied to Token's topic in Others
    Authed
  19. Token replied to Token's topic in Others
    Authed 1 trial per person
  20. Token replied to Token's topic in Others
    Anything can get you banned
  21. Token replied to Token's topic in Construction
    Authed Yes
  22. I've avoided the whole chatbox
  23. Token replied to Token's topic in Construction
    It says you had one last week
  24. Wtf why am I banned
  25. Token replied to Token's topic in Others
    Authed

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.