v2.0.2 Patch
Safer vendors and scratchcards, MySQL 8 support and an update checker
14Änderungen

Safer vendors and scratchcards, MySQL 8 support and an update checker
14Änderungen

[02] Release
Vendor ownership, purchases and scratchcards are now checked by the server, so players can no longer claim, collect from or sell machines they don't own. Also: QBCore/Qbox black money fix, MySQL 8 support, spam protection, a startup self-check and an update checker.
database.sql no longer contains DROP TABLE, so importing it never deletes your machines. Missing tables and columns are created automatically on start. No manual SQL is required.custom/, merge your changes by hand instead of overwriting them.Replace every file in the resource, except what you edited yourself:
fxmanifest.luaclient/modules/creator/main.lua, nui.luaclient/modules/gameplay.luaclient/modules/helper.luaclient/modules/ownership.luaclient/modules/raycast.luaclient/modules/scaleform.luaclient/modules/vendors.luacustom/esx/client.lua, server.luacustom/qb/client.lua, server.luadatabase/database.sqlshared/functions.lua, utils.luaserver/main.luaserver/phone.luaserver/purchase.luaserver/scratch.luaserver/modules/creator.luaserver/modules/db/vendors.luaserver/modules/ownership.luaserver/modules/selfcheck.lua — newserver/modules/throttle.lua — newserver/modules/updater.lua — newweb/*Players can no longer claim, collect from or sell a vendor they don't own, and earnings can no longer be duplicated.
Players must be near the machine and have the required job to buy. If the item cannot be given, the money and the stock are returned.
Private vendor data is no longer sent to clients, and routing buckets are now checked.
Phone purchases now have quantity limits and validation.
Server events are rate limited to stop spam and abuse.
On start, the server console warns you if a dependency or the database is not set up correctly.
The server console tells you when a new version is available, with its most important changes.
The DROP TABLE was removed from database.sql, and tables are migrated automatically on start.
The interface no longer loads Google Fonts from the internet, and the NUI has been rebuilt.
The ticket is consumed before the card is generated, closing a card no longer soft-locks the player, and each card is tied to the character who bought it.
Black money (markedbills) payments now work on QBCore and Qbox, and money and item functions check their results strictly.
Players who join while the server is running no longer get script errors.
Job grades set as a number no longer crash the creator, and editing a vendor keeps its stock.
Lower client usage, and the instructional buttons no longer leak scaleforms.