Commit Graph
1179 Commits
Author SHA1 Message Date
_Not_ 2a303f4e41 Merge remote-tracking branch 'Astro/refactor/move-modules-to-lib' into 1.14.0 2026-07-15 23:48:51 -05:00
_Not_ 51ada6d4f5 Merge remote-tracking branch 'Snail/esx_lib' into 1.14.0 2026-07-15 23:44:49 -05:00
_Not_ 5cf6a78111 Merge remote-tracking branch 'Stane/esx_lib' 2026-07-15 23:39:44 -05:00
ASTROWwwW 409c2ccc63 refactor(esx_lib): move the player-state cache into the lib
Adds a generic xLib.cache (ped, vehicle, seat, weapon, coords) modelled on
ox_lib cache and framework agnostic, and rewires es_extended to source ped and
weapon from it which removes the per-frame ped poll. The vehicle enter/exit
state machine and every esx: event are kept unchanged through a thin glue.
2026-06-24 18:39:07 +02:00
ASTROWwwW c32138eedd feat(esx_lib/onesync): move onesync query helpers to xLib
Moved getPlayersInArea / getClosestPlayer / getPedsInArea / getObjectsInArea /
getVehiclesInArea / getClosestPed / getClosestObject / getClosestVehicle to
xLib; es_extended re-exposes them through server compat shims.

Flagged: getNearbyPlayers iterates ESX.Players (es_extended server state),
which is not portable across the lib boundary - the lib relies on that global
being present at call time.
2026-06-16 21:03:41 +02:00
ASTROWwwW 700b7a646b feat(esx_lib/game): move game spawn/pool/closest/area and vehicle properties to xLib
Integrated fix during the move:
- spawnVehicle uses the computed isNetworked for the network-id/migrate guard,
  fixing the original that branched on the raw networked argument

modSmokeEnabled preserved as-is in get/setVehicleProperties (flagged: the set
path toggles mod 20 without applying a smoke color, matching legacy behavior).

Non-portable substitution documented:
- ESX.PlayerData.ped -> PlayerPedId() (ESX.PlayerData is not available in the lib VM)
2026-06-16 21:03:41 +02:00
ASTROWwwW 3fd3bf7877 feat(esx_lib/interactions): move interactions to xLib 2026-06-16 21:03:41 +02:00
ASTROWwwW ca278be1da feat(esx_lib/points): move points and Point class to xLib
Integrated fixes during the move:
- monotonic handle counter (handleCount) instead of count+1; no handle
  collision after a point is removed
- unified single proximity loop: per-frame inside() plus a 500ms enter/leave
  scan, adaptive Wait(next(insidePoints) and 0 or 500), replacing the previous
  two separate loops
- emptiness detected via next() instead of # on a sparse-keyed table

Non-portable substitutions documented:
- ESX.PlayerData.ped -> PlayerPedId() (ESX.PlayerData is not available in the
  lib VM)
