Jump to content

Mirror Mode Bug


Juggles

Recommended Posts

  • Mirror client version. Current
  • Console output / terminal output. None
  • Crash report if a crash occurred. None
  • Script that you ran. Private
  • Hooks that failed. getWorlds().hopToP2PWorld();
  • JVM/Browser bit version (32 / 64) 64

Mirror seems to not support world hopping. Could this be added? 
It only opens the world hop menu but does not select a world

Edited by Juggles
  • Like 1
Link to comment
Share on other sites

On 10/11/2018 at 1:47 AM, Juggles said:
  • Mirror client version. Current
  • Console output / terminal output. None
  • Crash report if a crash occurred. None
  • Script that you ran. Private
  • Hooks that failed. getWorlds().hopToP2PWorld();
  • JVM/Browser bit version (32 / 64) 64

Mirror seems to not support world hopping. Could this be added? 
It only opens the world hop menu but does not select a world

This has been around for a while. The reason it does not work stems from visually hidden widgets being classified as "visible" when they are in a scroll-able menu. This is the same reason many of the bank methods don't work in mirror mode as well. For example, scroll all the way down the menu and grab a widget for a world, then scroll back up. If you do a isVisible() check on that widget, it will come out as true even though it is not. 

Since I refuse to use client injection, this is what I have been doing to get around it:

Line up 12 worlds that you want to hop to plus two as your favorites like this:

 

//initialize an integer as 0 to use as a counter
int i=0;

//open logout tab 
  tabs.open(Tabs.LOGOUT);

//if world switcher is not open, open it
RS2Widget worldMenu= getWidgets.getWidgetContainingText("World Switcher");
if(worldMenu!=null){
  worldMenu.hover();
  mouse.click(false);
}

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

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

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

i=i+1;
if(i==14){
  i=0;
}

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

I know it is super basic, but it gets the job done for 14 worlds at least. Probably not the best to use for something like buying from shops, but you could still use for something like hopping if the area is too crowded. I would recommend encapsulating it into a method so you can easily call it. 

Hopefully, they will fix this sometime, but I wouldn't get your hopes up as it has been this way for at least 6 months. Don't know why they provide more support for the free version of their tool. Seems like a bad business plan.

Edited by DylanSRT
  • Like 1
Link to comment
Share on other sites

  • Recently Browsing   0 members

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