Changelog
Released version and their changes.
Changelog - Version 0.2.5
Changes
Handle a
max
parameter for the stat manager, to set a "cap" of what you can add to a stat. For example, smoking x will only allow you to get 20 armor at most, any addition past it is rejected.Fixed some mismatched names when checking "if" statements & registering events.
Added
vms_hud
to list of huds overriding player instance update interval.Catching & handling txAdmin heal event.
Creates sub-files for each command.
Registering healing function, not overwriting by default.
Files Affected
server/commands.lua
server/commands/heal.lua
server/events.lua
shared/config.lua
Config.Settings.commands
fxmanifest.lua
Changelog - Version 0.2.4
Changes
Added more client exports to integrate our script easier.
Files Affected
client/functions.lua
shortcuts/client.lua
fxmanifest.lua
Changelog - Version 0.2.3
Changes
Added
izzy-hudv6
,17mov_hud
&ts_hud
to list of huds overriding player instance update interval.Changed the warning for grabbing uninitialized values from error to debug.
Exported
AddDirectEffect
.Added direct effect calls for string effect values.
Stat decimal manager - basically a primitive manager simplifying the process of adding small values in many iterations, like health & armor that doesn't support decimals.
Added
AutoToStatus
which automatically triggersAddToStatus
orRemoveFromStatus
depending on the value being positive or negative.Simplified add/remove status command by also allowing +/- symbol. @iSentrie
Files Affected
client/small_resources/stat_decimals.lua
compatibility/client.lua
server/direct_effects/functions.lua
server/functions.lua
shared/config.lua
fxmanifest.lua
Changelog - Version 0.2.2
Changes
Basics for direct effect calls. This allows you to run our effects directly instead of relying on a status to trigger the effect.
Better thread lifetime management for client idle performance.
Configurable player instance updating intervals, to support certain huds not relying on events for information update.
Modified some default values.
Fixed incorrect links.
Removed unused files.
Files Affected
client/events.lua
client/main.lua
dev/client.lua
effect_manager/queue.lua
server/database.lua
server/direct_effects/README.md
server/direct_effects/events.lua
server/direct_effects/functions.lua
server/functions.lua
server/initialize.lua
server/main.lua
shared/config.lua
statuses/caffeine/config.lua
statuses/hunger/config.lua
statuses/thirst/config.lua
types.lua
fxmanifest.lua
SQL Modifications
ALTER TABLE `zyke_status`
ADD COLUMN `direct_effects` MEDIUMTEXT NOT NULL DEFAULT "{}";
Changelog- Version 0.2.0
Changes
Moved from "pre-release" to official release as the resource has been tested without issues for a while.
The database now runs automatically.
Some internal re-structuring.
Added
blockJumping
effect.Added
blockSprinting
effect.
Files Affected
client/main.lua
effect_manager/effects/blockJumping.lua
effect_manager/effects/blockSprinting.lua
effect_manager/effects/blurryVision.lua
effect_manager/effects/cameraShaking.lua
effect_manager/effects/movementSpeed.lua
effect_manager/effects/screenEffect.lua
effect_manager/effects/strength.lua
effect_manager/effects/walkingStyle.lua
effect_manager/main.lua
effect_manager/queue.lua
server/database.lua
server/initialize.lua
fxmanifest.lua
extras/zyke_status.sql
Changelog - Version 0.1.4
Changes
More versatile ESX compatibility.
Ensuring walking style and avoid overriding crouching.
Refactored a confusing debug message.
Configurable stress gain when driving fast.
Base for caffeine status.
Files Affected
client/small_resources/driving.lua
compatibility/client.lua
compatibility/server.lua
effects/queue.lua
effects/walkingStyle.lua
server/register_statuses.lua
shared/config.lua
statuses/caffeine/config.lua
statuses/caffeine/server.lua
fxmanifest.lua
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?