Jump to content

help me with a script


Recommended Posts

Posted (edited)

Hi, I use java online decompiler in CFR because I create this script from another. I added the osbot library 2.5.51 (the most current) added the artifacs. I add the JDK (the most current one) I use the language level 8 in the JDK. and when creating the .jar file it is very heavy and this does not allow me to open the osbot manager, if I open and execute the bot opening it from the osbot launcher if it works.

 

 

 

 

Edited by Prototype G
Posted

I made that mistake before. Also so you don't make this mistake if you make another script without making a new project make sure to make a new module folder (Just right click on Fish looter folder in project and hover new then it should be the first one). Then make the new java class in that module folders src. If not when you make another script in the same src as the one you have this script when you build the artifact it will build all the scripts in the src into one jar. You will need to make another artifact for each new script you make in it's own respective module folder src. Make sure to select the meta inf manifest file path too. Other wise it won't be able to open it in the client. Should be in Project Structure, Artifacts and just click on the .jar you are dealing with and it should be at the bottom of the window. Click existing path then find the meta inf file open it and select MANIFEST.MF and click ok or double click it.

Idk if there is another way to do this but this is my way of doing it.

  • Like 1

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...