Skip to content

Releases: crusopaul/pc-needs

1.1.0

15 May 10:26
00b1448
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 1.0.2...1.1.0

1.0.2

29 Apr 17:54
Compare
Choose a tag to compare

Another small update. I fixed an issue with effects where they wouldn't hold status values to the effect amounts.

1.0.1

24 Mar 16:49
Compare
Choose a tag to compare

Just a small update: I removed a bad line in the config file that was causing bindValue to be nil

1.0.0

22 Mar 14:23
Compare
Choose a tag to compare

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

01 Mar 15:46
Compare
Choose a tag to compare

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

15 Feb 15:29
Compare
Choose a tag to compare

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.

0.0.1

11 Feb 15:01
Compare
Choose a tag to compare

Initial release! Thank you for trying this out!