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.

Best way to test scripts

Featured Replies

Hey guys

I've been writing some scripts and I was wondering what the best way to test them is. I just got a one day ban and was thinking its probably because I'm just testing each part of my script over and over to get it perfect. Like such as banking and equipping gear.

How do you guys test your scripts? Do you just try it once then do something else for half an hour then test again?

Cheers

Bans happen bro, just test away. The thought of waiting 30 minutes to test every minor part of a script kills me. 

You are probably testing on a brand new account, high ban chance.

You can test run the script as a whole when it is ready, but it's also good to soak-test different parts of the script.

For example, create a new script (or modify your current one) to repeat a certain action perhaps 100 times (e.g withdraw required items from the bank, deposit all, repeat). This is a good way to test the rigidity of parts of the functionality of your script in a short time frame (thus hopefully reducing the likelihood of a ban).

Also, it's important to test exceptional flows / edge cases. For example, what happens if you start your script in castle wars, or if you die while the script is running, or if your bank is full and you need to deposit something, or if the script misclicks on a ladder and ends up upstairs in a building, or ... (the list goes on). Naturally it is not possible to cover all cases as the possibilities for anomalies are pretty much endless with any script, but you can weigh the possibility of an edge case happening and decide to implement a solution accordingly.

Apa

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.