v1.0.33 parche
Separate decoration stashes, safer vaults and a new update checker
16cambios

Separate decoration stashes, safer vaults and a new update checker
16cambios

[02] Versión
Decoration stashes no longer share the main yacht stash, the decoration and front door cameras work again, and furniture purchases are refunded if they fail. Stashes are now authorized on the server, PIN codes never reach the client, Tebex purchases can't be replayed, and a startup self-check and update checker tell you what's going on.
yacht_<id> to yacht_decor_<yachtId>_<decorId>. This works for ox_inventory, qb-inventory, ps-inventory and qs-inventory, and vault codes move with them. Main yacht stashes keep their yacht_<id> ID, so nothing inside them is lost.config/main.lua, set Config.Debug = false yourself.On start, the console runs a self-check and reports common setup problems. The new update checker prints one short line when you are up to date, or one block with the most important changes when a new version is out.
Replace every file in the resource, except what you edited yourself:
config/main.lua changed. If you edited it, copy your changes onto the new file.custom/client.lua, custom/esx/client.lua, custom/esx/server.lua, custom/qb/client.lua, custom/qb/server.lua changed.client/custom/inventory/* (every inventory bridge), client/custom/target/main.lua and server/custom/inventory/qs.lua changed.database/main.sql, database/esx.sql, database/qb.sql changed.locales/ — every language changed. Re-apply any translation you edited.web/* — the interface was rebuilt.server/modules/selfcheck.lua, server/modules/throttle.lua, server/modules/updater.lua, shared/locations.lua, CHANGELOG.md.server/version.lua, server/modules/management.lua, not. Delete them if you copy over your old folder.Before a stash opens, the server checks that the player owns the yacht or has a key, is close enough, and entered the right PIN.
PIN codes are no longer sent to players; the client only knows whether a vault has a code.
A Tebex transaction can only be claimed once.
Access checks and decoration actions are protected against spam, and the same action can't run twice at the same time.
The console reports common setup problems when the resource starts.
Replaces the old GitHub version check. One short line when up to date, or one block with the most important changes and a link to the full changelog when a new version is out.
Tables are created and checked safely on MySQL 8.0 / 8.4 and MariaDB.
Yachts bought through Tebex no longer pay out the base price plus modifications when sold to the bank.
Debug output is no longer enabled on live servers out of the box.
All translations include the new messages.
Decoration stashes could share the main yacht stash. Each one now has its own storage, and existing stashes are migrated automatically on the first start.
The free cameras move and aim correctly again with FiveM's new Lua runtime.
If a player leaves the server or a furniture purchase expires before it is placed, the money is returned automatically, and it can't be refunded twice.
Players now sit in the right spot in the jacuzzi.
The image path was updated to qs-inventory's new web/dist/images/ folder.
Menus load only when they are opened, and fonts ship with the script instead of being downloaded from Google Fonts.