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.

Local Scripts not running

Featured Replies

I'm new to coding and I've made a decent script. It has been running everyday and now that I am almost done the bot doesn't start the script anymore? 

Is this a bug with an update? 

 

Edit: Fixed the problem. Thanks everyone!

Edited by pocketpokie

1 minute ago, pocketpokie said:

I'm new to coding and I've made a decent script. It has been running everyday and now that I am almost done the bot doesn't start the script anymore? 

Is this a bug with an update? 

sounds silly but have you tried re-opening your client?

sometimes when i click play my scripts do nothing, I just have to re-load.

  • Author
1 minute ago, apexv6 said:

sounds silly but have you tried re-opening your client?

sometimes when i click play my scripts do nothing, I just have to re-load.

Yeah I have :/, I'm going to restart my computer now to see if that fixes it.  Also re-downloaded the client too. 

  • Author
4 minutes ago, pocketpokie said:

Yeah I have :/, I'm going to restart my computer now to see if that fixes it.  Also re-downloaded the client too. 

That didn't fix it. Not too sure what is going on. I'll check if it's an issue on my side by downloading a local script that runs for others to see if it runs for me. 

I had some issues like this with some really small and silly mistakes like having extra brackets somewhere. so you just might want to look really closely your whole code? or post it here if its not any secret money making script so we could take a look! :) 

Make sure you don't have any .form files (for example if you used intellij builder for the GUI it creates a .form file). I'm not 100% sure that the .form file would cause issues here, but it has with other bots for me. Another thing is to make sure you aren't using the API in the constructor of your main.java file. If you are, then move that code to the on start function instead.

  • Author

I ended up fixing it. I changed something in my code that made it not startup. It had to do with where I defined the variables. Thanks for the help all!

  • 6 years later...
On 7/15/2017 at 10:35 AM, pocketpokie said:

I ended up fixing it. I changed something in my code that made it not startup. It had to do with where I defined the variables. Thanks for the help all!

"I changed something and it got fixed"

yo talk about the most least helpful conclusion 

EDIT: HAHAHA same problem and same solution I just put the variables onstart onloop oneverywhere and eventually the IDE suggestions fixed it

Edited by TheCongregation

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.