v2.1.39 seguridad
Security update: lab processing checked on the server, nothing lost with a full inventory
7cambios

Security update: lab processing checked on the server, nothing lost with a full inventory
7cambios

[02] Versión
Security update. Lab processing and money laundering now use the recipe from your config on the server, check ingredients and black money before taking them, and only pay out a process that was paid for. If the reward does not fit in the inventory, the ingredients or black money are given back. Every remaining text is now translated in the 41 languages.
This is a security update: update as soon as you can. Before it, a modified client could ask the server for lab rewards it never paid for.
Nothing to do in the database or the config.
If you edited a file in locales/, add the new keys to it. Around 60 new texts were added to every language (notifications, key hints, quests, dispatch and interface labels). A locale file without them shows missing_... instead of the text. The easiest way is to take the new file and re-apply your own changes on top.
A process can no longer be started or rewarded with recipe data sent by the player: the server always uses the recipe from your config, Config.Process for weed, meth, cocaine and money, and Config.DrugAnimations for your own drugs. Players trying to claim a reward for a process they did not pay for get a warning and the attempt is written to the server console.
When a reward cannot be given (full inventory, or the item is missing from your item list), the ingredients or black money are returned and the server console says which item failed.
The qs-police-creator dispatch alert and the qs-inventory quests now follow Config.Locale instead of fixed Spanish and English texts.
Replace every file in the resource. If you edited any of these, merge your changes into the new version:
client/custom/dispatch/qs-police-creator.luaserver/custom/missions.lualocales/*Nothing under config/ changed.
Cooking, packaging, laundering and your own drugs take the recipe from Config.Process or Config.DrugAnimations on the server instead of trusting data sent by the player.
The server pays out a process only after taking its ingredients or black money. Attempts to claim a reward without paying are refused and written to the server console.
Notifications, key hints, the PIN keypad, command help, qs-inventory quests and labels in the furniture creator and lab management were hard-coded. They now use the locale files.
The drug sale alert sent to qs-police-creator was always in Spanish. It now follows Config.Locale.
A process does not start, and nothing is taken, if the player is missing an ingredient or does not have enough black money.
If the reward does not fit in the inventory, or the item is missing from the item list, the ingredients or black money are returned and the player is told they cannot carry more.
The message after selling a lab to the bank showed prices such as 250.0.