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.

Explv

Scripter II
  • Joined

  • Last visited

Everything posted by Explv

  1. UPDATED 2016-11-20: - Added some styling to the application - Added optional delay when running configurations
  2. You need to open the bank first. if (getBank() == null) { // walk to bank } else if (!getBank().isOpen()) { if (getBank().open()) { new ConditionalSleep(5000) { @ Override public boolean condition() throws InterruptedException { return getBank().isOpen(); } }.sleep(); } } else { getBank().withdrawAll("Coins"); }
  3. UPDATED 2016-11-19: - Added process tracking to visually display what configurations are running - Added import from file buttons for proxies and rs accounts Note: RS account files must have the format username:password or username:password:pin Proxy files must have the format: ip:port or ip:port:user:password
  4. I am not getting that error. Are you using the latest version of my manager? explv_osbot_manager_20161117.jar? And are you sure you updated the osbot path in the bot settings tab to point to osbot 2.4.100?
  5. Yeah I'm aware of the issue, it will be fixed along with some other things in the next update. Thanks
  6. np, good to hear you are finding it useful
  7. Sorry I meant to say, if any character is interacting with it. See the code I posted.
  8. No that is not true. character.isUnderAttack() Will return true if the character's hit bar is visible and if another NPC or Player is interacting with it: public boolean isUnderAttack() { if(!this.isHitBarVisible()) { return false; } else { List<Character> allCharacters = new ArrayList<>(); allCharacters.addAll(getMethods().getNpcs().getAll()); allCharacters.addAll(getMethods().getPlayers().getAll()); for(final Character character : allCharacters) { if(character.isInteracting(this)) return true; } } return false; } Because OP's bot is interacting with the character, the method would return true if the NPC's hit bar is visible. I have replace the isUnderAttack() method with isHitBarVisible() because we already know that the player is interacting with that NPC, so we only need to check if the hit bar is visible.
  9. Ok I will add some import from file options in the next update
  10. You could extend it further to make sure you are attacking the correct NPC, and that the NPC is still alive like so: public final boolean isAttacking(final String npcName) { final Character character = myPlayer().getInteracting(); return character != null && character.getName().equals(npcName) && character.getHealthPercent() > 0 && character.isHitBarVisible(); }
  11. If you want to know if your player is interacting with an NPC you can do: myPlayer().getInteracting() != null
  12. I swear 2 god
  13. UPDATED 2016-11-17: - Fixed compatibility issues with older configs - Fixed reflection and norandoms parameters not showing in table view - Added version checker, you will now be notified when starting the application if an update is available
  14. Hmm interesting, i'll take a look and fix it tonight. Thanks for the bug report If you want to fix the issue yourself, I believe the issue lies here: https://github.com/Explv/osbot_manager/blob/master/src/bot_parameters/configuration/Configuration.java#L157 I forgot to add: reflection = new SimpleBooleanProperty(); noRandoms = new SimpleBooleanProperty(); Inside the catch block. (Note to build the application you will need to include the OSBot.jar in the output .jar for local script loading to work) I will upload a new version of the application at ~8pm GMT tonight (Can't do it now because I'm at work) Thanks
  15. Thanks, I'll take a look
  16. I will add a paint in the next update
  17. http://osbot.org/forum/topic/100554-explvs-osbot-manager/
  18. UPDATED : 2016-11-15 (Now available) - Fixed amulet crafting - Fixed random character creation on Tutorial Island - Fixed roof disabling on Tutorial Island
  19. UPDATED 2016-11-15: - Added reflection and norandoms parameters
  20. Still not right, what if your inventory is full, and you are in the store? Your bot will carry on trying to buy even though it has no space
  21. That logic will not work. Look at your first two conditions. Your inventory is either full, or not full, therefore your script will always be in the BUY or BANK state.
  22. if inventory is full if not in bank walk to bank else if bank is not open open bank else deposit items else if not in store walk to store else if store is not open open store else if store contains items buy items else world hop It accepts String... and List<String> as well because Store extends ItemContainer, and those methods can be found in ItemContainer
  23. I have pushed an update to fix it, but the SDN has not been updated yet. I will add a comment when it is available
  24. I will add it tonight, if I remember
  25. I have given you an auth to try it out

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.