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
  • DreamBot v2.6.7: Client is UP!


    Pandemic

    Recommended Posts

    Posted

    Hello everyone, I'm glad to announce our latest client version.


     
    Make sure you have the latest version of the launcher (you can get it here).
     
    Changes:

    • Updated the health system for all characters

    Note for scripters:

     

    Character#getHealth now returns health percentage (0-100) and will only be accurate if the health bar is showing (otherwise it will return 100)

    Character#getMaxHealth now returns a constant 100

     

    Both of these methods are now marked deprecated, instead change all health related methods to use Character#getHealthPercent()

     

    ​Thanks everyone,
     
    The Dream Team

    Posted

    Nice update!

     

    Why change how those methods work if you're deprecating them though? Seems like it might break lots of scripts.

    Posted

    Nice update!

     

    Why change how those methods work if you're deprecating them though? Seems like it might break lots of scripts.

     

     

    With the RS update, they removed both of those fields, so I did my best to ensure existing scripts will continue to work well.

    Posted

    With the RS update, they removed both of those fields, so I did my best to ensure existing scripts will continue to work well.

    Ahh gotcha, didn't know the change was motivated by an RS update. Nice work!

    Posted

    With the RS update, they removed both of those fields, so I did my best to ensure existing scripts will continue to work well.

    How are the new fields found? Just through trial and error?

    Posted

    Hello everyone, I'm glad to announce our latest client version.

     

    Make sure you have the latest version of the launcher (you can get it here).

     

    Changes:

    • Updated the health system for all characters

    Note for scripters:

     

    Character#getHealth now returns health percentage (0-100) and will only be accurate if the health bar is showing (otherwise it will return 100)

    Character#getMaxHealth now returns a constant 100

     

    Both of these methods are now marked deprecated, instead change all health related methods to use Character#getHealthPercent()

     

    ​Thanks everyone,

     

    The Dream Team

    Thankyou Pandemic and the Dreambot team for this speedy update. We can get back to our gold farming ASAP :)

    Posted

    How are the new fields found? Just through trial and error?

    They searched through the gamepack.

    Archived

    This topic is now archived and is closed to further replies.

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