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.

Scripts not updating

Featured Replies

Okay, so I just started scripting for OSBot, and I have realized that I have to restart the whole client everytime I update my script (Yes, I have the output folder set to the scripts folder). This means that if lets say I want to add another ID to an array I have to restart the whole bot to make the changes happen.. (And yes again I tried using the refresh button in the script selector)

 

Is there something I am doing wrong or is it the bot itself?

 

Thanks in advance!

Delete the old script file, then open the client and hit refresh it should no longer be there, then close the client, move the script into the folder and open your client it should be there freshly updated! 

 

Also make sure it has the right extension like .groovy or .jar not .java or .groovy.txt

  • Author

Delete the old script file, then open the client and hit refresh it should no longer be there, then close the client, move the script into the folder and open your client it should be there freshly updated!

Also make sure it has the right extension like .groovy or .jar not .java or .groovy.txt

That is the problem, do I really have to restart the client every time I make a change to my script? It is quite tedious to have to close the client then log back in again just to apply a small change

Edited by mrsdefnerd

 

Delete the old script file, then open the client and hit refresh it should no longer be there, then close the client, move the script into the folder and open your client it should be there freshly updated! 

 

Also make sure it has the right extension like .groovy or .jar not .java or .groovy.txt

That is the problem, do I really have to restart the client every time I make a change to my script?

 

Yes, when i try to delete or move local scripts with the client running it says "Sorry - This action cannot be performed as the file(s) you are trying to delete are currently in use"

So with that being said, if your exporting to the script folder with the client going it most likely wont export properly.

  • Author

Delete the old script file, then open the client and hit refresh it should no longer be there, then close the client, move the script into the folder and open your client it should be there freshly updated!

Also make sure it has the right extension like .groovy or .jar not .java or .groovy.txt

That is the problem, do I really have to restart the client every time I make a change to my script?

Yes, when i try to delete or move local scripts with the client running it says "Sorry - This action cannot be performed as the file(s) you are trying to delete are currently in use"

So with that being said, if your exporting to the script folder with the client going it most likely wont export properly.

Hmm, okay, it just felt so weird since this is the first bot I have tried scripting for that doesnt allow you to update scripts while its running

If you don't use a jar and used the compiled .class files directly it will update live. No point in constantly making a jar just for testing purposes anyway.

Okay, so I just started scripting for OSBot, and I have realized that I have to restart the whole client everytime I update my script (Yes, I have the output folder set to the scripts folder). This means that if lets say I want to add another ID to an array I have to restart the whole bot to make the changes happen.. (And yes again I tried using the refresh button in the script selector)

 

Is there something I am doing wrong or is it the bot itself?

 

Thanks in advance!

Press the "Refresh" button after you copy it over.

Guest
This topic is now closed to further replies.

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.