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
  • System.getProperty("user.home") directing to \DBFolderCache\tmpDB32fd96a9 ?


    apnasus

    Recommended Posts

    Does anyone know why

    System.getProperty("user.home")

    takes me to

    C:\Users\me\DBFolderCache\tmpDB32fd96a9

    instead of

    C:\Users\me

    Link to comment
    Share on other sites

    You're likely using Fresh Start which sets that to a temporary folder for cache and other game files.

    You can look at the "scripts.path" property to get the path to the DreamBot/Scripts/ folder however (which will be in the user's actual home folder).

    Link to comment
    Share on other sites

    Posted (edited)
    2 hours ago, Pandemic said:

    You can look at the "scripts.path" property to get the path to the DreamBot/Scripts/ folder

    This is exactly what I was after, thanks!

    Edit: also I was using fresh start, turned it off but didn't restart client so maybe thats why

    Edited by apnasus
    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.