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. Yes it should work on Centos 7
  2. It has only been tested on Windows 10 and Linux. I will try and add some stuff that will make it compatible with older windows versions
  3. Will take a look tonight
  4. You don't need @ Override. It simply improves readability and provides some benefit with compiler checking. It is recommended but not required.
  5. Explv replied to xOx's topic in Introductions
    Hi
  6. Explv replied to xOx's topic in Introductions
    Hi
  7. Explv replied to Iwin's topic in Scripting Help
    If you just want to create a rectangular area then you should use the: Area(int x1, int y1, int x2, int y2) Constructs a rectangular area using x and y coordinates from two separate positions. Or Area(Position southWest, Position northEast) Constructs a rectangular area using two positions Constructors.
  8. Explv replied to Iwin's topic in Scripting Help
    List<Position> posList = new ArrayList<>(); Position[] positions = posList.toArray(new Position[posList.size()]); Or List<Position> posList = new ArrayList<>(); Position[] positions = posList.stream().toArray(Position[]::new);
  9. Ok looks fine as far as I can see
  10. I meant where in your code are you calling your getState() method
  11. Where are you calling this method? Just to make sure you aren't doing something incorrect?If you aren't then you should file a bug report
  12. rx8 is more fun to drive imo, but pretty small inside. BMW looks nicer If i had to choose i'd pick the bmw
  13. Thanks, I'll check it out now
  14. Issue has been fixed, was related to ) included in the script name
  15. -1 is the default option, when it is set to -1 the -mem parameter isn't set by the application. I will change -1 to say something like "default" to make this less confusing
  16. If you have configs from the first version unfortunately it is likely you will have to remake them because I changed the way the serialisation works when I changed to use a table view.
  17. Yes Either run it from the terminal: java -jar /path/to/dir/explv_osbot_manager*.jar Or setup the .jar file to open with Java on double click, by finding instructions online for your distribution, for example: http://askubuntu.com/questions/192914/how-run-a-jar-file-with-a-double-click
  18. Fixed, sorry about the inconvenience UPDATED 2016-10-24: - Fixed saving and loading
  19. Ah shit sorry, I must have broken it with the latest update. I will fix it tonight, and update the thread when it's fixed. Thanks
  20. I recommend you follow some Java tutorials before trying to write scripts: https://www.tutorialspoint.com/java/java_object_classes.htm
  21. This is a possible alternative, although it isn't 5xp per 1 damage, and it depends on attack type and method: http://2007.runescape.wikia.com/wiki/Combat_Options
  22. You could try: NPC npc = npcs.closest("Cow"); // Can be a Player instead int[] splatDamage = npc.accessor.getSplatDamage(); int[] splatTimes = npc.accessor.getSplatTime();
  23. I'm not sure if there are hitsplats in the API anymore, but to work out the damage to your player you could just do: private int previousHealth; @ Override public final void onStart() { previousHealth = getHealth(); } @ Override public final int onLoop() throws InterruptedException { final int currentHealth = getHealth(); if (currentHealth < previousHealth) { final int damage = previousHealth - currentHealth; // Calculate the damage previousHealth = currentHealth; } return random(100, 150); } private int getHealth() { return getSkills().getDynamic(Skill.HITPOINTS); } Or if you just want to know the % of hp remaining, for example to know when to eat, you can do: public final int getHealthPercent() { return (getSkills().getDynamic(Skill.HITPOINTS) * 100) / getSkills().getStatic(Skill.HITPOINTS); }
  24. So you think you are immortal eh? We'll see about that :ninja:

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.