Jump to content

World Hopper for Mirror Mode (API is broken atm)


Recommended Posts

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...