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
  • Broken script need help ( first timer ).


    Okito
     Share

    Recommended Posts

    So i'm sure my script is broken because everytime i upload it to my dreambot scripts folder it fucks up the cliënt and wont show any other scripts aswell.

    Could anyone please help me with what is wrong with my script or other options?.

    script.PNG

    Link to comment
    Share on other sites

    Did you specify build path to DreamBot/Scripts? After you build the script it should put the .jar file inside it. (You can test if it works by deleting the folder and trying to build -> refresh scripts). Also I recommend just casually logging the stuff into DB console with `log("somestuff");`

    Link to comment
    Share on other sites

    Are you exporting the Client.jar or any other libraries with the .jar file? Because that can screw the script loader

    and are you exporting it in JDK 8?

    Edited by Defiled
    Link to comment
    Share on other sites

    15 minutes ago, Okito said:

    In jdk 13 i think, that might be the problem indeed, ill let you know if it works. Ty!!!

    No worries dude, lmk if it works! :) 

    Link to comment
    Share on other sites

    After a pretty long grind it worked lol. I unstalled jdk 13 and had to install 8 instead. But i didnt know eclipse i had used untill then still contained things of jdk 13. So i uninstalled eclipse and reinstalled it again, it worked perfectly after this. Again thank you very much!

    Link to comment
    Share on other sites

    33 minutes ago, Okito said:

    After a pretty long grind it worked lol. I unstalled jdk 13 and had to install 8 instead. But i didnt know eclipse i had used untill then still contained things of jdk 13. So i uninstalled eclipse and reinstalled it again, it worked perfectly after this. Again thank you very much!

    No worries dude! Have fun scripting!

    Link to comment
    Share on other sites

    No i havent yet but the problem is solved already, i might look into intellij later on as im just new into this. Thanks for the suggestion though!!

     

    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.