Commit Graph
732 Commits
Author SHA1 Message Date
Mr.Crowley b06d2fb49e Discarded entityactions and updated target
Discarded entityactions: was not used and bloat. Need a new system that handled networked entities static vs dynamic (non-moving non networked vs moving networked)

updated target to improve performance on canInteract. It seems that the target systems spam this function. Using a state and checking every second instead of allowing spamming

Added ClientEntity.ChangeModel
2025-08-20 22:23:07 -05:00
MrNewb cbd340326d Merge pull request #141 from XenoS-ITA/refactor-fuel-and-vehiclekey
Refactor fuel and vehiclekey
2025-08-20 21:44:49 -04:00
MrNewb c17b4e1fe6 Update client.lua 2025-08-20 19:38:47 -04:00
Xenos.exe 49b9b58f88 Merge branch 'TheOrderFivem:main' into refactor-fuel-and-vehiclekey 2025-08-21 01:33:56 +02:00
XenoS-ITA de52a3e8e1 refactor(attributions): remove dirk_lib from attributions 2025-08-21 01:25:40 +02:00
XenoS-ITA a289e6f1d2 refactor(vehicleKey): add client.lua for mVehicle 2025-08-21 01:24:41 +02:00
XenoS-ITA 783c15ad9c refactor(vehicleKey): remove obsolete client.lua file for mono_carkeys 2025-08-21 01:24:27 +02:00
XenoS-ITA 9e810d4b24 refactor(vehicleKey): enhance key management functions with assertions, improved documentation and remove vehicle keys where they was missing 2025-08-21 01:23:58 +02:00
XenoS-ITA 3289711297 refactor(fuel): more consistency, now SetFuel doesnt return and every SetFuel as type, that will be used only by ti_fuel 2025-08-21 00:34:00 +02:00
MrNewb 718214d135 This is busted, should be removed.
Should be removed as not working for external resources.
It will work in the bridge itself but could lead to bloat/misuse and we shouldn't be responsible.
2025-08-20 16:59:04 -04:00
MrNewb 957e2e2ff6 Merge pull request #140 from TheOrderFivem/dev
feat: major system refactor, feature patches, and compatibility improvements
2025-08-19 07:30:39 -04:00
MrNewb 75f431e3ac Merge pull request #139 from PiotreeQ/patch-1
Update server.lua
2025-08-19 07:29:13 -04:00
MrNewb ec8067828f prep for version bump 2025-08-19 06:30:52 -04:00
pScripts 28b616f72d Update server.lua 2025-08-19 11:08:43 +02:00
MrNewb fd3f62f288 playermetadata patch for qbx 2025-08-19 04:22:52 -04:00
Mr.Crowley cdeba0652d Community Feedback on cache
serverid in cache is pointless and will never change

unit tests are not actually unit tests so i renamed to examples.
2025-08-18 18:32:38 -05:00
MrNewb fd28d9a1a6 attempt to add piotreq_gpt (dispatch compatability) 2025-08-18 02:18:52 -04:00
MrNewb 9b2b7de2b4 fix job duty
Issue noticed by randomzz, pr did not use proper job.name so went ahead and corrected.
2025-08-17 02:32:07 -04:00
Mr.Crowley c34b1cce27 Merge branch 'dev' of https://github.com/The-Order-Of-The-Sacred-Framework/community_bridge into dev 2025-08-16 19:28:09 -05:00
Mr.Crowley 6106f76b2d small mistake
got rid of cellkey as it was clamped to a 10 meter radius, replaced with id
2025-08-16 19:27:06 -05:00
MrNewb 58242b4213 possible fix
Before only one point could exist per cell.
This corrects that but im unsure on the impact to performance or grids
2025-08-16 07:04:00 -04:00
MrNewb 0fc872a102 patch for vector4 2025-08-16 05:56:25 -04:00
MrNewb defc7c0e8b blip tweak 2025-08-16 01:03:45 -04:00
Mr.Crowley 972399ebf6 forogt a print 2025-08-15 23:58:29 -05:00
Mr.Crowley 255462493f cache error fix 2025-08-15 23:57:31 -05:00
Mr.Crowley bdde5124ff Simplified Points
Reduced code and calculations should hopefully be more performant
2025-08-15 23:54:55 -05:00
Mr.Crowley 7a598dd8d8 update for fivem appearance
should be working for esx now
2025-08-15 13:28:13 -05:00
MrNewb d6cb8ece6c Merge branch 'dev' of https://github.com/TheOrderFivem/community_bridge into dev 2025-08-12 21:32:20 -04:00
MrNewb 1a2e780eff Lithuanian support 2025-08-12 21:32:17 -04:00
Mr.Crowley e11ef1242d tweaks 2025-08-12 19:23:15 -05:00
MrNewb 29c19f3cb4 Update client_entity.lua 2025-08-12 20:20:49 -04:00
MrNewb de5353b329 tweak dispatch for ps 2025-08-12 18:10:13 -04:00
MrNewb e30dceb540 CanCarryItem checks on additem 2025-08-12 18:08:49 -04:00
MrNewb af33909794 qs inv image path tweak 2025-08-11 00:46:26 -04:00
MrNewb 35d18972e6 Update points.lua 2025-08-09 23:40:27 -04:00
MrNewb b914f0ffeb Merge pull request #136 from RandomZFx/patch-1
Patch 1
2025-08-09 12:56:10 -04:00
randomz 4f9a4a06c8 Update server.lua
Converted String amount to Number to ensure AddItem was properly working. (tested on live server item was not being given due to that issue)
2025-08-08 23:47:13 -05:00
MrNewb 249f1c4032 Update server_entity.lua 2025-08-07 02:19:20 -04:00
MrNewb a63837bd1f Refactored model/anim checks, utility functions, and text rendering
Modified EnsureModelLoaded to skip validation and request loops if the model is already loaded

