Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ={trees}' Guide on How to Compile a Script on Mac OS X=
- ## What you'll need
- - The Java Developer's Kit
- - The latest version of RSBot
- ## Steps
- 1. Find your desired script.
- 2. Open TextEdit
- a. You can open this by going to your Applications folder and finding it
- b. You can alternatively hit Command (the Apple key) and Spacebar to open Spotlight and type TextEdit
- 3. Paste the entire script into TextEdit.
- 4. Click Format > Make Plain Text
- a. Alternatively, use the shortcut Shift - Command - T
- 5. Go to File > Save As (Shift - Command - S)
- 6. Save it as the scripts name (as told by the author).java
- a. If my script is supposed to be Conderoga's Chopper, and I am told to name the file CChop, I'll save as "CChop.java"
- 7. Move your [name].java into the RSBot > Scripts > Sources folder. This can be found by going to ~/Users/[YourUsername]/RSBot/Scripts/Sources
- 8. Open Terminal [NOTE: You must have installed the JDK prior to this step]
- 9. Type into terminal "javac -cp" then a space.
- 10. Drag your RSBot onto the Terminal window.
- 11. Drag your [name].JAVA folder onto the Terminal window.
- 12. Hit Enter in the Terminal window
- ##Congratulations! You've successfully compiled an RSBot script on your Mac!
- Want a tutorial from the forums? see http://www.powerbot.org/vb/showthread.php?t=483732
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement