Jump to content
×
×
  • Create New...

Mobile tap settings disambiguation


Recommended Posts

Single tap mode

  1. When enabled, tap once to bring up menu, tap again to select menu item. If there is only 1 menu option, the first tap interacts with first menu option.
  2. When disabled, tap to interact with first menu option, tap and hold to bring up menu.

The .interact() method only works properly if this mode is enabled. If it is not enabled, you will get this error followed by the client automatically enabling the current tap mode. You can disable auto enabling by ctx.setForceSingleTap(false)

org.powerbot.script.rt4.Menu - Menu not opened within 1000ms - is single tap enabled?

org.powerbot.script.rt4.Menu - enabling singletap

 

Tap to drop mode 

  1. When enabled, tap once on an item to drop it, tap and hold item for other options. Everything else tap to interact with first menu option.
  2. When disabled, same as above but no single tap item dropping. Everything tap to interact with first menu option.

With this setting enabled or disabled and attempting to use .interact(), the menu will never open and always fail.

 

Separate tap to drop in settings

unknown.png

This setting overrides inventory actions so tap forces drop, tap and hold brings up menu. Only makes sense to be used in conjunction with Single tap mode.

WARNING Disabling Single tap mode will disable Tap to drop setting, but reenabling Single tap mode WILL NOT reenable the Tap to drop setting

Currently no API method to check if this is ticked (correct me if I'm wrong)

There is also no API method to change the tap type, the user must set it themselves

 

 

Every case, Single tap mode enabled by itself will work, however it will not necessarily be efficient, worst case doubling the amount of taps required. I'm also attempting to avoid tap and hold as this requires the object to not move and there is no direct API method to tap and hold an object right now.

Example cases and best settings to use

Dismissing randoms

Dismiss is not first option, either disable random dismissing or have Single tap mode enabled

  • ctx.setDismissRandoms(false)

OR

  • ctx.setForceSingleTap(true)
  • ctx.game.setMouseActionToggled(true)
  • ctx.game.getMouseToggle() == Game.MouseToggleAction.SINGLETAP

 

General fishing

Fishing spot not always first option (example Cage/Harpoon spots), inventory dropping

Single tap mode enabled, Tap to drop setting enabled

  • ctx.setForceSingleTap(true)
  • ctx.game.setMouseActionToggled(true)
  • ctx.game.getMouseToggle() == Game.MouseToggleAction.SINGLETAP

 

Minnows

Minnows first option is always Fish

Single tap mode disabled OR any Tap to drop mode

 

Woodcutting

Tree first option always Chop, inventory dropping

Single tap mode disabled, Tap to drop setting enabled

  • ctx.setForceSingleTap(true)
  • ctx.game.setMouseActionToggled(true)
  • ctx.game.getMouseToggle() == Game.MouseToggleAction.SINGLETAP

OR

Tap to drop mode enabled

  • ctx.setForceSingleTap(true)
  • ctx.game.setMouseActionToggled(true)
  • ctx.game.getMouseToggle() == Game.MouseToggleAction.DROP

 

Making wines at a chest

Chest first menu option is Bank and both items first option is Use.

Single tap mode disabled OR Tap to drop mode disabled

  • ctx.setForceSingleTap(false)
  • ctx.game.setMouseActionToggled(false)

 

Making battlestaves at a bank NPC

Bank NPC first option is Talk-to, battlestaves first option is Wield

  • ctx.setForceSingleTap(true)
  • ctx.game.setMouseActionToggled(true)
  • ctx.game.getMouseToggle() == Game.MouseToggleAction.SINGLETAP

 

 

  • Thanks 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.