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.

Pegasus

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by Pegasus

  1. package org; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Plugin; import java.util.Comparator; import java.util.List; import java.util.function.Predicate; import java.util.stream.Collectors; public class Test extends Plugin { public String treeToCut = "Tree"; private Predicate<RS2Object> suitableObj = n -> n.getName().equals(treeToCut) && getMap().canReach(n) && getMap().distance(n) < 4; private java.util.List<RS2Object> treeObjs; @Override public int onLoop() throws InterruptedException { log("onLoop: "); List<RS2Object> allObjs = getObjects().getAll(); log("getObjects().getAll().size(): " + allObjs.size()); int count = 0; for(RS2Object obj : allObjs){ if (obj.getName().equals(treeToCut) && getMap().distance(obj) < 4) { log("AAA " + obj.getX() + " " + obj.getY()); count++; } } log("count: " + count); treeObjs = getObjects().getAll().stream().filter(suitableObj).collect(Collectors.toList()); if (!treeObjs.isEmpty()) { log("treeObjs.size(): " + treeObjs.size()); treeObjs.sort(Comparator.<RS2Object>comparingInt(a -> getMap().distance(a)).thenComparingInt(b -> getMap().distance(b))); log("sort treeObjs.size(): " + treeObjs.size()); treeObjs.forEach(obj -> log(obj.getX() + " " + obj.getY())); } else { log("treeObjs.isEmpty()"); } return 2000; } } onLoop: getObjects().getAll().size(): 8618 AAA 3163 3454 AAA 3163 3454 AAA 3163 3454 AAA 3163 3454 count: 4 treeObjs.size(): 4 sort treeObjs.size(): 4 3163 3454 3163 3454 3163 3454 3163 3454 Why? What is the meaning and different of these "duplicate" objects? Thanks
  2. Pegasus replied to Suorin's topic in Goals
    you use your own private scripts or use free public scripts to bot this account?
  3. Pegasus replied to Alek's topic in Snippets
    great java 8 tutorial! what is the meaning of : ((collectAmmo = ~collectAmmo & 1) == 1) ?
  4. how many accounts?
  5. Yes, it is because I want to observe how people do services. However, I am afraid no one will hire you to do services if you stream your services.
  6. I guess you can hardcode more than one position lists and then randomly use it with webpath().
  7. Pegasus replied to The Plug's topic in Requests
    do you want service?
  8. proguard
  9. I want good proxies too
  10. Pegasus replied to Tony's topic in Goals
    you may needto spend 1000 hours ingame to get a quest cape
  11. Does osrs detect operating system Time zone and compared to ip location? If operating system Time zone and ip location is not related , will it increases ban rate?
  12. Pegasus replied to Joseph's topic in Snippets
    Ah.. there is startAll() method in the API already
  13. Could you use getNpcs().closest() with realDistance set to true?
  14. the wait between ug pass, to regicide is very long especially when you say need it done asap!
  15. Pegasus replied to Joseph's topic in Snippets
    It took me more than 10 minutes to debug this bro. I think it is a useful debug for new scripters.
  16. Pegasus replied to Joseph's topic in Snippets
    Great code! there is a minor mistake in getGainedSkills() public List<Skill> getGainedSkills() { Iterator<Skill> skill = mapTracker.keySet().iterator(); List<Skill> list = new ArrayList<>(); while (skill.hasNext()) { Skill s = skill.next(); if (hasGainedXP(s)) { list.add(s); } } return list; }
  17. Update 2018/7/14: Version002.006 - Add: Check if firemaking level is enough before running. - Add: Burn Yew logs and Magic logs. - Fix: experienceTracker on paint
  18. This script is still usable but you must babysit.
  19. People show their face in a hacking forum? seriously?
  20. it is a scam
  21. Could you make script stops and move mouse outside client but stays login when run of of items?
  22. Machine Learning is in itself a huge learning. You need to be familiar with software engineering, math and data science. Probability and Statistics Algorithms Python Data Modeling...
  23. Experience Till level 99 is 9436639 Need to spend 7m for supply and at least 20 hours if you make wine from 86 to 99 level. you can earn 3.5m but need to spend 40 hours if you cook shark.
  24. his reaction make me rofl
  25. Is this solved after 1 year?

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.