Jump to content

Updating local script?


Recommended Posts

Posted

I currently have intellij to build a .jar artifact within the osbot/scripts folder. I have noticed that whenever I build the jar and try to run the script in osbot, the script appears to not update with the changes. For example when I have commented out my entire loop, the bot still tries to kill chickens. I am sure that the .jar is building... and I am pressing refresh in the script manager. What am I missing here?

Posted
21 minutes ago, Tasemu said:

I currently have intellij to build a .jar artifact within the osbot/scripts folder. I have noticed that whenever I build the jar and try to run the script in osbot, the script appears to not update with the changes. For example when I have commented out my entire loop, the bot still tries to kill chickens. I am sure that the .jar is building... and I am pressing refresh in the script manager. What am I missing here?

You're most likely building the wrong .jar

Or you somehow have two scripts with the same name in your scripts folder, so it's always picking up the old one.

Try moving everything out of your scripts folder and rebuilding.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...