Bug Fixes & Stability Improvements
Overview
After yesterday's release, there were a couple of things that needed a little tidying up, because I left a lot of uncleaned code when implementing the new algorithm. I'll be honest, I was quite eager to release it to you all. Of course, I spent a lot of time on fixing as many bugs as I could and cleaned up a lot of the algorithm, and here we are today. Nothing super fancy in terms of features other than some new functions for the equations, but I highly recommend updating as it fixes numerous issues that I noticed when reviewing the code.
Changelog
- Updates are now automatically checked asynchronously (your server performance shall not suffer 😄) every 30 minutes rather than only once when the server starts up. Online OP'd players will be notified
- Added a little reminder to the /ded command if there is a new version available
- Removed the neg function, as you could accomplish the exact same thing with "-3" (for example)
- Added a bunch of new equation functions including:
- abs: Get the absolute value of its operand (i.e. abs(-2) results in 2)
- log: Get the log base 10 value of its operand (i.e. log(10) results in 1)
- csc: The reciprocal of sinus, cosecant. (i.e. csc(180) results in -1.2482)
- sec: The reciprocal of cosine, secant. (i.e. sec(180) results in -1.6709)
- cot: The reciprocal of tangent, cotangent. (i.e. cot(180) results in -0.7469)
- Cleaned up a bunch of the particle code to be more organized in a fancy little ParticleShapeDefinition class
- Fixed potential NullPointerExceptions when using variables that are not supported
- Fixed the "Particles.type" configuration option not changing the particles from FLAME
- Fixed a couple memory leaks that were not maintained in previous versions
Reminder
Just a reminder to please use the GitHub Issue Tracker when submitting bugs, as I will notice them first. It's always highly recommended to post there. I can keep track of bug progress, label tickets and reply personally; and finally but most importantly, mention them in update notes! It would make life a little bit easier for me. Thank you very much!