Pandemic 2842 Posted July 15, 2016 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
raptor 10 Posted July 15, 2016 Nice update! Why change how those methods work if you're deprecating them though? Seems like it might break lots of scripts.
Pandemic 2842 Author Posted July 15, 2016 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.
raptor 10 Posted July 15, 2016 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!
Dennis 2 Posted July 15, 2016 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?
chaosfurian 15 Posted July 15, 2016 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
Hopewelljnj 46 Posted July 15, 2016 How are the new fields found? Just through trial and error? They searched through the gamepack.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.