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.

World Hopper for Mirror Mode (API is broken atm)

Featured Replies

Hi, I decided to make a world hopper for mirror mode because the API hopper is malfunctioning. It works on client injection, but in mirror mode the widgets are all labeled "visible" even if they are hidden due to scrolling. The scroll bar also does not have a scrollable y movement. I put together a pretty basic code (I'm relatively new to this so would appreciate feedback on improving it). Line up 12 worlds that you want to hop to plus two as your favorites like this:

 

worlds.jpg.e172c931ce006c854ad0a4bd3860afb4.jpg

//set w=0 in your On Start

w=0;

//open logout tab (make sure you've opened world switcher once before so it automatically opens)

   if (!getLogoutTab().open()){
            logoutTab= getWidgets().get(548,34);
            logoutTab.interact("Logout");
   }

//clicks first tab and moves down by 16 each iteration, 16 is the height of the world widgets

 mouse.click(575,246+w*16,false);

//increase w by 1 every iteration and return to 0 after 14 iterations

w=w+1;
if(w==15){w=0;}

 //add breaks in between code as needed for your use   

The reason I didn't add a method to click on the scroll down is because you would eventually get to worlds you don't want to hop to. Instead, just use these 14 worlds over and over or move the cursor yourself when 14 is done. I tried pretty much every widget feature, but they all seems to be malfunctioning in mirror mode. So any improvement suggestions need to be unrelated to widgets. This needs a fix please mods.

Why would you need to set w to 0 in your onStart when you can just initialise it as 0?

  • Author
1 hour ago, HeyImJamie said:

Why would you need to set w to 0 in your onStart when you can just initialise it as 0?

Like I said, I'm new to this lol, but learning every day.  Already made a working tithe farm and birdhouse bot for my ironman

Edited by cooldoruk60

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.