Releases: crusopaul/pc-needs
1.1.0
This update adds statuses for oxy and meth! There are also some small performance improvements / functionality improvements to status and effect ticks.
What's Changed
- 1.1.0 by @crusopaul in #1
New Contributors
- @crusopaul made their first contribution in #1
Full Changelog: 1.0.2...1.1.0
1.0.2
1.0.1
1.0.0
I feel confident with this latest update that this need system is prepared for a formal release at 1.0.0!
In this latest update I have made the need system used a state buffer for the status system rather than have it make SQL queries regularly. I would only recommend using txAdmin restarts to ensure that status values are saved - otherwise player's states should save on relog / logout.
I have also made the effect system optional since it relies on SQL queries to ensure accurate expiration timing across reboots / triggers SQL queries every tick. In the case that it is enabled, I have made it so that if an effect tick is running while the next tick fires, then the effect tick will continue running without spawning unnecessary SQL queries / workload.
If you are upgrading from a previous version, please drop all tables, statusTypes, status, and effect, and rerun pc-needs.sql.
Please ignore the attached binaries. I had made a small typo that has since been corrected.
0.0.3
Hello! I'm glad to say that I've made some backend improvements to this resource that should hopefully alleviate split server / database latency issues! The most called export, alterStatus, was modified from using 5 SQL queries down to 1 - this should drastically reduce any potential latency that would result from too many queries across a network.
I've also:
- Made the default kill in config not double-fire for dead players (players could potentially die after being revived if they were hungry / thirsty / toxic / etc.)
- Removed Config.StatMinimum and Config.StatMaximum so that the hardcoded values of 0 and 100000 may be used
- [Internal] Made tickSingleStatus local take identifier instead of source
0.0.2
Hello! In this version I've:
- Added comments to config to make it more clear
- Reviewed & tested the effects system (buffs & enfeeblements)
- Reviewed & tested status rolls at all difficulties
- Added config values for status roll adjustment so that you can change the check's threshold and difficulty impact
- Added /statusRoll command / Config.Debug to help you test status roll config values
- Updated README to reflect CFX forum topic
This change involves a change to the effect table. If upgrading from 0.0.1, you will need to drop and recreate the effect table using the create statement in the pc-needs.sql file.