1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Request Force *no* menu interaction

Discussion in 'Client & Site Suggestions' started by Jux7apose, Feb 6, 2018.

  1. Jux7apose

    Joined:
    Mar 28, 2017
    Messages:
    286
    Likes Received:
    58
    Seeing as we have an option to force menu interactions, is there a way to force clouse to not use menu interactions?

    Seems viable for cases such as OSRS when skilling: thieving (with hide NPC attack option), you can spam left click to pickpocket NPC's, woodcutting, mining, etc.

    It'd be nice to be able to have the freedom to enable/disable this option if it isn't too hard or time-demanding to implement.
     
  2. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    Bots can already force left clicking as it makes sense to do so.
     
    Derk likes this.
  3. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,073
    Likes Received:
    1,895
    Interactable#click
     
    Savior likes this.
  4. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    :brian:
     
    Defeat3d likes this.
  5. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    not the same since .click() doesnt verify the interaction string :derk:
     
    Savior and Derk like this.
  6. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,073
    Likes Received:
    1,895
    Yeah, but if you're forcing a left click the interaction string should always be on top anyway
     
    Savior likes this.
  7. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    i guess the idea is that instead of opening the right click menu, the interaction should just fail
     
    Defeat3d likes this.
  8. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,073
    Likes Received:
    1,895
    fair i guess
     
    Savior likes this.
  9. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    That's what happens if you call #interact(String) where the Menu doesn't contain the MenuItem you want.
     
  10. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Playersense will open the right click menu occasionally even if it's the first option though
     
    Defeat3d and Snufalufugus like this.
  11. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    I haven't debugged it, but just watching bots, I'm pretty sure it will sometimes fail even when the option is in the open menu.

    Anyways, that's a different topic really. Right clicks are very frequent for me even when the option is left-clickable, which is very inappropriate for some circumstances.
     
  12. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Right but what's the use case there? Instead of interacting it just... doesn't.
     
  13. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    I don't know. @Snufalufugus what's the purpose of only left clicking?
     
  14. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,073
    Likes Received:
    1,895
    Spam clicking, for example Ardougne knights.
     
  15. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Fair point
     
  16. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    All left click pickpocketing, high alching, enchanting, fletching darts or bolts or zeah essence, cleaning herbs, and anywhere else that you would never right click as a person playing.
     
  17. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    So surely this should be covered by just #click?
     
  18. auxi

    Joined:
    May 24, 2016
    Messages:
    1,113
    Likes Received:
    990
    I think what they mean is that you force a left click when you can, however if something is blocking the entity, it will right click instead of just clicking whatever is blocking the entity which #click will do.
     
  19. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    Click doesn't have any way to verify the action being completed, and players like to use cannons and other things to mess with bots. I'm hoping its possible to somehow confirm the action that shows up in the top-left of the game window before actually clicking, but it's not an interface and there's nothing I know of in the API for it.
     
  20. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Click has the same wasClickSuccessful call that interact has... Also, Menu.getActions or getItems, can't remember from memory.
     

Share This Page

Loading...