Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How Do I Compile A Script

Featured Replies

Hey,


Very noob-alike, but I just dont know it ok.


I editted an open source magic curse script.


How do i compilie my script into a jar file so I can add it to my local scripts folder?


 


Thanks alot.


Us your IDE and export it using Java which should compile your script. If you don't have an IDE there's website that do it for you

  • Author

Us your IDE and export it using Java which should compile your script. If you don't have an IDE there's website that do it for you

Can you link me to that website? Thanks.

open CMD

 

1. Compile your source files into .class files

"javac somefile.java"

This will generate a file with the same base name, but .class extension. This is the compiled source.

 

Next, to add them to a Jar archive, run this command:

"java cf YourScriptName.jar mainclass.class otherclass.class thirdclass.class"

Basically after the jar name you list all the compiled files seperated by spaces. This will create the Jarfile. Be sure to run the commands with full path, OR from the directory containing your files. "cd" is the command to change directory in CMD

I had problems with this but seem to have it working. First make sure you have the newest version of osbot. Next make sure your using the IDE Eclipse, what im about to tell you, im not sure it if it will work the same in net beans.

 

1. Right click the class file of the script you wish to compile and use.

2. Click Export

3. Make the location of the jar point to your \Users\USER\osbot\scripts\ folder

4. Hit save

 

Now it should be there, if osbot is open hit the refresh button and wa-laa ur script should be there.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.