Linden
4aa9525fcf
fix(client/main): Remove update triggerserverevent when modifying statuses (it only needed to trigger with the interval)
2021-06-14 17:49:00 +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
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
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
16b1fc3316
refactor(server/main): Cache if ESX.GetExtendedPlayers() exists; use short-circuit evaluation to define xPlayers
2021-06-05 12:35:16 +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
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
0cc776dfc3
refactor(server/main): Removed duplicate code and use type when defining xPlayer
2021-06-03 07:12:09 +10:00
Linden
ee3d1d024f
improvement(server/main): Use the new xPlayer loop when restarting the resource
2021-05-28 10:29:02 +10:00
Linden
d876399bab
chore(server/main): Removed leftover debug code
2021-05-28 10:08:26 +10:00
Linden
b823e7d557
fix(legacy/multichar): Clear player status when logging out
2021-05-28 09:58:24 +10:00
Linden
ae9cde16e8
improvement(server/main): Use the new xPlayer loop when using ESX Legacy
2021-05-28 09:55:32 +10:00
LazarusOfTheFallen
3d526522fa
Merge pull request #50 from Tinky124/patch-1
...
Fix server hitch warning
2021-02-02 16:59:02 -06:00
Tinky
74335672ea
Fixed losing functionality when restarting script
2021-02-02 19:28:48 -01:00
LazarusOfTheFallen
3f09616dfc
Merge pull request #44 from PainedPsyche/master
...
fix for status values reset on login bug (issue #39 )
2021-02-01 14:51:54 -06:00
Tinky
ea844e81da
Better just to remove this... Too many hitch
2021-01-24 21:17:01 +01:00
Tinky
49f1668b0a
Fix server hitch warning
2021-01-23 21:19:32 +01:00
ArkSeyonet
ce3fe5465c
Merge pull request #49 from steveski/master
...
Update main.lua
2021-01-11 17:07:46 -06:00
Stephen York
a12046120c
Update main.lua
...
Added player count to avoid running script when no players are on
2021-01-07 10:29:05 +11:00
Stephen York
925bd4559e
Update main.lua
...
Replace recursive call to saveData with CreateThread and a timer.
Loop now builds when and where clauses for a set operation update against multiple records with a single mysql execute rather than a single update PER player.
2021-01-04 12:53:56 +11:00
PainedPsyche
a101f4d3dd
fix for a bug where satus values were not properly loading database data client side resulting in the values resetting to default on login
2020-11-04 20:03:50 +01:00
Jérémie N'gadi
bce4abf4b5
Merge pull request #34 from ArkSeyonet/master
...
Update esx_status
2020-05-16 10:22:11 +02:00
ArkSeyonet
6e072d6f83
Update esx_status
...
Edited to not show UI until loading screen is off
2020-05-15 17:21:49 -05:00
ElPumpo
59c51e6daf
Update esx_status.sql
2020-04-14 16:53:17 +02:00
rex2630
e98ad1f1a5
Replace __resource.lua with fxmanifest.lua
2020-01-19 17:28:35 +01:00
rex2630
bb13bd9092
Update README.md
2020-01-19 17:27:54 +01:00
ElPumpo
77a7080e38
Implemented unregisterStatus and fixed restarting script midgame
2019-06-08 13:11:28 +02:00
ElPumpo
4b46663c96
Trigger esx_status:onTick on tick
2018-12-02 20:30:20 +01:00
ElPumpo
e56d700df4
Revert respect ESX config
2018-11-11 14:10:57 +01:00
ElPumpo
74653246b0
Performance, respect EnableHud from ESX
2018-11-03 21:53:44 +01:00
nearbyplayer
043d406461
Repo Update
2018-08-10 00:56:03 -04:00
ElPumpo
94fa8619f3
Fixed error setting status on a unknown player
2018-04-09 01:49:11 +02:00
Jérémie N'gadi
3cfe679ef2
chore(resource): Add version
2017-09-15 15:43:25 +02:00
Jérémie N'gadi
90dd6bc967
Update LICENSE.txt
2017-09-14 23:18:45 +02:00
Jérémie N'gadi
417c32a48a
Merge branch 'master' of https://github.com/FXServer-ESX/fxserver-esx_status
2017-09-12 11:11:23 +02:00
Jérémie N'gadi
d39a960552
Add status percent
2017-09-12 11:11:14 +02:00
renaiku
a6e54c9aa2
fixed source at playerdrop
2017-09-11 03:18:00 +02:00
Jérémie N'gadi
58ab6be31e
Fix lags
2017-09-02 12:15:18 +02:00
Jérémie N'gadi
1dfeee2a18
Increase TickTime
2017-08-23 10:17:58 +02:00
Jérémie N'gadi
6384476016
Fix GetPlayers() + add GetPercent()
2017-08-22 00:58:59 +02:00
Jérémie N'gadi
ba645e080a
Add LICENSE.txt
2017-08-12 22:51:53 +02:00
Jérémie N'gadi
6e0a1a31ed
Fix StatusMax
2017-08-12 13:12:59 +02:00
Jérémie N'gadi
09d76deef3
Add files
2017-08-12 11:35:52 +02:00
Jérémie N'gadi
944de1000d
Update README.md
2017-08-12 11:33:15 +02:00