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
  • Anyone know why MethodProvider.log() does not work?


    Bruhuh

    Recommended Posts

     

    image.thumb.png.6d77635d1400da6f1f8ceb3c0a2a5f0f.png

     

    I have no idea why this isn't working, I am trying to go through the tutorial of starting out with scripting, but I can't get past this step. Does anyone know what I am doing wrong? I am using the 1.8 SDK.

    Link to comment
    Share on other sites

    Hey there, which tutorial were you watching?

    We recently had a big cleanup of deprecated methods and classes, you can now log with Logger.log and sleep with Sleep.sleep.

    Hope that helps!

    Link to comment
    Share on other sites

    Oh thank you very much, that solved it, do you have a list of all these updated methods and classes? And I was following this tutorial: https://dreambot.org/guides/scripter-guide/script-dev/running-first-script/  but obviously after having followed the previous guides. I do have a lot of experience with C# Object orientated programming, so switching over to java with a new IDE should be fine. I am just unfamiliar with the dreambot library.

    Just now, Pandemic said:

    Hey there, which tutorial were you watching?

    We recently had a big cleanup of deprecated methods and classes, you can now log with Logger.log and sleep with Sleep.sleep.

    Hope that helps!

    Edited by Bruhuh
    quote
    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.