v2.1.11 parche
Creator fixed for the new runtime, safe room changes, and secure stashes
15cambios

Creator fixed for the new runtime, safe room changes, and secure stashes
15cambios

[02] Versión
The creator's free camera, raycasts and teleports work again under the new OAL runtime. Changing a tenant's room no longer loses stash items, stashes are validated by the server, unpaid salaries are kept, and the database now updates itself on start-up.
config/main.lua did not change. Keep your config as it is.custom/client.lua, custom/esx/*, custom/qb/*client/custom/main.luaserver/custom/main.lua, server/custom/inventory/*locales/*Replace every file in the resource, except what you edited yourself:
client/ — build/main.lua, build/other.lua, classes/doors.lua, classes/inside.lua, classes/mlo.lua, classes/motel.lua, custom/main.lua, main.lua, modules/creator/helper.lua, modules/creator/main.lua, modules/functions.lua, modules/interior.lua, modules/ipl.lua, modules/raycast.lua, parts/employees.lua, parts/inventory.luacustom/ — client.lua, esx/client.lua, esx/server.lua, qb/client.lua, qb/server.luadatabase/esx.sql, database/qb.sqllocales/*.json, locales/locale.luaserver/ — classes/inventory.lua, custom/inventory/adapters/codem.lua, custom/inventory/adapters/qb.lua, custom/inventory/adapters/qs.lua, custom/inventory/adapters/standalone.lua, custom/inventory/wipe.lua, custom/main.lua, main.lua, modules/creator.lua, modules/customers.lua, modules/db/finance.lua, modules/db/main.lua, modules/db/motel.lua, modules/employees.lua, modules/finance.lua, modules/helpers.lua, modules/ipl.lua, modules/lifecycle.lua, modules/misc.lua, modules/motel/manager.lua, modules/motel/rent.lua, modules/phone_bridge.lua, modules/record.lua, modules/rooms.lua, modules/version.lua, parts/inventory.luaserver/modules/selfcheck.lua, server/modules/throttle.lua — new files.shared/functions.lua, shared/utils.luaweb/* — replace the whole web/build/ folder.CHANGELOG.md — new file.fxmanifest.luaThe server checks that the player is the tenant or a guest with access, is in the same routing bucket and is close enough. Slots and weight limits are set by the server.
Server events and callbacks are now rate limited and validate their input more strictly.
On MySQL 8.0 / 8.4 the new columns for the pricing unit, the reception ped and owed salaries are added on start-up. No manual SQL import is needed.
The console reports missing dependencies and setup problems when the resource starts.
Staff can't move a tenant to another room while someone has the current room's stash or the new room's stash open.
The console shows one compact block per new version with the 3 most important changes, and stays quiet on later checks until a newer version is out.
The free camera, raycasts and teleports work again in the creator, in door placement and in the MLO and IPL previews.
A room change no longer wipes or loses the stash contents. Items are moved safely to the new room on qs-inventory, ox_inventory, qb-inventory, origen, codem and standalone, and everything is restored if the move fails.
Closing a qs-inventory or qb-inventory stash now clears it properly.
Wages that could not be paid while an employee was offline, or during a busy salary cycle, are saved and paid on their next login.