v2.1.40 seguridad
Security hardening, laundering that always pays out, and Qbox ox_target fixed
16cambios

Security hardening, laundering that always pays out, and Qbox ox_target fixed
16cambios

[02] Versión
Server-side checks for corner selling, distances, rate limits and per-player locks; laundering and processing always charge first and refund if the reward does not fit; private lab data stays private; safer SQL files, a startup self-check and a cleaner update notice.
This is a security update: update as soon as you can.
Nothing to do in the database. Missing columns (access, charge, vaultCodes, public, lightData) are added automatically on start. The [sql] files no longer drop your tables, so importing them again is now safe.
After replacing the files, run refresh before ensure qs-drugs-creator (or restart the server). The resource has new server files, and a plain restart keeps the old file list.
Config.Debug and Config.ZoneDebug are now off by default.
On start, a self-check prints common setup problems in the server console. Read it after updating.
The update notice is now a single line that says whether you are up to date and lists the three most important changes. It is shown once per version.
Replace every file in the resource. If you edited any of these, merge your changes into the new version:
config/main.lua and config/furniture.luacustom/client.lua, custom/esx/server.lua and custom/qb/server.luaclient/custom/target/main.luashared/main.lua and shared/utils.luaserver/modules/selfcheck.lua and server/modules/throttle.lua are new.
Process rewards could be given before the cost was paid.
Price, police count and items are now calculated and checked on the server.
Farms, labs, sellers and lab entrances check the player's distance on the server.
Selling, processing, decoration and key management are rate limited and locked per player.
Vault codes and other private lab data are no longer sent to every client.
Reports common setup problems in the server console.
Purchases are refunded if saving fails, the session expires or the player disconnects.
Items are removed safely and rolled back if something fails.
They add missing columns safely on MySQL 8 and MariaDB, including the lab charge and decoration light columns.
Config.Debug and Config.ZoneDebug now ship disabled.
One line with the status and the three most important changes, shown once per version.
Laundering could take markedbills without giving the reward. The process is now read from the server config and the input is refunded if the reward does not fit.
It was detected as qb-target and called the missing AddGlobalPed export.
The lab decoration free camera and the creator selectors work again.
Repeated load events no longer put players back in a lab or create duplicate quests.
They no longer stay inside.