Ilias Rbayti
727ef8395e
refactor(es_extended/server/classes/player): index is unused
2024-12-01 14:32:52 +01:00
Ilias Rbayti
0fe6ef4b1c
fix(es_extended/server/classes/player): remove throwables from loadout when out of ammo
2024-11-30 23:40:09 +01:00
Ilias Rbayti
3a61ae5310
refactor(es_extended/server/functions): refactor ESX.GetExtendedPlayers
2024-11-23 18:02:44 +01:00
Ilias Rbayti
7954d6ec10
refactor(es_extended/server/modules/actions): replace deprecated RegisterServerEvent
2024-11-23 00:15:14 +01:00
Kenshin13
20fd65b601
Merge pull request #1476 from Gellipapa/main
...
✏️ Ignore and handle lint errors
2024-11-17 13:33:54 +01:00
Gellipapa
f367b8e0e0
✏️ ignore/handle lint errors
2024-11-17 13:31:38 +01:00
Gellipapa
5c8d65dd7f
test for lua lint ignore
2024-11-17 13:05:27 +01:00
Gellipapa
b10c599dc9
test for lua lint ignore
2024-11-17 13:02:59 +01:00
Kasey Fitton
62971c3f64
Merge pull request #1445 from iSentrie/patch-11
...
fix(es_extended/server/main.lua): return if no weapon
2024-11-10 12:42:04 +00:00
Kasey FItton
2ab3cf21bc
fix(es_extended/server): support routing buckets for /car
2024-11-10 08:36:08 +00:00
iSentrie
3a1adc8979
es_extended(server/main.lua): return if no weapon
...
return if target has no weapon
2024-11-09 17:20:49 +02:00
Kasey FItton
ed8922d52f
fix(es_extended/server/main): PlayerConnecting Failing
...
https://github.com/esx-framework/esx_core/issues/1442
2024-11-09 08:54:55 +00:00
Kasey FItton
5cd3a0348a
fix: linting issues
2024-11-09 03:26:04 +00:00
Kasey FItton
6f1d2a369e
fix(es_extended/server/functions): save coords correctly
...
Should Solve: https://github.com/esx-framework/esx_core/issues/1421
2024-11-09 03:19:50 +00:00
Kasey FItton
a1d482b98b
fix(es_extended/server): dont return on player creation
2024-11-09 00:37:10 +00:00
Kasey FItton
186d971a81
refactor(es_extended/server): move commands and paycheck to modules
2024-11-08 06:35:58 +00:00
Kasey FItton
9b3a28f563
fix(es_extended/server): define GlobalState
2024-11-08 06:33:15 +00:00
Kasey FItton
c9677e5427
fix(es_extended/server): return if not ox inventory
2024-11-08 05:53:52 +00:00
Kasey FItton
f84b7031bd
feat(es_extended): Discord Rich Presence Support
2024-11-08 05:50:29 +00:00
Kasey FItton
4fe8437a2a
tweak: make sure minimum version is seen
2024-11-05 16:24:56 +00:00
Kasey FItton
b5e0474d13
!tweak(es_extended): another attempt to mitigate vehicle creation issues
...
Note: this increases the Minimum Artifact to 10188
2024-11-05 16:05:20 +00:00
Kasey FItton
856ee5e569
tweak(es_extended/server): move onesync into modules
2024-11-05 15:51:34 +00:00
Ilias Rbayti
6259e12044
feat(server/classes/player): Add job duty
2024-11-02 19:56:02 +01:00
Arctos2win
e579dd565e
feat(esx_core): ✨ make adding other inventories more easy + little refactor
2024-10-31 17:08:58 +01:00
Kasey FItton
f780e84393
feat(es_extended): toggle Player's paycheck
...
`xPlayer.togglePaycheck(toggle)`
`xPlayer.isPaycheckEnabled()`
2024-10-28 21:25:57 +00:00
Kasey FItton
cc142af045
fix(es_extended/server): invalid request
2024-10-25 17:08:25 +01:00
Kasey FItton
0fd928d565
fix(es_extended): attempt to mitigate state bag issue
2024-10-25 16:58:42 +01:00
Kasey FItton
8df10bd7ea
fix(es_extended/server): invalid requestId
2024-10-25 16:58:06 +01:00
Kasey FItton
8a18978264
refactor(es_extended/server): rewrite callbacks
2024-10-25 16:11:53 +01:00
Kasey FItton
750e529faa
refactor(es_extended/actions): rewrite file
2024-10-25 14:49:45 +01:00
Kasey Fitton
ec8200a5b5
Merge pull request #1427 from t1ger-scripts/main
...
fix(createJob): skin error
2024-10-24 22:40:36 +01:00
t1ger-scripts
59a90b4a5f
fix(createJob): skin error
...
self.setJob in es_extended/server/classes/player.lua decodes skin data, which means skin data should be a string and not a table. When creating shops in run time and setting this job, it would throw error.
Modified so it's a string and also added compatibility to parse skin_data directly into the job grade.
2024-10-24 23:19:16 +02:00
Kasey FItton
ca9f83564e
feat(es_extended/server): annotations
2024-10-24 17:52:22 +01:00
Kasey FItton
4d052aae46
feat(es_extended/common): annotations
2024-10-24 17:37:23 +01:00
Kasey FItton
7fe329a427
fix: correct colours for new errors
2024-10-24 15:50:01 +01:00
Kasey FItton
86159bb8f3
fix(es_extended/server): add missing params to stop warnings
2024-10-24 15:42:43 +01:00
Kasey FItton
6abe153226
refactor(es_extended): Cleanup messy files
2024-10-24 14:49:06 +01:00
Kasey FItton
b7d6d9f319
feat(es_extended/server): Store Player's Playtime
...
Some Notes on this:
- Will store per character
- adds a command: `/playtime` as 1. an example on using it and 2. a way for players to see their current stats.
- Increases Minimum Artifact Requirements to: `9515`
2024-10-24 13:49:28 +01:00
Kasey FItton
a57759a115
tweak(es_extended): use correct correct handling
2024-10-18 16:31:08 +01:00
Gellipapa
39af19e543
Merge pull request #1407 from Sub-Zero-Interactive/main
...
!Refactor(core): Statebag removal and changes
2024-10-10 18:08:57 +02:00
Arctos2win
9bbe1f7f1c
fix(esx_core): 🔨 send metadata to the client
2024-10-08 19:52:14 +02:00
Kasey FItton
d61abc5096
!Refactor(core): Statebag removal and changes
...
Currently, everything flowing through xPlayer.set is being put into a statebag, aswell as all metadata , resulting in crashes.
This change is a high priority.
2024-10-08 02:24:24 +01:00
PaPi
b16dabc177
Fix job creation with full transaction for jobs and job_grades tables
...
This patch improves the job creation process by using a complete SQL transaction to ensure that insertions into both the `jobs` and `job_grades` tables are atomic. The use of `INSERT IGNORE INTO jobs` has been corrected to avoid inconsistencies in retrieving the job ID, and all insertion steps are now part of a transaction to ensure that the job and its grades are created reliably.
2024-09-27 07:25:51 +02:00
Arctos2win
e1cbd6ed2f
Merge pull request #1403 from STACHY225/main
...
Typo fix
2024-09-23 18:43:17 +02:00
Babicz
587e33bd2f
Typo fix
2024-09-23 17:52:17 +02:00
Gellipapa
935c1cf36e
Merge pull request #1388 from Gellipapa/main
...
🚑 Fix player data name value
2024-08-06 21:23:11 +02:00
Gellipapa
b0fc0f2b7c
🚑 Fix player data name value
2024-08-06 21:20:29 +02:00
Gellipapa
5d40520243
Merge pull request #1384 from someone005/main
...
fix(server): attempt to index a nil value (local 'xPlayer')
2024-07-26 20:37:54 +02:00
someone
3fd59f0f3b
fix(server): attempt to index a nil value (local 'xPlayer')
2024-07-25 18:57:00 +02:00
Kasey Fitton
572095bd09
tweak(Server/Classes/Player) Lowercase account check
...
Currently the docs say:`Money` and `Bank`, This will currently cause an error when used, better to accept both than change the docs
2024-07-08 19:34:43 +01:00