DylanSRT Posted July 29, 2018 Share Posted July 29, 2018 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: //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. Quote Link to comment Share on other sites More sharing options...
HeyImJamie Posted July 29, 2018 Share Posted July 29, 2018 Why would you need to set w to 0 in your onStart when you can just initialise it as 0? Quote Link to comment Share on other sites More sharing options...
DylanSRT Posted July 29, 2018 Author Share Posted July 29, 2018 (edited) 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 July 29, 2018 by cooldoruk60 Quote Link to comment Share on other sites More sharing options...