Jump to content

How to add scripts (Not from the website)


XFIREDEMONX

Recommended Posts

I can't seem to figure out how to add my own scripts into the files. I have searched through the whole file, and can only seem to find one thing that I THOUGHT would be the key to it all. It was a folder that said "script" I then tried to add my script, which was inside of a folder. This did not work for me and it brought up an error message.

Link to comment
Share on other sites

Add the script in ".jar" format (I asume you have jar files) in OSBot Script folder, eg.

Windows:

C:\Users\nosepicker\OSBot\Scripts

Linux/Mac

/home/nosepicker/OSBot/Scripts

Once you placed those there relaunch OSBot OR click refresh button in script selection window.

If you see the script in the list - all bueno. 

If you're getting any errors alter on - those are script issues and not your concern.

Link to comment
Share on other sites

13 minutes ago, nosepicker said:

Add the script in ".jar" format (I asume you have jar files) in OSBot Script folder, eg.

Windows:


C:\Users\nosepicker\OSBot\Scripts

Linux/Mac


/home/nosepicker/OSBot/Scripts

Once you placed those there relaunch OSBot OR click refresh button in script selection window.

If you see the script in the list - all bueno. 

If you're getting any errors alter on - those are script issues and not your concern.

I did everything and for some reason it wouldn't work i still tried to look for the scripts file and it was nowhere to be found. I tried re downloading it and i had the correct file but i could NOT find the scripts file D;

Link to comment
Share on other sites

1 hour ago, XFIREDEMONX said:

I did everything and for some reason it wouldn't work i still tried to look for the scripts file and it was nowhere to be found. I tried re downloading it and i had the correct file but i could NOT find the scripts file D;

Don't know if you did this, but when you add a local script, you have to re-launch the client. You can't refresh the script list like you can with SDN scripts

Link to comment
Share on other sites

1 hour ago, XFIREDEMONX said:

I did everything and for some reason it wouldn't work i still tried to look for the scripts file and it was nowhere to be found. I tried re downloading it and i had the correct file but i could NOT find the scripts file D;

Not entirely sure what this means - it's quite a simple process:

  1. Download script jar file
  2. Move jar file to specified directory C:\Users\your_username\OSBot\Scripts
  3. Launch client as normal
  4. Run script

If it is not showing up in osbot but you have accurately followed those steps, then as someone mentioned above, it's a problem with the script.

Apa

Link to comment
Share on other sites

7 hours ago, Apaec said:

Not entirely sure what this means - it's quite a simple process:

  1. Download script jar file
  2. Move jar file to specified directory C:\Users\your_username\OSBot\Scripts
  3. Launch client as normal
  4. Run script

If it is not showing up in osbot but you have accurately followed those steps, then as someone mentioned above, it's a problem with the script.

Apa

Sorry if I wasn't clear enough but, I cannot find ANY file that says script on it. I searched through the directory and I couldn't find the file named "Scripts"

Edited by XFIREDEMONX
spelling error
Link to comment
Share on other sites

  • 6 years later...

So everyone here is saying to ut the .jar file into the scripts folder, yet i was having the same issue and was not able to get my scripts to appear. however, i did get around this by adding a folder inside the script folder thats named after my script, then inside of that i have my src folder. and within that folder i have my interface.java and mainscript.java. it loaded into the client just fine -- which is a relief because ive been having this problem for a while.

Edited by Hunter Erick
  • Heart 1
Link to comment
Share on other sites

On 1/7/2018 at 6:20 AM, Apaec said:

accurately followed those steps, then as some

 

On 11/28/2024 at 8:43 AM, Hunter Erick said:

bro i need you to have an option to disable the banking so that i can run this on my uim. for the life of me, i dont know why you would need to withdraw food anyway. just eat the banans or peaches..

i agree !

  • Heart 1
Link to comment
Share on other sites

On 11/29/2024 at 5:39 PM, GlassNhearts said:

 

i agree !

lmao for the life of me, i have no idea how this cross posted between threads lol. i swear this was on an MTA script thread and not a custom script implimentation issue one.

On 1/7/2018 at 6:20 AM, Apaec said:

Not entirely sure what this means - it's quite a simple process:

  1. Download script jar file
  2. Move jar file to specified directory C:\Users\your_username\OSBot\Scripts
  3. Launch client as normal
  4. Run script

If it is not showing up in osbot but you have accurately followed those steps, then as someone mentioned above, it's a problem with the script.

Apa

not necessarily. my .jar files werent loading in either, yet when i put my folder in there with an src and then my .java files inside, ta-da! it worked. 

Edited by Hunter Erick
typo
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...