Jump to content

help me with a script


Prototype G

Recommended Posts

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
Link to comment
Share on other sites

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