- GetGameTimer() used to gate the 500ms scan within the single loop
2026-06-16 21:03:41 +02:00
ASTROWwwW 6a72181992 feat(esx_lib/scaleform): move scaleform helpers to xLib 2026-06-16 21:03:41 +02:00
ASTROWwwW f4af0d90bd feat(esx_lib/streaming): move streaming request helpers to xLib 2026-06-16 21:03:41 +02:00
SNAILX d3868429ed Moved esx.table from the core to esx_lib 2026-06-15 02:08:30 +01:00
Arctos. de98981ea6 Change domains 2026-05-25 12:12:51 +02:00
zykem c0260923bb Merge pull request #1781 from esx-framework/chore/bump-1.13.5
chore: bump manifest version to 1.13.5
2026-05-08 11:33:44 +02:00
zykem#0643 efedf3c303 chore: bump manifest version to 1.13.5 2026-05-08 11:30:59 +02:00
Fabian Terhorst 55355cbf56 fix: mysql.ready called before functions.lua is loaded 2026-05-07 19:13:55 +01:00
Kremu 638a60ce7b Merge branch 'esx_lib' into esx_lib 2026-01-14 16:24:01 +01:00
Arctos. cae0f546bd Merge branch 'esx_lib' into Move-refactor-raycast-functions-esx-lib 2025-11-13 00:04:37 +01:00
SNAILX 9b9b4b3fa4 Move-refactor-entity-functions-esx_lib 2025-11-11 05:52:38 +01:00
SNAILX 109a5c6038 small fixes 2025-11-11 03:31:19 +01:00
SNAILX d908418637 Move-refactor-raycast-functions-esx_lib 2025-11-11 00:57:39 +01:00
zykem#0643 cb41916ad1 refactor(lib/addKeybind) Compat for old core structure 2025-10-30 19:14:24 +01:00
SNAILX ae19c7cd25 Refactor keybind registration to use xLib.addKeybind 2025-10-28 18:29:36 +01:00
Stane034 7772bc5277 hotfixes 2025-10-26 21:45:29 +01:00
Stane034 d5f8feafae Moved Timeouts and Await to esx_lib 2025-10-26 00:14:41 +02:00
zykem#0643 0f4b8088a9 refactor(es_extended/fxmanifest) Add compat files to manifest 2025-10-25 19:18:54 +02:00
zykem#0643 165c8530c3 feat: Add shared compat file 2025-10-25 19:18:03 +02:00
zykem#0643 ad7375991d refactor: Change comment in compat files 2025-10-25 19:17:56 +02:00
Stane034 27962a888f made streaming table in xLib 2025-10-25 18:53:09 +02:00
Stane034 b7153d4ffa moved ESX.Streaming to esx_lib 2025-10-25 09:44:06 +02:00
zykem bd30d9f744 Update compat.lua 2025-10-24 22:27:15 +02:00
zykem eee2b643e4 Create compat.lua 2025-10-24 22:26:58 +02:00
zykem 921fd13deb Create compat.lua 2025-10-24 22:26:24 +02:00
Kenshin13 b3deeae1eb fix: fix typo 2025-10-01 22:16:13 -05:00
Kenshin13 112314124f feat: add auto migration 2025-10-01 22:16:13 -05:00
Kenshin13 b9ca12a65d feat: add esx job types 2025-10-01 22:16:13 -05:00
Manifest Bumper 69fe76ca38 chore: bump manifest version to 1.13.4 2025-10-01 22:16:13 -05:00
Kenshin13 273227e606 fix(es_extended/locales): add missing locales for inv 2025-10-01 22:16:12 -05:00
Kenshin13 9ed99a8d7c refactor(es_extended/server/functions): Refactor command argument validation logic 2025-10-01 22:16:12 -05:00
Kenshin13 433aa8aa91 fix(esx_identity/server/main): fix error when creating char 2025-10-01 22:16:12 -05:00
Kenshin13 297a169d16 fix(es_extended/server/migration): only require restart if actually neccessary 2025-10-01 22:16:12 -05:00
Kenshin13 2242bdef75 refactor: only store migrations if not already ran 2025-10-01 22:16:12 -05:00
Kenshin13 8eac8cf9fc Revert "refactor: only store migrations if not ran"
This reverts commit 45308f5d49.
2025-10-01 22:16:12 -05:00
Kenshin13 cb4206a21f refactor: only store migrations if not ran 2025-10-01 22:16:12 -05:00
Kenshin13 8c5eed18e0 refactor: store migrations in core table 2025-10-01 22:16:12 -05:00
Kenshin13 777449969a feat: add "restart required" print 2025-10-01 22:16:12 -05:00
Kenshin13 cdb27197b2 feat: add auto-migrations on startup 2025-10-01 22:16:11 -05:00
Kenshin13 08bffc7f4d fix(es_extended/client/functions): add export default values
Apparently, passing leading nil values via an export breaks it entirely.
2025-10-01 22:16:11 -05:00
Kenshin13 3fa0d304d4 refactor(es_extended/server/functions): rename err var 2025-08-31 15:58:29 +02:00
Debian b8c544116a add missing translations 2025-08-31 13:34:33 +00:00
Debian 2ebd4a17b5 update var error message name 2025-08-30 13:47:25 +00:00