Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • [Video]Beginner to Advanced Scripting Tutorials


    dQw4w9WgXcQ

    Recommended Posts

    [setup] Tutorial 0: Setting Up the Development Environment

     

     

    Dinh already made a great tutorial on setting setting up IntelliJ for scripting.  https://dreambot.org/forums/index.php/topic/11159-video-tutorial-series-dreambot-scripting/

     

     

     

    [beginner] Tutorial 1: Hello World and Making a Basic Woodcutter

     

     

     

     

     

    [Novice] Tutorial 2: Learning The API, Attacking, Walking, Filters, Equipment

     

     

     

     

     

    [Novice] Tutorial 3: Gold Crafter Part 1, Banking, Widgets 

     

     

     

     

     

    [Novice] Tutorial 3: Gold Crafter Part 2, sleepUntil, Enum 

     

     

    AUDIO FUCKED SORRY MY MIC UNPLUGGED

     

    https://gist.github.com/dQw4w9WgXcQ/75945c643f5d27cc2b6609b8682d92cc

     

     

     

    [intermediate] Tutorial 4: Nodes

     

     

     

     

    Link to comment
    Share on other sites

    2nd tut up

    Aye rick, I watched Dinh's tutorial closely and followed each step, but when I go to compile I get this error: Error:java: invalid flag: -release

     

    How do I fix the error?

     

    This is what everything looks like on my end:

     

    package org.dreambot.asbakedasacake;

     

    import org.dreambot.api.script.AbstractScript;

    import org.dreambot.api.script.Category;

    import org.dreambot.api.script.ScriptManifest;

     

    /**

    * Created by charlie on 12/6/2017.

    */

    @ScriptManifest(author = "asbakedasacake",category = Category.WOODCUTTING,version = 1.0,description = "Woodcutter", name = "woodcutter")

    public class Main extends AbstractScript {

    @Override

    public int onLoop() {

    return 0;

    }

    }

     

     

     

    Edit: I fixed it downloading old version of jdk made it work

    Link to comment
    Share on other sites

    Can also use the shortcut Alt+Enter to bring up the suggestion by IntelliJ, makes it a bit quicker. 

     

    Ask for a Zulrah account maker + killer, get a goblin killer. Time to start a goblin killing farm :o

    Link to comment
    Share on other sites

    Can also use the shortcut Alt+Enter to bring up the suggestion by IntelliJ, makes it a bit quicker. 

     

    Ask for a Zulrah account maker + killer, get a goblin killer. Time to start a goblin killing farm :o

     

     

    o lmao i didnt kno about that shortcut, thx

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.