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
  • Chat gpt into dreambot


    outfitwear

    Recommended Posts

    Hi I want to make a chat gpt bot that can respond to players in game. Sp far I have build the paths in my eclipse java project and coded something really simple, like this: but whenever i export to dreambot, I keep getting class not found error for the com.littlecat.chatgpt.official.ChatGPT. I have also added the jars to my libs folder , can someone help? thank you

    import com.lilittlecat.*;

    import com.lilittlecat.chatgpt.offical.ChatGPT;

     

    import java.util.Scanner;

     

    import com.lilittlecat.chatgpt.offical.ChatGPT;

     

    public class test1 {

    public static void main(String[] args) {

    ChatGPT chatGPT = new ChatGPT("sk-PncS**************************");

    String msg = chatGPT.ask("(talk in the style of an average osrs player, respond in less than 70 character and be grumpy)");

    System.out.println(msg);

    }

    }

    Edited by outfitwear
    Link to comment
    Share on other sites

    any ideas on how to do it/ why I'm getting the error? Ive moved all the relevant jars into my libs folder, configured the build paths correctly in eclipse etc... Does dreambot client not recognise external jars and you can only use the client.jar? cheers

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