Condensed SafeAddBlip, SafeRemoveBlip, etc. into dedicated utility functions

Removed AddTextEntryOnce and SafeAddTextEntry — native existence checks were redundant

Replaced repetitive table inserts with keyed tables using tostring(number) to avoid unnecessary loops

Added HasAnimDictLoaded check to RequestAnimDict to prevent redundant request loops

Introduced FloatingHelpText in utilities (aesthetic improvement)

Updated DrawText: replaced outdated logic, switched 1 to true for clarity/preference
2025-08-07 01:50:50 -04:00
MrNewb b1556d13fb draft GetPlayerSourcesByJob 2025-08-07 00:47:51 -04:00
Mr.Crowley 140bad5b34 made woopsie to entities 2025-08-05 20:57:26 -05:00
MrNewb d0f9fb7ca3 Update VersionChecker.lua
comment out old
2025-08-05 16:05:47 -04:00
MrNewb e1a43ed918 Restore original version checker for compatibility; refactor export logic with reduced variable passing
- Reinstated the original version checker to maintain compatibility.
- Reworked the export approach: the new export method and the legacy one are now split rather than merged.
- Patch‑note data is handled separately, as seen in the example structure at resources.json (e.g. https://github.com/MrNewb/patchnotes/blob/main/resources.json).
- Minimized variable passing by leveraging JSON template references directly, reducing redundancy.
2025-08-05 15:55:49 -04:00
MrNewb d8f1599052 Update points.lua 2025-08-05 00:01:32 -04:00
MrNewb 4d6958aa86 community_bridge:Server:OnPlayerJobChange
job change serverside event
2025-08-04 01:32:30 -04:00
MrNewb 5abebe13c6 image pathing fixed on tgiann
this -- "nui://inventory_images/html/images/%s.png"
Is not the path, it its instead
nui://inventory_images/images/%s.png"

Also strip webp function added. And indexing itemdata was required.
2025-08-03 16:23:19 -04:00
MrNewb fa9ea6e6eb image path tweaks 2025-08-03 15:22:33 -04:00
MrNewb 2d02e8b0df Update VersionChecker.lua 2025-07-30 21:34:46 -04:00
MrNewb f42f853c81 Update VersionChecker.lua 2025-07-30 17:31:51 -04:00
MrNewb 69703e803f feat(version): improve version comparison and patch notes display
- Added CompareVersions function for accurate semantic version comparison.
- Refactored patch notes fetching into fetchPatchNotes, supporting both GitHub and Tebex sources.
- Improved error handling for invalid repository formats and missing version metadata.
- Enhanced update notification logic to use latest GitHub release and display patch notes for newer versions.
- Now triggers version check on resource start using updated logic.
- Fully backwards compatible
2025-07-30 14:46:27 -04:00