Jump to content

Item Select -> Use?


Recommended Posts

Posted

Back with another thing that's bothering me, I'm trying to get the bot to right click on an item, then select use. 

Using the regular interaction mode, the bot just left clicks, rather than going through the menu.

I've looked & fiddled and can't seem to find what I'm trying to do. 

Using 
 

inventory.hover(i);
mouse.click(true);
inventory.interact(i, "use");

the bot deselects the item, just to left click it. 

Any help would be appreciated :)

Posted

Back with another thing that's bothering me, I'm trying to get the bot to right click on an item, then select use. 

Using the regular interaction mode, the bot just left clicks, rather than going through the menu.

I've looked & fiddled and can't seem to find what I'm trying to do. 

Using 

 

inventory.hover(i);
mouse.click(true);
inventory.interact(i, "use");

the bot deselects the item, just to left click it. 

Any help would be appreciated smile.png

 

 

Remove the first two lines, they are doing nothing at all. 

Posted

Remove the first two lines, they are doing nothing at all. 

I don't think you are understanding what I was trying to do, I was trying to force the bot to use the interaction menu, I tried making it do this by getting the bot to select the item first, then interacting with it. 

This did not work as the bot simply clicked out of the interaction menu, then proceeded to singular left mouse click on the item. 

The first two lines were a way of opening the menu, but thankyou :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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