Jump to content

Welcome to DreamBot!

Download for Free

Supercharge Your Bots

Run unlimited bots today using DreamBot's Covert Mode and
stay more protected.

Upgrade Now
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java 8 installed
  • 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 gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
OSRS Gambling

Interested in advertising your business? Reach out today!

Download the DreamBot client today!
dQw4w9WgXcQ

[Video]Beginner to Advanced Scripting Tutorials

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

 

 

 

 

Edited by rickk

Share this post


Link to post
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

Edited by AsBakedAsCake

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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.

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.


×
×
  • Create New...