Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug Menu.isOpen returns false when it is open

Joined
Jun 9, 2015
Messages
3,717
@Cloud @SlashnHax
When interacting with an NPC or object through right-clicking, it opens up a menu with options.

Code:
if (altar.interact("Craft-rune")) {

Visual result

aa50c0040fb2df7b8d17e5967c12571c.png



Menu.isOpen returns false, even though the menu is clearly open (as shown in the picture).

Result:
If the bot is unable to find the correct action (because of an unknown reason (clouse related I guess)), it'll open up the menu as shown above and idle.
In this case, the altar is not visible anymore (because the menu is overlapping the entire object), so isVisible also returns false. Next loop it wants to interact with the object, but it is not visible. If the object is fairly small, it will never become visible again (even if you change camera angle). This does not happen every time. I can't reproduce the issue 100% of the time.

Workaround:
Manually move the mouse so the menu closes.
Expected result
Gyazo - 457afaa9a839c5ae52258b4acf207d61.gif
 
Top