Changelog
Released version and their changes.
Changelog - Version 0.1.3
Changes
Smarter timeouts for syncing server to client. Bundles & processes first request instantly, but delays sequential requests to avoid overload.
Better threshold management to space update intervals from drain.
Properly ordering the tresholds for effects so the correct index is grabbed.
Listed zyke_lib as dependency.
Ensure status is valid to add/remove/set.
Reset status command for admins.
New structure for passing primary and secondary status names.
Some misc changes.
Files Affected
compatibility/server.lua
dev/server.lua
effects/main.lua
effects/queue.lua
server/events.lua
server/functions.lua
server/initialize.lua
server/main.lua
shared/config.lua
shared/functions.lua
statuses/addiction/config.lua
statuses/addiction/server.lua
statuses/drunk/server.lua
statuses/high/config.lua
statuses/high/server.lua
statuses/hunger/server.lua
statuses/stress/server.lua
statuses/thirst/server.lua
types.lua
fxmanifest.lua
Changelog -. Version 0.1.2
Changes
Spacing the main thread interval for passive drain to preserve performance.
Limit the value to ceiling when using the setter function.
Executing qb actions instantly (not just stress) to keep the QB player object up to date.
Smarter client syncing queue, now executing instantly and limiting consecutive requests, and bundling those updates to execute after a set threshold. Ensures up-to-date data whilst preserving performance if needed.
Catching QB events
consumables:server:addThirst
&consumables:server:addHunger
.Updated setup to remove
consumables:server:addThirst
&consumables:server:addHunger
for QB in qb-smallresources.
Files Affected
compatibility/server.lua
server/functions.lua
server/main.lua
statuses/addiction/server.lua
statuses/drunk/server.lua
statuses/high/server.lua
statuses/hunger/server.lua
statuses/stress/server.lua
statuses/thirst/server.lua
fxmanifest.lua
Changelog - Version 0.1.1
Changes
More universal SQL query.
Miscellaneous cleanup.
Ignore invalid events.
Return the new status value after onSet.
Set metadata instantly on stress update for QBCore.
Provide primary & secondary when using
GetStatus
to avoid separating it.Catch common stress addition & removal events.
Fixed ceiling typo for stress when setting.
Files Affected
client/events.lua
extras/zyke_status.sql
notes.md
server/events.lua
server/functions.lua
shared/config.lua
shared/functions.lua
statuses/hunger/server.lua
statuses/stress/server.lua
fxmanifest.lua
Last updated
Was this helpful?