12 Commits

Author SHA1 Message Date
d21d04f606 Add debug logging to onClientResourceStop cleanup, bump to 1.1.5
Temporary tracing to diagnose why safe props still show after
resource stop despite DeleteObject being called.
2026-08-03 11:58:50 +00:00
091e4864f1 Unfreeze safe props before deleting, bump to 1.1.4
Deleting a frozen object left a stale rendered mesh on screen until
the area re-streamed. Unfreezing right before DeleteObject clears it
immediately, matching how safe:despawn already looked to behave.
2026-08-03 11:52:59 +00:00
55b4506225 Clean up spawned safe props on resource stop, bump to 1.1.3
The cleanup loop ran on onClientResourceStart, but spawnedSafes is
already a fresh empty table by then, so it never actually deleted
anything. Props from before a restart stayed orphaned in the world
and got duplicated by the requestSync on start. Moved the cleanup to
onClientResourceStop, which runs while the entities are still known.
2026-08-03 11:38:57 +00:00
cc53d101cb Enable Lua 5.4 in fxmanifest, bump to 1.1.2
ox_lib requires lua54 to be enabled; without it, ox_lib/init.lua
threw "Lua 5.4 must be enabled in the resource manifest!" on
resource start.
2026-08-03 11:37:34 +00:00
9cb715fc34 Remove auto-restart from upgrade command, bump to 1.1.1
ExecuteCommand('restart ...') was restarting the whole FXServer
process in this environment instead of just the resource, so
/oixbupgrade now only downloads files and tells the admin to
restart manually.
2026-08-03 11:35:17 +00:00
e50eb7e74c Add version.json for the update checker 2026-08-03 11:17:02 +00:00
825284d722 Scope PIN rate-limit to the safe instead of the player
A wrong PIN now only locks that specific safe, so the player can
still try opening other safes. Also surfaces remaining attempts and
lock duration in the notify messages.
2026-08-03 11:14:29 +00:00
781607a434 Improve notify messages and fix premature pickup success notice
Distance rejection now says exactly why, the PIN rate-limit shows
remaining seconds, and the client no longer announces pickup success
before the server validates it.
2026-08-03 11:05:37 +00:00
a85703ee19 Eliminar README.md 2026-08-03 10:57:40 +00:00
978bf68745 Merge remote README 2026-08-03 10:57:18 +00:00
849663708a Add safe stash resource with security hardening
Adds distance validation on placement, PIN attempt rate limiting,
proximity checks on open/pickup, and prevents item loss on pickup
when the safe still has contents.
2026-08-03 10:57:14 +00:00
8c06997192 Adicionar README.md 2026-08-03 10:49:28 +00:00