Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to enable camera when input is disabled

Featured Replies

While input is disabled on the client, I'd like camera movement to be enabled.

 

The reason is that I want to reach more tiles by moving the camera, but I don't want my character start

running around like a tard when clicking the tiles. Which happens with input is enabled.

So I'd only want camera input enabled.

 

f94GdNC.png

Edited by lisabe96

Can't you just bind the selection processes to a key like s instead of a mouse click? I don't think the API supports mouse inhibition without the keyboard being in the same state. At least in the current build.

  • Author

Can't you just bind the selection processes to a key like s instead of a mouse click? I don't think the API supports mouse inhibition without the keyboard being in the same state. At least in the current build.

 

Maybe a way to enable input then programatically so the user doesn't have to bother about it.

Then maybe block mouse clicks from the game so the character doesn't move?

I'd say use your code you posted in your other help post. Instead of using mouse clicked and drag listener, do one for key input. Possibly add a command that enables this sequence to be activated. Then do something to the extent of every time you press a key it will grab the tile the move is hovering over. Does that make sense? 

  • Author

I'd say use your code you posted in your other help post. Instead of using mouse clicked and drag listener, do one for key input. Possibly add a command that enables this sequence to be activated. Then do something to the extent of every time you press a key it will grab the tile the move is hovering over. Does that make sense? 

It makes sense but it's not as user friendly as I'd want it to be.

 

In case knowing the purpose would help to find ideas:

It's for a firemaking script where I'd like the user to be able to select the tiles to use.

This way I can allow them to make fire wherever they are, not limited by locations, also avoid the same patterns for everybody to be used.

Based on the selected tiles I internally build lines and patterns.

It makes sense but it's not as user friendly as I'd want it to be.

 

In case knowing the purpose would help to find ideas:

It's for a firemaking script where I'd like the user to be able to select the tiles to use.

This way I can allow them to make fire wherever they are, not limited by locations, also avoid the same patterns for everybody to be used.

Based on the selected tiles I internally build lines and patterns.

 

Agreed I see how much time this would save the average person not to mention its kinda a dummy proof system(no such thing exist). Looking through I can't find a solution like you suggested without shutting down the mouse click on the game canvas. You could block mouse clicks at the time of selection and make the click itself void. I have few other ideas but not ones i'm sure that could be pulled off without testing.

  • Author

Agreed I see how much time this would save the average person not to mention its kinda a dummy proof system(no such thing exist). Looking through I can't find a solution like you suggested without shutting down the mouse click on the game canvas. You could block mouse clicks at the time of selection and make the click itself void. I have few other ideas but not ones i'm sure that could be pulled off without testing.

 

Currently the best I could come up with to keep it user friendly :p :

aDi50ue.png

 

giphy.gif

Currently the best I could come up with to keep it user friendly tongue.png :

aDi50ue.png

 

giphy.gif

This looks amazing, you could always have the script call the input disable and make a key that will unlock/lock it for this process.

  • Author

This looks amazing, you could always have the script call the input disable and make a key that will unlock/lock it for this process.

And how would I disable input from the script?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.