Commit Graph

4619 Commits

Author SHA1 Message Date
FuraXx 16455c8178 Merge pull request #94 from NRTnarathip/patch-5
Fix Bug: game crash when player in zone drugshop
2022-02-17 15:16:14 +01:00
FuraXx f863f0176c Merge pull request #95 from NRTnarathip/patch-6
Update: esx_drugs add marker config
2022-02-17 15:12:20 +01:00
FuraXx f53ce285a1 Merge pull request #99 from overextended/pr/ox
feat: setup basic support for ox inventory
2022-02-17 15:07:49 +01:00
Linden 7edbd07ae7 feat: setup basic support for ox inventory
Fairly low effort to get the the basics working.
2022-02-18 00:22:49 +11:00
NRTnarathip a443e2166f Update Add Marker Config
just add marker config for path NRTnarathip
2022-02-17 15:51:08 +07:00
NRTnarathip 316c705343 Fix Bug: game crash when player in zone drugshop
Optimize, Add feture marker zone drugshop, Fixed the issue of pressing open menu not working when press key backspace for cancel ui
2022-02-17 15:45:45 +07:00
Mycroft fef6cd0182 Merge pull request #93 from popo8720/main
Fix: error on properties markers thread
2022-02-17 00:32:28 +00:00
Mycroft 6436bb2826 Merge pull request #86 from overextended/pr/ox
Update 1.5.0: Fixes across all of ESX Legacy
1.5.0
2022-02-17 00:04:10 +00:00
Mycroft 1c7a71b1d6 Fix (ESX Whitelist): Change GetActivePlayers to GetPlayers 2022-02-16 23:52:58 +00:00
popo8720 2e51c24ce0 Fix: error on properties markers thread 2022-02-16 20:09:14 -03:00
Mycroft d85f32bd38 Merge pull request #92 from NRTnarathip/patch-3
Fix Error esx_lcustom vector3 - type table
2022-02-16 13:01:49 +00:00
Mycroft 96e8574371 Merge pull request #89 from Slypher/main
Fix non-existent whitelist table in sql file
2022-02-16 12:59:38 +00:00
NRTnarathip 98d788dea4 optimize little
like
'''
if isDead then
    cb(true)
else
    cb(false)
end
''''
2022-02-16 18:09:17 +07:00
NRTnarathip f81cdcdfea optimize a little
change args of GetEntityCoords()
From function PlayerPedId() To variable playerPed
2022-02-16 14:59:52 +07:00
NRTnarathip e6f9d90478 Fix Error esx_lcustom vector3 - type table
error when coords - v.Pos
type vector3 - table

it be should vector3 - vector3
2022-02-16 14:55:13 +07:00
NRTnarathip d7af3ca999 Fix Bug isDead == 1 it be should isDead == true
The variable type of "isDead" is a boolean, not a number.
2022-02-16 14:34:26 +07:00
Lucas Lima e63bb43305 fix non-existent whitelist table in sql file 2022-02-15 21:38:09 -03:00
Linden fca8927b38 revert(server): foreign keys
Can result in some errors. Still keeping the other optimisations from previous commit (namely adjusting all identifier fields to the correct varchar length).
2022-02-14 20:18:59 +11:00
Linden 0278f26c17 fix(esx/client): delay esx:onPlayerJoined event
Race conditions were introduced due to a mix of FiveM's updated scheduling and the swap to oxmysql responding faster than the client can load.

This should alleviate the issue, though a more solid solution should be found.
2022-02-14 18:20:22 +11:00
Linden 843f395253 fix(datastore/server): decode JSON string 2022-02-14 16:14:42 +11:00
Linden d5661c1a9a refactor: use function syntax
Better and less confusing.
2022-02-14 16:05:14 +11:00
Linden 956324063e chore: update fxmanifests
1.5.0
2022-02-14 15:34:14 +11:00
Linden b82b3246a4 feat(esx/client): add a function to search for items
Deprecate the usual method of manually iterating through 'ESX.GetPlayerData().inventory'.
2022-02-14 15:30:51 +11:00
Linden a1cfd5f84e fix(esx/server): race condition
Use await on queries during startup for less nesting / callback hell, and to delay the paycheck and save intervals from starting too early.
2022-02-14 15:29:42 +11:00
Linden 31b7252101 fix: undefined variables, args, indexes, etc. 2022-02-14 14:17:54 +11:00
Linden b72e1e0b04 refactor: update native references
Many natives have updated / more accurate names.
2022-02-14 13:42:43 +11:00
Linden f81683751d fix: nonsense Wait times
Tick time is ~15ms, so anything that needs to occur on-frame should use Wait(0)
2022-02-14 13:16:23 +11:00
Linden 110446860b fix: increase distance checks for drugs and holdup 2022-02-14 13:13:34 +11:00
Linden 23fd0289c6 fix(sql): remove hard-set table charset and collation
Remove some instances of collation mixing.

