Skip 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.

keyboard.pressKey

Featured Replies

1. A description of the suggestion


Basically what i encountered with getKeyboard().typeString(string), was that it would press enter immediately after the define string had been typed, which is GOOD, but not in every situation.


For example, in the Grand exchange when you are searching to buy an item, it will take an extra few hundred milliseconds before pressing enter actually works, this can be fixed by adding a small delay between the string typing, and the finish by pressing enter.


 


a65fee164249336cfeec7b67fc87d371.gif


Here i typed Bronze pickaxe manually, and was spamming the enter key continuously afterwards. You can see how long it actually took for the search query to finish.


 


Instead of redesigning typeString, I think a more appropriate solution would be to add a new method called pressKey or typeKey, which would take the key as an argument


 


Speaking of the G.E, i think a similar issue is present with


getGrandExchange().setOfferQuantity(int)

Because the text input dialogue pops up a little later than expected, resulting in nothing being typed.


 


2. How will this suggestion impact scripters and/or botters?


Will make the grand exchange, and probably other options where people might have a little higher latency more viable, and less buggy.


 


3. Post any examples such as code or pictures to supplement your description (optional)


getKeyboard().pressKey(Key.ENTER);

  • 1 month later...
Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.