v1.0.38 patch
Sync fixes, server-side security checks and startup self-check
14changes

Sync fixes, server-side security checks and startup self-check
14changes

[02] Release
Door states no longer get overwritten when joining or restarting, the creator works again under the new Lua runtime, and opening doors and passcodes are now checked and rate limited on the server. A startup self-check reports common setup problems in the console.
Nothing to do in the database. Your existing doors keep working as they are.
After replacing the files, run refresh before ensure qs-doorlock-creator (or restart the server). The resource has two new server files, and a plain restart keeps the old file list.
oxmysql is now a declared dependency. Make sure it starts before qs-doorlock-creator in your server.cfg.
On start, the new self-check prints common setup problems in the server console. Read it once after updating.
Config.Debug is now false by default. If you replace config/main.lua, debug logs stop; set it back to true only while testing.
Players who enter a wrong passcode too many times now have to wait before trying again.
Replace every file in the resource. If you edited any of these, merge your changes into the new version:
config/main.lua (Config.Debug is now false)custom/esx/server.lua (safer money and job handling)custom/qb/server.lua (markedbills rollback)server/custom/main.lualocales/* (new passcode message)server/modules/selfcheck.lua, server/modules/throttle.lua and CHANGELOG.md are new.
Opening or locking a door is now checked on the server for distance, with range limits, so it can't be triggered from far away.
Repeated requests are limited to stop spam and abuse.
Passcodes are compared safely on the server, and too many wrong attempts show a translated message and make the player wait.
On start, common setup problems are reported in the server console.
Safer money and job handling, non-blocking database queries and rate-limited outfit removal.
The creator now shows a proper message when you don't have permission or the door data is invalid.
One compact block with the top 3 changes, shown once per new version instead of on every check.
Debug logs are now disabled unless you turn them on.
An older sync packet could overwrite a door's state when joining or after a restart. Doors now always show their real state.
The closed position of a door is now learned correctly even for doors that had never been opened by an admin.
The creator camera and the door raycast work again under FiveM's new Lua runtime (OAL).
The resource falls back to English and the console names the missing keys.
If paying with markedbills fails halfway, the money already taken is given back.
The interface no longer loads fonts from external servers.