Jump to content

Updating local script?


Tasemu

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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