Commit Graph

4297 Commits

Author SHA1 Message Date
coentro 8aede608dd pt.js
Portuguese Translation
2021-06-10 01:41:49 +01:00
Linden 237c56656f Merge pull request #6 from icecubepiso/master
Czech locale
2021-06-10 07:40:31 +10:00
IceCubePiso 242c4bf507 Czech locale 2021-06-09 15:24:33 +02:00
Taso feab86065d Merge pull request #1180 from thelindat/legacy 2021-06-08 23:22:01 -04:00
Linden 286dbb2e78 refactor(server/common): Start paycheck and sync after ESX.Jobs has been defined 2021-06-09 13:06:31 +10:00
Linden 5aa50f5ac7 improvement(client/main): Minor optimisation - use the esx_status:onTick event
The event was added to esx_status late 2018 but never utilised anywhere; using it here drops ms to 0.0 at all times.

#### Note: This event can and should also be used in various HUDs to improve performance.  
Many of them use 500ms threaded loops, despite status only updating every 1s by default.  
They also use individual event callbacks to retrieve each status value, while each value is already being sent in the event.
2021-06-09 12:37:33 +10:00
Linden d08b480891 Merge pull request #3 from X00LA/master
Added locale de
2021-06-09 12:01:16 +10:00
Linden 68855c8689 Update readme.md 2021-06-09 06:29:54 +10:00
Linden 7cfcf10e23 Update version.json 2021-06-09 01:32:20 +10:00
Linden ce4cdc6f88 Update README.md 2021-06-09 01:30:32 +10:00
Linden fa5f7be47f fix(server/main): Added missing loadout option from query 2021-06-09 00:02:41 +10:00
Linden 31b2a6178b Add dependencies 2021-06-07 22:43:31 +10:00
Linden 405197124e Update README.md 2021-06-07 20:19:18 +10:00
Linden caa4188489 Update README.md 2021-06-07 11:26:32 +10:00
Linden acb264c027 revert(client/main): Go back to table.insert for GetStatusData
Not even sure why I did it as size+1 and not i; but doesn't seem to work with index anyway.
Fixes nil value after dying
2021-06-07 11:14:54 +10:00
Linden 1372d6fe85 Update README.md 2021-06-07 10:11:13 +10:00
ESXCrackhead 6aed226671 Merge pull request #58 from thelindat/patch-1
fix(client/main): Ensure the hud displays initially; get the visibility of statusbars correctly
2021-06-06 17:14:18 -05:00
Linden 97d7e5186b fix(client/main): Ensure the hud displays initially; get the visibility of statusbars correctly 2021-06-07 08:07:10 +10:00
Taso d752235eb4 Merge pull request #57 from thelindat/master
refactor+fix(server/main): Check if using Legacy; use ternary to define xPlayers; fixed incorrect values when defining xPlayer
2021-06-05 18:23:41 -04:00
Linden 4928da788b refactor(server/main): Include the varchar command by default so people don't misplace it 2021-06-06 07:14:54 +10:00
Linden 2acc7b787f Update readme.md 2021-06-06 07:10:38 +10:00
Linden b3c20e174b fix(server/main): Fix incorrect values (if v is table, xPlayer equals v; else GetPlayerFromId(v)) 2021-06-06 05:57:46 +10:00
Linden e630763899 Update readme.md 2021-06-06 02:29:56 +10:00
X00LA 01d28a4153 Added locale de
Added language file for german (Deutsch).
2021-06-05 09:51:18 +02:00
Linden 048066e3e5 Update readme.md 2021-06-05 14:55:16 +10:00
Linden 67b62f33fb Update readme.md 2021-06-05 14:22:16 +10:00
Linden 4fa26c08b7 Update readme.md 2021-06-05 13:16:55 +10:00
Taso 3dccb4b24f Merge pull request #97 from thelindat/master
(general): Resolve server hitches by preventing consecutive xPlayer loops; (legacy): Use GetExtendedPlayers() instead of GetPlayers()
2021-06-04 22:39:03 -04:00
Linden 16b1fc3316 refactor(server/main): Cache if ESX.GetExtendedPlayers() exists; use short-circuit evaluation to define xPlayers 2021-06-05 12:35:16 +10:00
Linden 7c9818dbdc refactor(server/main): Cache if ESX.GetExtendedPlayers() exists; use short-circuit evaluation to define xPlayers 2021-06-05 12:32:24 +10:00
Taso bbc848e699 Merge pull request #56 from thelindat/master
(legacy): Resolve server hitches; add support for relogging; (general): improved clientside performance
2021-06-04 21:41:32 -04:00
Taso 5d28b23fec Merge pull request #149 from thelindat/master
fix(legacy/multichar): Add support when using multicharacter
2021-06-04 21:36:03 -04:00
Taso 3a81208632 Merge pull request #103 from thelindat/master
fix(legacy/multichar): Do not trigger callback if multichar is enabled
2021-06-04 21:34:47 -04:00
Linden 6af6edaa11 refactor+fixes(client/main): Ensure all cameras are destroyed; improved spawning "jitter" 2021-06-05 11:19:00 +10:00
Taso 89f8d87681 Merge pull request #1169 from thelindat/multichar
feat+improvements(legacy): Multicharacter support; bug fixes and optimisation; retrieve player identity and death status on load
2021-06-04 21:17:32 -04:00
Linden 150db2feac refactor(server/main): Require identity or multichar config options to load player data; always set the initial death value to 0 2021-06-05 09:13:45 +10:00
Linden 8a5765504d chore(config): Add option to enable identity integration 2021-06-05 09:12:33 +10:00
Linden 776004ff43 fix(server/main): Remove leftover code from updating query 2021-06-05 01:18:11 +10:00
Linden 55edd9ad66 refactor(client/functions): Don't send events for inventory and loadout
- While most resources for ESX will utilise PlayerData in some way, few will require up-to-date inventory and loadout data.
- Those that do use the getter or a server callback, anyway.
2021-06-04 20:55:05 +10:00
Linden 16d97ec1e3 chore(config): Define the default value for Display 2021-06-04 13:15:44 +10:00
Linden 20b2319e97 refactor(client/main): Remove unused variable; optimisations
- Status.max was never defined anywhere (always nil) and was not referenced anywhere
- Add a toggle for status bars (Config.Display); setting to false reduces CPU usage
- onTick thread no longer retrieves StatusData twice; receives the minimal data then adds the other variables if Display is enabled
2021-06-04 13:14:56 +10:00
Linden 98687c3b38 fix(nui/js): Use the percent value already being sent by Lua 2021-06-04 12:59:15 +10:00
Linden 5a8e750287 fix(client/main): Disable status bars after relogging 2021-06-04 11:45:22 +10:00
Linden 97289e615b fix(client/main): Prevent multiple onTick threads from running at once after relogging 2021-06-04 11:41:57 +10:00
Linden 30de47e09d fix(server/commands): Use the correct variable for clearloadout 2021-06-04 01:02:24 +10:00
Linden 78ca5462c3 Update fxmanifest.lua 2021-06-04 00:35:32 +10:00
Linden 25970b55ba refactor(client/main): Skin is no longer stored in PlayerData 2021-06-03 23:29:09 +10:00
Linden 64652e4661 refactor(server/main): Do not store skin in PlayerData, send it separately 2021-06-03 23:26:16 +10:00
Linden 7a62980c27 Update version.json 2021-06-03 23:22:25 +10:00
Linden 2ff383616f improvements(server/main): Set the initial value for PlayerData.dead; use MySQL.store for loadESXPlayer 2021-06-03 23:21:31 +10:00