includes:
fix(sql): don't allow NULL identifier in billing, user_licenses, and user_parkings
2022-02-14 13:08:03 +11:00
Mycroft 707db9353e Merge pull request #85 from popo8720/main
ES locales
2022-02-13 19:40:07 +00:00
popo8720 d86bc855e3 ES locales 2022-02-12 20:19:22 -03:00
Mycroft 652de97857 Merge pull request #79 from baguscodestudio/main
Fix identity not showing up to wait NUI until ready
2022-02-12 16:05:32 +00:00
Mycroft 72d324a35e fix: Change Table to vector3 2022-02-12 16:00:01 +00:00
Bagus Gandhi 9ae99f1dde Fix identity not showing up to wait NUI until ready 2022-02-12 15:59:25 +07:00
Linden b7c521c8e7 feat(server): database optimisations
Limited testing, but works in a fairly clean ESX environment. Sets up foreign keys in the database to allow for easy and optimised character deletion.

Foreign keys will only be set where owner and identifier columns exist, the field cannot be NULL and uses VARCHAR.
2022-02-12 06:03:23 +11:00
Linden 72450dfcd6 refactor: swap to oxmysql
ESX officially uses oxmysql with new syntax, so follow suite.
2022-02-12 05:58:45 +11:00
Mycroft 8dd3abd872 Refactors and fixes
refactor: Remove Citizen. (Wait And CreateThread)(All resources)
feat: Add KeyMapping to taxijob and sit (Removes pointless Threads)
fix: vector coords bug
feat : Add txAdmin support into basicneeds (server.lua)
Change: ESX Whitelist config from 0 minimum to 10
fix: Start Changing IsDead to ESX.GetPlayerData().dead
fix: Add a sleep to Identity
2022-02-11 00:31:23 +00:00
Mycroft 6901ffd971 Fix: Fix vector Coords 2022-02-10 17:22:18 +00:00
Mycroft 8946ff5146 Merge pull request #74 from GoatG33k/main
fix(esx_vehicle): fixed invalid Lua in rental vehicle server-side code
2022-02-08 19:56:43 +00:00
GoatGeek ce2c25dbaf fix(esx_vehicle): fixed invalid Lua in rental vehicle server-side code 2022-02-08 11:51:33 -08:00
Mycroft eed550882a Merge pull request #73 from GoatG33k/main
refactor(esx_legacy): Converted all backtick usages to GetHashKey()
2022-02-08 19:31:45 +00:00
GoatGeek 661e21486e refactor(esx_legacy): Converted all backtick usages to GetHashKey() for lint compatibility 2022-02-08 11:28:19 -08:00
Mycroft ae597fe73f Lint: Specify ESX Legacy 2022-02-08 19:14:50 +00:00
Mycroft a2a9e4cf3d Fix ( Lint): Add MySQL as a global Variable 2022-02-08 18:54:16 +00:00
Mycroft 2f2f304bb9 feat(Repository): Add Lint 2022-02-08 18:45:35 +00:00
Mycroft f695fdd282 Refactor(esx_menu/server.cfg): Add ESX as an import for menus and refactor the server.cfg 2022-02-08 16:41:58 +00:00
Mycroft d3836af58a Merge pull request #72 from synterrr/main
refactor(esx_ambulancejob): removed useless loop
1.4.2
2022-02-07 15:50:17 +00:00
Mycroft ea11e17270 Merge pull request #39 from 0xDEMXN/perf
Performance improvements and optimisation
2022-02-07 15:46:53 +00:00
Mycroft 053a4f8391 Merge branch 'main' into perf 2022-02-07 15:46:06 +00:00
Mycroft db6143aed9 (refactor) SQL merge
Merge the ESX Legacy SQLs into 1 SQL
2022-02-07 15:39:00 +00:00