Jump to content

World Hopper for Mirror Mode (API is broken atm)


DylanSRT

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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