- Thread Author
- #1
@Cloud @SlashnHax
When interacting with an NPC or object through right-clicking, it opens up a menu with options.
Visual result
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
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
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