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
  • Try asking for help in the chatbox
  • Java Tutorial Series


    Mad
     Share

    Recommended Posts

    Hi guys i'm gonna be starting up a java tutorial series (not scripting specific).

     

    Java Beginner Tutorial - Hello World

    https://www.youtube.com/watch?v=xiTCfVtOceo

     

    Java Beginner Tutorial - Variables

    https://www.youtube.com/watch?v=4OC8Yh44wAY

     

    Java Beginner Tutorial - Loops

    https://www.youtube.com/watch?v=xJBpRJUlgQA

     

    Java Beginner Tutorial - Functions

    https://www.youtube.com/watch?v=r0ae5wqOof4

     

    Java Beginner Tutorial - Creating a BMI Calculator w/ User Input

    https://www.youtube.com/watch?v=KgC2tiy8uOo

     

    I will try to be posting atleast once every two days or so.

     

    Please like and subscribe :)

    Edited by Mad
    Link to comment
    Share on other sites

    • 5 weeks later...

    Hey, I'm new to Java been programming in C/C++ for years. How do I add the Dreambots API libraries to the Eclipse project?

    For instance, i've been seeing these lines i suppose they correspond to them:
    import org.dreambot.api.methods.Calculations;
    import org.dreambot.api.methods.map.Area;
    import org.dreambot.api.methods.map.Tile;
    import org.dreambot.api.methods.skills.Skill;


    import java.awt.*;

    Thank you!

    Link to comment
    Share on other sites

    Hey, I'm new to Java been programming in C/C++ for years. How do I add the Dreambots API libraries to the Eclipse project?

     

    For instance, i've been seeing these lines i suppose they correspond to them:

    import org.dreambot.api.methods.Calculations;

    import org.dreambot.api.methods.map.Area;

    import org.dreambot.api.methods.map.Tile;

    import org.dreambot.api.methods.skills.Skill;

     

     

    import java.awt.*;

     

    Thank you!

    You need to add the client.jar as a library in your project

    Link to comment
    Share on other sites

    You need to add the client.jar as a library in your project

    Alright, I've added the client that I downloaded from the homepage. Still get those errors, in fact it doesn't have the .api. area

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    ×
    ×
    • 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.