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.

sleepUntil & Documentation

Featured Replies

I recently decided to start writing some simple scripts and I had a few questions that I can't seem to find the answer for. Keep in mind that while I am relatively new with Java, I do have a bit of programming experience from college, mainly C++, C, C# and Python.

 

1. Why is sleelUntil not in the documentation? I can't seem to find anything about it (looks like it was removed )

2. Is there a list somewhere of all the methods that have sleep "built-in"?

3. Is there a way to save the save the log in a text file when a script is stopped?

4. Do you guys test your scripts on Jagex servers? I am trying to figure out how to test all functionalities considering I might not have all the proper stats/equipment/et

I like to believe I've done a bit of research before making this post, but it's possible I missed some stuff and I apologize

Thanks innasvanxe!and let me know if anything needs clarification. Sorrry for my bad English

 

 

 

You are probably looking for conditional sleeps. You can find an example in this tutorial at 9. 

But you can also use this: 

to make your sleeps look nicer.

I have no clue about log files but im sure its possible.

And yes the only way to test scripts is to run them in the acutal game, but sometimes they have beta servers up that generally have everything unlocked. Beta servers are currently open until next thursday I believe.

 

Edited by ez11

  • Author

Thank you for your reply!

 

Yes I was indeed thinking of conditionalSleep, which for some reason is not in the API...made me wonder whether is getting depreciated or removed soon

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.