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.

Toph

Members
  • Joined

  • Last visited

Posts posted by Toph

  1. Just pushed an update to the repository. Went and buried 2k bones and did the quest just so I could manually fix piety/chivalry for you guys :p Should be out within a day :)

     

    v1.3.11

    -Manually fixed other prayers. Tired of waiting on seemingly nonexistent client update

  2. Version 1.3.10 has been pushed to the repository, waiting for SDN and client to update.

     

    v1.3.10

    -Update to prayer for protect from melee, waiting for client to update for others

    -Future-proof fix for withdraw problem

     

    Do not use any boosting prayers (like piety) until v1.3.10 and the client is v1.7.80+

  3. I have tested it extensively.. if 30m combat xp counts

    I'll give you the rundown -

    it wait for your animation if YOUR weapon - 1658 for whip I think. On that animation, it turns prayer OFF

    Then if does whatever else the script needs to do

    Then it calculates how much time left until your weapon hits again - 600ms (tick)

    sleeps the calculated time -

    Turns prayer on

    loops back to beginning

    The art of flashing, your bonus prayers need to be on BEFORE you attack. Once you attack you can turn them off.

    Flashing protect prayers, they have to be on BEFORE the monster animates, then you can turn them off. They only need to be on during the tick which calculates damage given/taken

    It seems like it might be too complicated to implement for the variety of weapons/animations/waiting times, along with lag that apparently a lot of people have when running bots.

  4. also when im using this with iron knifes and using power surge with g maul it switches to g maul puts it on accurate>[pound] (attack xp) and doesnt do nothing nor change back to knifes/book

    It should be doing both of those. If you can video tape it not switching, I'll see if I can catch what's up. Message me. Maybe just don't use gmaul for now since you're doing ranged anyway?

    I'd suggest you add an option to flash piety/str prayers

     

    int x = 0;
          while (this.myPlayer().isUnderAttack() && this.client.getMyPlayer().getAnimation() != this.animation && x < 200) {
             sleep(25);
             x++;
          }
          long time = System.currentTimeMillis();
    if (this.prayerTab.isPrayerOn(Prayer.PIETY)) {
             togglePiety(true);
          }
    /*
    .
    .
    .
    .
    */
    if (this.client.getSkills().getCurrentLevel(Skill.PRAYER) > 0) {
             mouseToPrayer();
             // sleep
             int sleep = (int) (this.delay - random(600, 700) - (System.currentTimeMillis() - time));
             // prayer on
             if (sleep > 0) {
                sleep(sleep);
                if (!this.prayerTab.isPrayerOn(Prayer.PIETY)) {
                   Player p = this.client.getMyPlayer();
                   if (p.getFacing() != null) {
                      if (p.getFacing().isFacing(p)) {
                         togglePiety(false);
                      }
                   }
                }
             }
          }
    private void togglePiety(boolean force) throws InterruptedException {
          // 271 55
          this.openTab(Tab.PRAYER);
          Thread.sleep(50);
          Rectangle r = new Rectangle(553, 401, 30, 30);
          MouseDestination md = new RectangleDestination(r);
          Point p = this.client.getMousePosition();
          boolean clicked = false;
          if (!(p.x >= r.x && p.x <= r.x + r.width && p.y >= r.y && p.y <= r.y + r.height)) {
             this.client.moveMouse(md, false);
             sleep(50);
          }
          else {
             this.client.clickMouse(false);
             clicked = true;
          }
          if (force && !clicked) {
             this.client.clickMouse(false);
          }
       }
    

    Have you actually tested that piece of code? I haven't, but it doesn't seem like it'd work from just looking at it. Seems like it will just turn on or off prayer whenever your animation isn't the attacking animation (which I don't *think* will flash correctly)

  5. This is more for stuff like calculating money gained per hour, nothing big.

    If i recall correctly there's a full-fletched library on like the 2nd or 3rd page of this subforum.

    There is one but I don't believe it checks for actual offers, and therefor if there's an item with a price of 1,000,000 but that's only people selling, no one buying, it will still return that (incorrect) result.

  6.  

    Script is bugging today thought, it's spraying errors.

    ERROR][01/31/14 10:04:12 PM]: Error on executing script worker!
    java.lang.ArrayIndexOutOfBoundsException: -1
    at com.Toph.NMZ.NMZ.B(Unknown Source)
    at com.Toph.NMZ.NMZ.onLoop(Unknown Source)
    at org.osbot.eb.run(vk:74)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    [ERROR][01/31/14 10:04:13 PM]: Error on executing script worker!
    java.lang.ArrayIndexOutOfBoundsException: -1
    at com.Toph.NMZ.NMZ.B(Unknown Source)
    at com.Toph.NMZ.NMZ.onLoop(Unknown Source)
    at org.osbot.eb.run(vk:74)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    [ERROR][01/31/14 10:04:14 PM]: Error on executing script worker!
    java.lang.ArrayIndexOutOfBoundsException: -1
    at com.Toph.NMZ.NMZ.B(Unknown Source)
    at com.Toph.NMZ.NMZ.onLoop(Unknown Source)
    at org.osbot.eb.run(vk:74)
     
    and is lagging soo much

     

    Because of the obfuscation done by the SDN, I can't tell where that is in code. Do you recall when this was happening?

  7. Just submitted 1.3.8 to the repository, adjustment to walking within the arena.

    I've been running it for about an hour now and haven't seen it fail overloads once. It drinks them, as it does prayer pots, and uses the rock cake like it should. If anyone is still having overload problems, please try to watch your bot and take note of everything that you can (inventory, what the client is trying to do) when it stops drinking them.

  8. First Name:

    Daniel

     

    Relationship:

    Single and ready to mingle wink.png

     

    Stuff you do: List a few

    Programming

    Play trombone

    Play video games

     

     

    Favorite Food:

    Chocolate chip cookies

     

    If you could be anyone (fictional or real) who would you be:

    Mark Zuckerberg cuz he dang rich yo

     

    Thing that takes up the most of your time:

    This site. Lul

     

    Where do you work:

    See above

     

    What country do you live in:

    USA

     

    What Subjects did you do at your highest qualification:

    Math, Physics

  9. When you start it, it switches between inventory and prayers infinitely, also isn't drinking overloads. I suggest not using the script for now as an update is needed because it's got some very bot-like activity going on. Jagex also seems to have wiped out the host bots, so they've got their eyes on the place.

    Yes, please wait until the SDN to update to 1.3.7. I would updated it myself if I could but script writers don't have a say over when the SDN actually updates.
  10. I'm still having the prayer/inventory switch problem, do i have to reDL the client? Also just out of curiousity do you think there are a lot of host bots getting banned, there was nearly none on much of the day today?

     

    That change is in 1.3.7 which isn't compiled on the SDN yet, but I've pushed it. You're going to have to wait until the SDN compiles, which I have no control over, sorry.

    I'm not sure, but that would make sense. Either that or their scripts broke today too!

  11. Fixed the prayer tab switching issue. Jagex updated interface values of prayers.

    I can't see anything obvious in code that would stop it from drinking overloads. Do you guys have 50+ hp? You can't drink an overload pot without 50+ hp.

    I've also made the script log in the log window when it sets the center position and when it wants to walk there. Anyone that is having walking problems (I can't get it to have a problem) please post if you see those messages when it's walking weird.

  12. Toph are you against me posting up my list of 50+ hosts for others to use? Could be very helpful

    Go ahead but just make sure to say that they aren't guaranteed to not scam.

    Hey, i just purchased this and it doesn't load?

    It might take a little bit, I know they're doing weird stuff like moving around how they host scripts. If it doesn't appear within a day, post in the forum help section.

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.